Hi, I have an ispconfig 3.1.12 install on Ubuntu 16.04.5 LTS with Apache and all that good stuff. recently, I am unable to do anything from the admin interface. I just get a spinning wheel. Chrome tells me that it is getting a 403 forbidden for /datalogstatus.php. I'm not even able to enable debug mode for further diagnostics. Full output form Chrome: Code: /datalogstatus.php:1 Failed to load resource: the server responded with a status of 403 (Forbidden) ispconfig.js:290 ispconfig.js:290 Uncaught ReferenceError: dataLogTimer is not defined at Object.success (ispconfig.js:290) at j (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at x (jquery.min.js:4) at XMLHttpRequest.<anonymous> (jquery.min.js:4) ispconfig.js:618: preventing click because there is still a request running. Permissions for the files in question: Code: root@romana:~# ls -al /usr/local/ispconfig/interface/web/ total 132 drwxr-x--- 19 ispconfig ispconfig 4096 Feb 20 01:26 . drwxr-x--- 9 ispconfig ispconfig 4096 Feb 20 01:26 .. drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 admin -rwxr-x--- 1 ispconfig ispconfig 3188 May 24 22:54 capp.php drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 client -rwxr-x--- 1 ispconfig ispconfig 2970 May 24 22:54 content.php drwxr-x--- 7 ispconfig ispconfig 4096 Feb 20 01:26 dashboard -rwxr-x--- 1 ispconfig ispconfig 1901 May 24 22:54 datalogstatus.php drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 dns -rwxr-x--- 1 ispconfig ispconfig 0 May 24 22:54 dummy_login.html -rwxr-x--- 1 ispconfig ispconfig 18478 May 24 22:54 favicon.ico drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 help -rwxr-x--- 1 ispconfig ispconfig 4533 May 24 22:54 index.php drwxr-x--- 6 ispconfig ispconfig 4096 May 24 22:53 js -rwxr-x--- 1 ispconfig ispconfig 1649 May 24 22:54 keepalive.php drwxr-x--- 4 ispconfig ispconfig 4096 Feb 20 01:26 login drwxr-x--- 6 ispconfig ispconfig 4096 May 24 22:54 mail drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 mailuser drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 monitor -rwxr-x--- 1 ispconfig ispconfig 5144 May 24 22:54 nav.php drwxr-x--- 2 ispconfig ispconfig 4096 Feb 20 01:26 remote -rwxr-x--- 1 ispconfig ispconfig 25 May 24 22:54 robots.txt drwxr-x--- 7 ispconfig ispconfig 4096 Feb 20 01:26 sites drwxr-x--- 3 ispconfig ispconfig 4096 Feb 20 01:26 strengthmeter drwxrwx--- 2 ispconfig ispconfig 4096 Feb 20 01:26 temp drwxr-x--- 3 ispconfig ispconfig 4096 Feb 20 01:26 themes drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 tools drwxr-x--- 6 ispconfig ispconfig 4096 Feb 20 01:26 vm This seems to have happened recently, so I'm assuming an OS update may have caused it, but does anyone have any ideas on how I can fix this?
Try to update ispconfig. Run: ispconfig_update.sh when the updater asks you which version, then choose 'git-stable'. Choose to reconfigure services during update.
Hi Till, Thanks for the tip. I was trying to run ispconfig_update.sh normally, but that told me there are not update (due to being on the latest version), but running it with git-stable runs through the update fine, but gives me no change, I'm afraid. I even gave the box a reboot after running the update script, just to be sure.
Ok. You have chosen to reconfigure services during update? If yes and this did not help, then you should take a look into the apache error.log file (/var/log/apache2/error.log on Debian and Ubuntu) to see which exact error is logged there.
I sure did Apache error logs have nothing ISPconfig wise in them, just this: Code: [Mon Jul 30 11:38:23.538090 2018] [cgi:error] [pid 3224] [client 139.99.99.145:41718] malformed header from script 'php': Bad header: <b>Security Alert!</b> The PHP [Mon Jul 30 11:38:23.903404 2018] [cgi:error] [pid 2800] [client 139.99.99.145:42194] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/php5 [Mon Jul 30 11:38:24.270796 2018] [access_compat:error] [pid 1911] [client 139.99.99.145:42490] AH01797: client denied by server configuration: /usr/share/phpmyadmin [Mon Jul 30 11:38:42.027543 2018] [:error] [pid 1911] [client 139.99.99.145:55258] script '/var/www/html/wp-login.php' not found or unable to stat [Mon Jul 30 14:57:06.740880 2018] [:error] [pid 907] [client 5.188.210.12:39683] script '/var/www/html/echo.php' not found or unable to stat, referer: https://www.google.com/ [Mon Jul 30 16:00:34.309626 2018] [cgi:error] [pid 31886] [client 61.135.202.23:42234] malformed header from script 'php': Bad header: <b>Security Alert!</b> The PHP[code]
If you recently did an OS update, try re-doing all perfect server guide for Ubuntu 16.04 Apache and at last step (ISPConfig), run php -q update.php instead.
Hi Ahrasis, Sorry, I should have been clearer on what I meant by OS Update. Not a full Ubuntu version upgrade, just the usual apt-get approach. The system has always been on 16.04 and I followed that very guide to get it set up when moving of an old host. Do you still recommend going through the guide? I can give it a blast ig you think it will help.
Nope. Only if you did a full OS update from (e.g. 14.04 -16.04). Normal update normally won't affect your server system.
The error messages from the log are probably not directly related to the problem, I guess. Do you have any apache modules installed that limit the number of requests to files like mod_evasive ?
Hi till, Not that I'm aware of and I haven't messed about with apache's configs for months. mods-enabled looks like: Code: root@romana:~# ls -al /etc/apache2/mods-available/ total 8 drwxr-xr-x 2 root root 4096 Feb 20 13:00 . drwxr-xr-x 8 root root 4096 Jul 5 09:48 .. lrwxrwxrwx 1 root root 36 Feb 20 01:03 access_compat.load -> ../mods-available/access_compat.load lrwxrwxrwx 1 root root 30 Feb 20 01:05 actions.conf -> ../mods-available/actions.conf lrwxrwxrwx 1 root root 30 Feb 20 01:05 actions.load -> ../mods-available/actions.load lrwxrwxrwx 1 root root 28 Feb 20 01:03 alias.conf -> ../mods-available/alias.conf lrwxrwxrwx 1 root root 28 Feb 20 01:03 alias.load -> ../mods-available/alias.load lrwxrwxrwx 1 root root 33 Feb 20 01:03 auth_basic.load -> ../mods-available/auth_basic.load lrwxrwxrwx 1 root root 34 Feb 20 01:05 auth_digest.load -> ../mods-available/auth_digest.load lrwxrwxrwx 1 root root 33 Feb 20 01:03 authn_core.load -> ../mods-available/authn_core.load lrwxrwxrwx 1 root root 33 Feb 20 01:03 authn_file.load -> ../mods-available/authn_file.load lrwxrwxrwx 1 root root 33 Feb 20 01:03 authz_core.load -> ../mods-available/authz_core.load lrwxrwxrwx 1 root root 33 Feb 20 01:03 authz_host.load -> ../mods-available/authz_host.load lrwxrwxrwx 1 root root 33 Feb 20 01:03 authz_user.load -> ../mods-available/authz_user.load lrwxrwxrwx 1 root root 32 Feb 20 01:03 autoindex.conf -> ../mods-available/autoindex.conf lrwxrwxrwx 1 root root 32 Feb 20 01:03 autoindex.load -> ../mods-available/autoindex.load lrwxrwxrwx 1 root root 26 Feb 20 01:05 cgi.load -> ../mods-available/cgi.load lrwxrwxrwx 1 root root 29 Feb 20 01:05 dav_fs.conf -> ../mods-available/dav_fs.conf lrwxrwxrwx 1 root root 29 Feb 20 01:05 dav_fs.load -> ../mods-available/dav_fs.load lrwxrwxrwx 1 root root 26 Feb 20 01:05 dav.load -> ../mods-available/dav.load lrwxrwxrwx 1 root root 30 Feb 20 01:03 deflate.conf -> ../mods-available/deflate.conf lrwxrwxrwx 1 root root 30 Feb 20 01:03 deflate.load -> ../mods-available/deflate.load lrwxrwxrwx 1 root root 26 Feb 20 01:03 dir.conf -> ../mods-available/dir.conf lrwxrwxrwx 1 root root 26 Feb 20 01:03 dir.load -> ../mods-available/dir.load lrwxrwxrwx 1 root root 26 Feb 20 01:03 env.load -> ../mods-available/env.load lrwxrwxrwx 1 root root 40 Feb 20 13:00 expires.load -> /etc/apache2/mods-available/expires.load lrwxrwxrwx 1 root root 30 Feb 20 01:07 fastcgi.conf -> ../mods-available/fastcgi.conf lrwxrwxrwx 1 root root 30 Feb 20 01:07 fastcgi.load -> ../mods-available/fastcgi.load lrwxrwxrwx 1 root root 28 Feb 20 01:04 fcgid.conf -> ../mods-available/fcgid.conf lrwxrwxrwx 1 root root 28 Feb 20 01:04 fcgid.load -> ../mods-available/fcgid.load lrwxrwxrwx 1 root root 29 Feb 20 01:03 filter.load -> ../mods-available/filter.load lrwxrwxrwx 1 root root 30 Feb 20 01:05 headers.load -> ../mods-available/headers.load lrwxrwxrwx 1 root root 30 Feb 20 01:05 include.load -> ../mods-available/include.load lrwxrwxrwx 1 root root 27 Feb 20 01:03 mime.conf -> ../mods-available/mime.conf lrwxrwxrwx 1 root root 27 Feb 20 01:03 mime.load -> ../mods-available/mime.load lrwxrwxrwx 1 root root 34 Feb 20 01:04 mpm_prefork.conf -> ../mods-available/mpm_prefork.conf lrwxrwxrwx 1 root root 34 Feb 20 01:04 mpm_prefork.load -> ../mods-available/mpm_prefork.load lrwxrwxrwx 1 root root 34 Feb 20 01:03 negotiation.conf -> ../mods-available/negotiation.conf lrwxrwxrwx 1 root root 34 Feb 20 01:03 negotiation.load -> ../mods-available/negotiation.load lrwxrwxrwx 1 root root 29 Feb 20 01:04 php7.0.conf -> ../mods-available/php7.0.conf lrwxrwxrwx 1 root root 29 Feb 20 01:04 php7.0.load -> ../mods-available/php7.0.load lrwxrwxrwx 1 root root 29 Feb 20 01:04 python.load -> ../mods-available/python.load lrwxrwxrwx 1 root root 30 Feb 20 01:05 rewrite.load -> ../mods-available/rewrite.load lrwxrwxrwx 1 root root 31 Feb 20 01:03 setenvif.conf -> ../mods-available/setenvif.conf lrwxrwxrwx 1 root root 31 Feb 20 01:03 setenvif.load -> ../mods-available/setenvif.load lrwxrwxrwx 1 root root 36 Feb 20 01:05 socache_shmcb.load -> ../mods-available/socache_shmcb.load lrwxrwxrwx 1 root root 26 Feb 20 01:05 ssl.conf -> ../mods-available/ssl.conf lrwxrwxrwx 1 root root 26 Feb 20 01:05 ssl.load -> ../mods-available/ssl.load lrwxrwxrwx 1 root root 29 Feb 20 01:03 status.conf -> ../mods-available/status.conf lrwxrwxrwx 1 root root 29 Feb 20 01:03 status.load -> ../mods-available/status.load lrwxrwxrwx 1 root root 29 Feb 20 01:05 suexec.load -> ../mods-available/suexec.load Unless there's anyhting there that sticks out to you?
So, I got it to "work" by commenting out anything to do with datalogtimer in /usr/local/ispconfig/interface/web/themes/default/assets/javascripts/ispconfig.js, but I am pretty sure that this is not a fix at all and probably a further break. But if it points anyone with more knowledge on how ispconfig works than me in the right direction, it will be worth it.
Unfortunately, the issue was not fixed. However, It is only a VM, so I spun up a new VM, installed everything on it then migrated (ispconfig made some cashola out of this as I bought the migration tool just for this job), and we're all up and running again on the new VM. Thanks.