I enaled suphp and suexec and now I am getting a 500 error while I try to access <domain>:8080 . I spent half a day googling but it didnt help. So please help me to solve this. I am running ISPConfig3 on apache2 and debian 7.4. /var/www/yourdomain.tld/log/ is empty output of ------------------------------------------------ # cat htf_report.txt ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.0.5.3 [WARN] Could not connect to mysql with given user data. ##### VERSION CHECK ##### [INFO] php (cli) version is 5.4.27-1~dotdeb.1 ##### PORT CHECK ##### ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 6790) [INFO] I found the following mail server(s): Postfix (PID 31882) [INFO] I found the following pop3 server(s): Dovecot (PID 425) [INFO] I found the following imap server(s): Dovecot (PID 425) [INFO] I found the following ftp server(s): PureFTP (PID 515) ##### LISTENING PORTS ##### (only () Local (Address) [localhost]:953 (542/named) [anywhere]:25 (31882/master) [anywhere]:993 (425/dovecot) [anywhere]:995 (425/dovecot) [localhost]:10024 (400/amavisd-new) [localhost]:10025 (31882/master) [localhost]:3306 (31539/mysqld) [anywhere]:587 (31882/master) [localhost]:11211 (12696/memcached) [anywhere]:110 (425/dovecot) [anywhere]:143 (425/dovecot) [anywhere]:465 (31882/master) ***.***.***.***:53 (542/named) ***.***.***.***:53 (542/named) [localhost]:53 (542/named) [anywhere]:21 (515/pure-ftpd) [anywhere]:22 (1467/sshd) *:*:*:*::*:953 (542/named) *:*:*:*::*:25 (31882/master) *:*:*:*::*:443 (6790/apache2) *:*:*:*::*:993 (425/dovecot) *:*:*:*::*:995 (425/dovecot) *:*:*:*::*:587 (31882/master) [localhost]10 (425/dovecot) [localhost]43 (425/dovecot) *:*:*:*::*:8080 (6790/apache2) *:*:*:*::*:80 (6790/apache2) *:*:*:*::*:8081 (6790/apache2) *:*:*:*::*:465 (31882/master) *:*:*:*::*:53 (542/named) *:*:*:*::*:21 (515/pure-ftpd) *:*:*:*::*:22 (1467/sshd) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993 fail2ban-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21 fail2ban-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25 fail2ban-ssh tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-dovecot-pop3imap (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-pureftpd (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-sasl (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-ssh (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 ----------------------------------------------------------------------------------------------- $cat /var/log/apache2/error.log [Fri Apr 18 05:46:18 2014] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations [Fri Apr 18 05:46:22 2014] [notice] caught SIGTERM, shutting down [Fri Apr 18 05:46:23 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.27-1~dotdeb.1 configured -- resuming normal operations [Fri Apr 18 05:46:35 2014] [notice] Graceful restart requested, doing restart [Fri Apr 18 05:46:35 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.27-1~dotdeb.1 configured -- resuming normal operations [Fri Apr 18 05:46:39 2014] [notice] Graceful restart requested, doing restart [Fri Apr 18 05:46:39 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.27-1~dotdeb.1 configured -- resuming normal operations [Fri Apr 18 05:46:40 2014] [notice] child pid 12568 exit signal Segmentation fault (11) [Fri Apr 18 05:46:40 2014] [notice] child pid 12571 exit signal Segmentation fault (11) [Fri Apr 18 05:46:40 2014] [notice] Graceful restart requested, doing restart [Fri Apr 18 05:46:40 2014] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'. [Fri Apr 18 05:46:40 2014] [error] python_init: Python executable found '/usr/bin/python'. [Fri Apr 18 05:46:40 2014] [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.$ [Fri Apr 18 05:46:40 2014] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Fri Apr 18 05:46:40 2014] [notice] mod_python: using mutex_directory /tmp [Fri Apr 18 05:46:40 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.27-1~dotdeb.1 mod_python/3.3.1 Python/2.7.3 mod_ruby/1.2.$ [Fri Apr 18 05:46:40 2014] [notice] child pid 12570 exit signal Segmentation fault (11) [Fri Apr 18 05:46:40 2014] [notice] child pid 12572 exit signal Segmentation fault (11) [Fri Apr 18 05:46:40 2014] [notice] child pid 12573 exit signal Segmentation fault (11) --------------------------------------------------------------------------------------
File permissions were set to 664. I tried changing those to 644,755 and 777. But still getting the same error.
I tried reinstalling ispconfig but no luck. And I reinstalled the whole server and ispconfig. it was working fine. When I tried to run a php page it give me the error that cache is not writable. So I added root to www-data. Now when I try to access ispconfig on port 8080 I am getting a 500 internal server error! I think its an issue with permission of root user on www-data. I tried removing user root from www-data. But it didnt help.
ok I have a brand new install of ispconfig today and first thing to do is to check what suphp does after install. Will report if I find something
Thanks for trying. I reinstalled the server and ispconfig. Now its working fine. I have to setup the server by that midnight. Now its working fine.