Hello Community, - OS: Centos 8.2.2004 (Core) - ISPconfig version: 3.2b3 I am trying to get ispconfig to run, using the following Howto: https://www.howtoforge.com/tutorial...eftpd-postfix-dovecot-and-ispconfig/#comments All went fine up to the point where I want want to access the ipconfig via Webinterface. Then I reseive the message withn the browser: Code: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. The logs (/var/log/httpd/error_log) are not telling much either: Code: [Sun Oct 04 16:41:30.908046 2020] [fcgid:warn] [pid 189160:tid 139795556697856] (104)Connection reset by peer: [client 192.168.77.20:60896] mod_fcgid: error reading data from FastCGI server [Sun Oct 04 16:41:30.908074 2020] [core:error] [pid 189160:tid 139795556697856] [client 192.168.77.20:60896] End of script output before headers: index.php Other logs (/var/log/ispconfig/*) are empty running the following command hangs forever, giving no output at all: Code: wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php" && php -q htf-common-issues.php Anything I missed with the fcgi configuration? How can I get more log output, debugging deeper? Is this propertly a known problem which we can fix easyly? Thanks for your support!
Are you sure the installation went without errors and all parts of the guide were followed? If the reporting command hangs forever, it makes me thing the ISPConfig installation is very broken. Maybe try installing again, and very carefully and pay attention to errors during install.
Hello Thanks for your support! Well I did not follow the installation path completly rather then taking this as a refference for a multi server setup. I also have SElinux enabled, however I have no denys in /var/audit/audit.log anymore as I setup and implemented relevant polices. I did a reinstallation as you suggested, however I am standing again at the same point. I also found the reason, why the script "htf-common-issues.php" has an wrong spelled var (bug) within, named: ".$rhatrel != $redhatrel", after a correction the testscript works fine, however no errors. Meanwhile I found another thing hinting to the problem behind within /var/log/secure Code: Oct 5 09:30:07 web-w-0 suexec[234146]: uid: (1002/ispconfig) gid: (1003/ispconfig) cmd: .php-fcgi-starter Oct 5 09:30:07 web-w-0 suexec[234146]: (13)Permission denied: exec failed (.php-fcgi-starter) /etc/php-fpm.d/w w w .conf Code: listen.owner = apache listen.group = apache listen.mode = 0660 after that change I of cause restarted services: Code: systemctl restart httpd.service php-fpm.service the file in question looks like this: Code: -rwxr-xr-x. 1 ispconfig ispconfig 288 Oct 4 15:52 /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter Could anybody please lead me inito a better debugging please ?
An Reply I am replying to this old post here because the last post gave me the insight as to how I could continue my search. Maybe it will help someone: The call directly: # /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter returned the error message you were looking for /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter: 6: exec: /usr/bin/php-cgi: not found apt install -y php8.2-cgi was the solution (use the corresponding PHP version here) The cause was the change of the PHP version on the server
Good day everyone! On risk of waking up an old thread - i did have trouble with ISPConfig on the recent 10 or so installs on Debian 10 and 12, Single as well as Multiserver. The issue was that - at the point of first login to ISPConfig Admin - I got an Error 500 with hints to the .php-fcgi-starter Looking at it in closer detail; it seemed to be the permissions, I found the file to have permission 775 whereas I thought it probably should have 755. #ls -al; -rwxrwxr-x 1 ispconfig ispconfig 300 Feb 21 08:22 .php-fcgi-starter* Even as root its not possible to change the permissions, hence my fix to this was: # mv ispconfig ispconfig_orig; # mkdir ispconfig; # cp ispconfig_orig/.php-fcgi-starter; # chown -R ispconfig: ispconfig; # chmod -R 755 ispconfig After that, the Admin-Panel loads fine.