hello friends. there is a problem on my server. i upgrade it to ubunto 13.04 but i cant log in ispconfig. ov got Internal Server Error 500. here is apache2 log Code: SoftException in Application.cpp:299: Script "/usr/local/ispconfig/interface/web/index.php" resolving to "/usr/local/ispconfig/interface/web/index.php" not within configured docroot Premature end of script headers: index.php mod_php is working. any ideas ?
Ensure that you use the correct url to access ispconfig, ispconfig has to be accessed over its port and not with /ispconfig
PHP 5.4.9-4ubuntu2 (cli) (built: Mar 11 2013 16:09:26) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies with XCache v2.0.0, Copyright (c) 2005-2012, by mOo Server version: Apache/2.2.22 (Ubuntu) Server built: Mar 15 2013 14:02:11 Server's Module Magic Number: 20051115:30 Server loaded: APR 1.4.6, APR-Util 1.4.1 Compiled using: APR 1.4.6, APR-Util 1.4.1 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/etc/apache2" -D SUEXEC_BIN="/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="mime.types" -D SERVER_CONFIG_FILE="apache2.conf"
Have you tried disabling xcache ? In your php.ini file it should look something like this. ;extension = xcache.so Also check your file permissions, as that can sometimes cause this error
Did you rerun the ispconfig update after updating ubuntu? If not, it might be that the ubuntu update changed any config files. download ispconfig again, run the update.php script which is in the install folder and choose to reconfigure permissions during update.
after update.php problem is solved. but now i see that in monitoring site mysql is turned off but its actualy working. the other strange thing is that PHP Warning: Illegal string offset 'output' in /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php on line 707
its listentnig on 127.0.0.1 too as i see IMAP is stopped too. after upgrade i cant send emails too... here is error log from mail server Code: May 1 20:01:30 server dovecot: auth-worker(15391): mysql(localhost): Connected to database dbispconfig May 1 20:01:30 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15393, secured, session=<3gnCEavbvQB/AAAB> May 1 20:01:30 server dovecot: imap([email protected]): Disconnected: Logged out in=79 out=710 May 1 20:02:19 server postfix/smtpd[15430]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman May 1 20:02:19 server postfix/smtpd[15430]: connect from localhost[127.0.0.1] May 1 20:02:19 server postfix/smtpd[15430]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111) May 1 20:02:19 server postfix/smtpd[15430]: warning: mysql:/etc/postfix/mysql-virtual_client.cf: table lookup problem May 1 20:02:19 server postfix/smtpd[15430]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 <localhost[127.0.0.1]>: Client host rejected: Server configuration error; from=<office@mysitecom> to=<[email protected]> proto=ESMTP helo=<mysite.com> May 1 20:02:19 server postfix/smtpd[15430]: lost connection after RCPT from localhost[127.0.0.1] May 1 20:02:19 server postfix/smtpd[15430]: disconnect from localhost[127.0.0.1] May 1 20:02:21 server postfix/smtpd[15430]: connect from localhost[127.0.0.1] May 1 20:02:21 server postfix/smtpd[15430]: warning: mysql:/etc/postfix/mysql-virtual_client.cf: table lookup problem May 1 20:02:21 server postfix/smtpd[15430]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 <localhost[127.0.0.1]>: Client host rejected: Server configuration error; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mysite.com> May 1 20:02:21 server postfix/smtpd[15430]: lost connection after RCPT from localhost[127.0.0.1] May 1 20:02:21 server postfix/smtpd[15430]: disconnect from localhost[127.0.0.1]
netstat -tap Code: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:10024 *:* LISTEN 10288/amavisd-new ( tcp 0 0 localhost:10025 *:* LISTEN 10269/master tcp 0 0 *:mysql *:* LISTEN 17841/mysqld tcp 0 0 *:netbios-ssn *:* LISTEN 1117/smbd tcp 0 0 *:pop3 *:* LISTEN 11242/dovecot tcp 0 0 *:imap2 *:* LISTEN 11242/dovecot tcp 0 0 localhost:spamd *:* LISTEN 2372/spamd.pid tcp 0 0 *:sunrpc *:* LISTEN 1155/rpcbind tcp 0 0 *:webmin *:* LISTEN 3669/perl tcp 0 0 *:8181 *:* LISTEN 9216/dansguardian tcp 0 0 10.9.1.1:domain *:* LISTEN 11341/named tcp 0 0 10.8.0.1:domain *:* LISTEN 11341/named tcp 0 0 192.168.1.2:domain *:* LISTEN 11341/named tcp 0 0 localhost:domain *:* LISTEN 11341/named tcp 0 0 *:ftp *:* LISTEN 11319/pure-ftpd (SE tcp 0 0 *:ssh *:* LISTEN 1425/sshd tcp 0 0 localhost:3128 *:* LISTEN 1828/squid3 tcp 0 0 10.8.0.1:3128 *:* LISTEN 1828/squid3 tcp 0 0 localhost:953 *:* LISTEN 11341/named tcp 0 0 *:smtp *:* LISTEN 10269/master tcp 0 0 *:microsoft-ds *:* LISTEN 1117/smbd tcp 0 0 *:imaps *:* LISTEN 11242/dovecot tcp 0 0 *:41602 *:* LISTEN 1164/rpc.statd tcp 0 0 *:pop3s *:* LISTEN 11242/dovecot tcp 0 0 192.168.1.2:48133 c13020.dip.tu-dres:http TIME_WAIT - tcp 0 0 localhost:mysql localhost:59180 ESTABLISHED 17841/mysqld tcp 0 0 localhost:59078 localhost:mysql ESTABLISHED 11222/amavisd-new ( tcp 0 0 localhost:59180 localhost:mysql ESTABLISHED 11221/amavisd-new ( tcp 0 1220 192.168.1.2:ssh 212-233-136-95-pl:42978 ESTABLISHED 31007/sshd: nikolay tcp 0 0 localhost:mysql localhost:59078 ESTABLISHED 17841/mysqld tcp6 0 0 [::]:netbios-ssn [::]:* LISTEN 1117/smbd tcp6 0 0 [::]:pop3 [::]:* LISTEN 11242/dovecot tcp6 0 0 [::]:imap2 [::]:* LISTEN 11242/dovecot tcp6 0 0 [::]:sunrpc [::]:* LISTEN 1155/rpcbind tcp6 0 0 [::]:http-alt [::]:* LISTEN 11297/apache2 tcp6 0 0 [::]:http [::]:* LISTEN 11297/apache2 tcp6 0 0 [::]:tproxy [::]:* LISTEN 11297/apache2 tcp6 0 0 [::]:domain [::]:* LISTEN 11341/named tcp6 0 0 [::]:ftp [::]:* LISTEN 11319/pure-ftpd (SE tcp6 0 0 [::]:ssh [::]:* LISTEN 1425/sshd tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 11341/named tcp6 0 0 [::]:smtp [::]:* LISTEN 10269/master tcp6 0 0 [::]:https [::]:* LISTEN 11297/apache2 tcp6 0 0 [::]:microsoft-ds [::]:* LISTEN 1117/smbd tcp6 0 0 [::]:imaps [::]:* LISTEN 11242/dovecot tcp6 0 0 [::]:pop3s [::]:* LISTEN 11242/dovecot tcp6 0 0 [::]:56036 [::]:* LISTEN 1164/rpc.statd and iptables -L Code: Chain INPUT (policy DROP) target prot opt source destination fail2ban-dovecot-pop3imap tcp -- anywhere anywhere multiport dports pop3,pop3s,imap2,imaps fail2ban-pureftpd tcp -- anywhere anywhere multiport dports ftp fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh IP_BAN tcp -- anywhere anywhere tcp fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh fail2ban-squirrelmail tcp -- anywhere anywhere multiport dports http,https DROP tcp -- anywhere anywhere tcpflags: SYN,RST/SYN,RST SYNFLOOD tcp -- anywhere anywhere state NEW DROP tcp -- anywhere anywhere tcpflags: FIN,SYN/FIN,SYN DDoS tcp -- anywhere anywhere tcpflags: SYN,RST,ACK/SYN DROP tcp -- anywhere anywhere tcpflags: FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG ScanD tcp -- anywhere anywhere tcpflags: FIN,SYN,RST,PSH,ACK,URG/NONE ScanD tcp -- anywhere anywhere tcpflags: FIN,SYN/FIN,SYN ScanD tcp -- anywhere anywhere tcpflags: SYN,RST/SYN,RST ScanD tcp -- anywhere anywhere tcpflags: FIN,RST/FIN,RST ScanD tcp -- anywhere anywhere tcpflags: FIN,ACK/FIN ScanD tcp -- anywhere anywhere tcpflags: PSH,ACK/PSH ScanD tcp -- anywhere anywhere tcpflags: ACK,URG/URG ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ACCEPT tcp -- anywhere anywhere tcp dpt:http ACCEPT udp -- acacia.bilink.it anywhere udp dpt:ntp ACCEPT tcp -- anywhere anywhere tcp dpt:https ACCEPT udp -- anywhere anywhere udp dpt:openvpn ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt ACCEPT tcp -- anywhere anywhere tcp dpt:8181 ACCEPT tcp -- anywhere anywhere tcp dpt:webmin ACCEPT udp -- anywhere anywhere udp spt:domain dpts:1024:65535 DROP tcp -- anywhere anywhere tcpflags: FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG DROP tcp -- anywhere anywhere tcpflags: FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,ACK,URG DROP tcp -- anywhere anywhere tcpflags: FIN,SYN,RST,PSH,ACK,URG/NONE ACCEPT tcp -- anywhere anywhere tcpflags: ACK/ACK ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state ESTABLISHED ACCEPT all -- anywhere anywhere state RELATED ACCEPT tcp -- anywhere anywhere tcp dpt:ftp ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ACCEPT tcp -- anywhere anywhere tcp dpt:smtp ACCEPT tcp -- anywhere anywhere tcp dpt:http ACCEPT tcp -- anywhere anywhere tcp dpt:81 ACCEPT tcp -- anywhere anywhere tcp dpt:pop3 ACCEPT tcp -- anywhere anywhere tcp dpt:auth ACCEPT udp -- anywhere anywhere udp dpt:ntp ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm ACCEPT udp -- anywhere anywhere udp dpt:netbios-ssn ACCEPT udp -- anywhere anywhere udp dpt:microsoft-ds ACCEPT tcp -- anywhere anywhere tcp dpt:https ACCEPT tcp -- anywhere anywhere tcp dpt:imaps ACCEPT tcp -- anywhere anywhere tcp dpt:pop3s ACCEPT tcp -- anywhere anywhere tcp dpt:3128 ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt ACCEPT tcp -- anywhere anywhere tcp dpt:8181 ACCEPT tcp -- anywhere anywhere tcp dpt:webmin ACCEPT tcp -- anywhere anywhere tcp dpt:auth Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain Banned (0 references) target prot opt source destination LOG tcp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[TCP Banned] " LOG udp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[UDP Banned] " LOG icmp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[ICMP Banned] " LOG all -f anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[FRAG Banned] " DROP all -- anywhere anywhere Chain DDoS (1 references) target prot opt source destination RETURN all -- anywhere anywhere limit: avg 1/sec burst 10 LOG all -- anywhere anywhere LOG level warning prefix "[DOS Attack/SYN Scan?] " DROP all -- anywhere anywhere Chain IANA (0 references) target prot opt source destination LOG tcp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[IANA Reserved - TCP] " LOG udp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[IANA Reserved - UDP] " LOG icmp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[IANA Reserved - ICMP] " LOG all -f anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[IANA Reserved - FRAG] " DROP all -- anywhere anywhere Chain IP_BAN (1 references) target prot opt source destination DROP all -- unallocated.star.net.uk anywhere DROP all -- 117.239.105.115 anywhere DROP all -- 64.34.253.100 anywhere DROP all -- 13-48-143-63.datacenter.lgvhost.com.br anywhere DROP all -- no-record-set.rijndata.nl anywhere Chain LnR (0 references) target prot opt source destination LOG tcp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[TCP reject] " LOG udp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[UDP reject] " LOG icmp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[ICMP reject] " LOG all -f anywhere anywhere limit: avg 1/sec burst 5 LOG level info prefix "[FRAG reject] " REJECT all -- anywhere anywhere reject-with icmp-port-unreachable Chain SYNFLOOD (1 references) target prot opt source destination RETURN tcp -- anywhere anywhere limit: avg 1/sec burst 5 tcpflags: FIN,SYN,RST,ACK/SYN REJECT tcp -- anywhere anywhere reject-with tcp-reset Chain ScanD (7 references) target prot opt source destination LOG tcp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level warning prefix "[TCP Scan?] " LOG udp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level warning prefix "[UDP Scan?] " LOG icmp -- anywhere anywhere limit: avg 1/sec burst 5 LOG level warning prefix "[ICMP Scan?] " LOG all -f anywhere anywhere limit: avg 1/sec burst 5 LOG level warning prefix "[FRAG Scan?] " DROP all -- anywhere anywhere Chain fail2ban-dovecot-pop3imap (1 references) target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-pureftpd (1 references) target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-squirrelmail (1 references) target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-ssh (2 references) target prot opt source destination RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere