Web UI issues System Home

I have been having some strange issues with WUI.

When I go to System - Home, nothing happens and just get a blank page.

All other sections are responding fine, including Logs-Firewall logs, Firewall - IPS, Logs - System logs , System- GUI settings, System- Backup etc…
The only thing that is not responding is System - Home

It didn’t bother me that much until I realized that my public WAN IP changed a while ago, and I noticed it too late :frowning:

I tried restaring apache but no change

/etc/rc.d/init.d/apache status

I restarted Guardian service as well but no change
I cleared cookies, cache, IPFire certificate exception …
I also tried a different browser

I don’t want to reboot the firewall especially

I can’t find anything related in System log or /var/log/messages

If you try and access the home page and get the blank page what do you find at the end of the log
less /var/log/httpd/error_log

2 Likes

Thank you for taking the time to help

Here is the output

Unable to read file /var/ipfire/ddns/settings at /var/ipfire/general-functions.pl line 219.
Unable to read file /var/ipfire/ddns/settings at /var/ipfire/general-functions.pl line 219.
given is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 145.
when is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 146.
given is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 145.
when is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 146.
given is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 145.
when is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 146.
Unable to read file /var/ipfire/ddns/settings at /var/ipfire/general-functions.pl line 219.
Unable to read file /var/ipfire/ddns/settings at /var/ipfire/general-functions.pl line 219.
given is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 145.
when is experimental at /srv/web/ipfire/cgi-bin/services.cgi line 146.
Unable to read file /var/ipfire/ddns/settings at /var/ipfire/general-functions.pl line 219.

The given is experimental and when is experimental are nothing to worry about. These commands were considered experimental when first issued but have been available for a long time.

We did add a command to not show experimental warnings and that is still in place but the warnings are showing again.

I will have to look if that command has had its syntax changed or something.

The message that is giving you the problem is

In the cgi code for the home page the contents of several settings files are read with a readhash command which is in general-functions.pl

Some problem must have occurred with that file as the readhash code is not able to read it.

What do you get with the command
ls -hal /var/ipfire/ddns/
especially with regard to the ownerships or permissions of the settings file.

Here is what I have:-

ls -hal /var/ipfire/ddns/
total 24K
drwxr-xr-x  2 nobody nobody 4.0K Jun 26  2023 .
drwxr-xr-x 50 root   root   4.0K Jun 10 21:11 ..
-rw-r--r--  1 nobody nobody   66 Jul  1  2023 config
-rw-r--r--  1 nobody nobody  132 Jun 29 12:58 ddns.conf
-rw-r--r--  1 root   root   3.5K Jun  9  2023 ddns.conf.sample
-rw-r--r--  1 nobody nobody    0 Jun  9  2023 ipcache
-rw-r--r--  1 nobody nobody   22 Jun 29 12:58 settings
1 Like
ls -hal /var/ipfire/ddns/
total 20K
drwxr-xr-x  2 nobody nobody 4.0K Jul 17 20:40 .
drwxr-xr-x 51 root   root   4.0K Dec 22  2023 ..
-rw-r--r--  1 nobody nobody    0 Jul 14  2020 config
-rw-r--r--  1 nobody nobody   36 May  4 21:51 ddns.confOLD
-rw-r--r--  1 root   root   3.5K Jul  7  2022 ddns.conf.sample
-rw-r--r--  1 nobody nobody    0 Jul  7  2022 ipcache
-rw-r--r--  1 nobody nobody   20 May  4 21:51 settingsOLD

Thank you Adolf
I got it, I guess I renamed the ddns.conf and settings file .

Log summary keeps showing this error every day… so I guess I wanted to try something to clear the error :frowning:


Unknown Entries:
    DDNS: cleaning up lease pointer for a cancel cb=0x241a1e0: 1 Time(s)
    DDNS: cleaning up lease pointer for a cancel cb=0x241a380: 5 Time(s)
    DDNS: cleaning up lease pointer for a cancel cb=0x241a400: 1 Time(s)
    DDNS: cleaning up lease pointer for a cancel cb=0x241a490: 1 Time(s)
    DDNS: cleaning up lease pointer for a cancel cb=0x241a4d0: 39 Time(s)
    DDNS: cleaning up lease pointer for a cancel cb=0x241a740: 1 Time(s)
    DDNS: cleaning up lease pointer for a cancel cb=0x241aae0: 1 Time(s)

I am afraid I can’t help on that log message. I have no idea what causes that.

My quick searching in the ipfire and the ddns git repo could not find anything related to that. Sorry.

EDIT:
Having said that I then found some links which tie that message to the dhcp server.

Have you enabled the DNS option on your DHCP server.


If yes, then try disabling that and see if that stops the message occurring.

You can also look in the system logs and select DHCP Server in the drop down box. Then you can check that the DDNS: message is occurring in the dhcp output and also see what the messages before that one are because those will be related to that cleaning up lease pointer message.

Here is an example of the same message that someone with Ubuntu was having related to trying to use dynamic dns updates via dhcp.

Screenshot_2024-07-18_09-18-36

1 Like