My ISPconfig v10 is working fine but sometimes and without any known pattern all websites come offline and inspite the server is up the only way to put thinks back in order is to stop and start Apache service. This can be very serious since I cand diagnose the cause and sometimes the websites are offline several hours. Can anyone help me troubleshoot this issue~? Kind regards and thanks in advance
One of my reasons to switch to ISPConfig was the ability to use the Apache webserver version I wanted, because I experienced the same problems with DirectAdmin. Apache on my previous servers always core dumped. I had a cron job watching the log files, which restarted apache when it found an error. I also switched from Redhat to Ubuntu and this last change seems to be the best choice I even made. I do no have any problem with apache anymore. I do use the distrubution version, as the manual compiled Apache on Redhat was the one giving problems. I know this statement doesn't help solving your problem. Which distro are you using?
I am using ISPCOnfig 2.2.10 under Ubunto 6.06. Don't know my Apache2 version because my linux skills are very poor. I've had the idea of creating a script that restarts the service from time to time to put order in my server but that wont solve the issue just minimizes the damages. Help is appreciated.
Server version: Apache/2.0.55 Server built: May 29 2006 01:52:53 Server's Module Magic Number: 20020903:11 Architecture: 32-bit 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 SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="" -D SUEXEC_BIN="/usr/lib/apache2/suexec2" -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="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
Are there any errors in Apache's error log? Monit can do this for you: http://www.howtoforge.com/server_monitoring_monit_munin
Sorry... Its not webadmin but webmin. Anyway... My error log manages to collect 11 Mb of data in one week so it probably has some issue pending. Attached is the error log from 9th March till now and we had a breakdown yesterday.
[Wed Mar 14 15:33:45 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:34:39 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:34:39 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:34:40 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:34:40 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:34:41 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:34:41 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:35:40 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:35:40 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:40:11 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:40:11 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:40:18 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:40:18 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:40:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:40:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:41:19 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:41:19 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:41:26 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:41:26 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:42:16 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:42:16 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:42:23 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:42:23 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:42:52 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:42:52 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:43:01 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:43:01 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:43:29 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:43:29 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:48:47 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:48:47 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:48:50 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:48:50 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:49:02 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:49:02 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:49:06 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:49:06 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:49:58 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:49:58 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:02 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:02 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:07 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:07 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:21 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:21 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:34 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:34 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:46 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:46 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:47 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:47 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:50 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:50 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:50 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:50 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:59 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:50:59 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:07 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:07 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:10 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:10 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:11 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:11 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:34 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:51:34 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:52:53 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:52:53 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:17 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:17 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:17 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:17 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:23 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:23 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:23 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:23 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:31 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:31 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:49 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:49 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:49 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:53:49 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:21 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:21 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:39 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:39 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:49 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:49 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:58 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:56:58 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:12 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:12 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:16 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:16 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:19 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:19 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:20 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:20 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:28 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:57:28 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:58:40 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:58:40 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:58:42 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 15:58:42 2007] [error] an unknown filter was not added: PHP PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 [Wed Mar 14 21:29:19 2007] [notice] caught SIGTERM, shutting down PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 [Wed Mar 14 21:29:27 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2) PHP Warning: Module 'gd' already loaded in Unknown on line 0 PHP Warning: Module 'mysql' already loaded in Unknown on line 0 [Wed Mar 14 21:29:28 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations [Wed Mar 14 21:31:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 21:31:27 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 21:31:31 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 21:31:31 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 21:31:59 2007] [error] an unknown filter was not added: PHP [Wed Mar 14 21:31:59 2007] [error] an unknown filter was not added: PHP ... This is only a VERY small part of it!
Take a look here: http://www.howtoforge.com/forums/showthread.php?t=4770&highlight=$go_info["server"]["apache2_php"]
I have followed the instruction in that topic and the error still remains - as well as the huge error log. Any other Ideas? Most errors are like this: 1) an unknown filter was not added: PHP 2) PHP: Error parsing /etc/php5/apache2/php.ini on line 1164 Attached is the mentioned php.ini file. Thanks in advance for some help!
Did you modify /home/admispconfig/ispconfig/lib/config.inc.php, as I suggested? This is what you have in line 1164 and 1165: Code: magic_quotes_gpc = 1 [B][COLOR="Red"](preferred but not necessary)[/COLOR][/B] magic_quotes_runtime = 0 [B][COLOR="Red"](necessary)[/COLOR][/B] This is wrong. Please change it to Code: magic_quotes_gpc = 1 magic_quotes_runtime = 0 and restart Apache.
This is the line in my file $go_info["server"]["apache2_php"] = 'addtype'; // 'filter' = set PHP filters, 'addtype' = Set PHP addtype or 'both' = Set Filter + Addtype, suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
You can see the file attached because I really dont know witch part of it is revelant for your analysis. Thanks in advance
Ok, you still hhave the Code: <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> part in Vhosts_ispconfig.conf. Please update something in ISPConfig or create a new web site, and Vhosts_ispconfig.conf will be rewritten (without the Filter part).
I have changed one web site and created another and removed it later. The attached file is the file re-written after your post, but those lines remained. Should I remove them manually? Thanks in advance