View Full Version : Apache2 not running
bschultz
30th September 2007, 19:58
I woke up this morning to find Apache2 not running. I've tried a /etc/init.d/apache2 start and it comes back failed.
I've looked in the logs and all I can find is this:
/etc/cron.daily/logrotate:
error: error running shared postrotate script for /var/log/apache2/*.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
Any ideas what I should do?
Thanks.
till
30th September 2007, 20:01
Please have a look at the apache error log in /var/log/apache2/ or a similar directory.
bschultz
30th September 2007, 20:05
unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs
unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs
unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs
unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs
unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs
till
30th September 2007, 20:08
Please post the output of:
ls -la /root/ispconfig
bschultz
30th September 2007, 20:15
Before I had posted this thread, I had rebooted the server. I just noticed an error on the terminal too:
[quote]
Starting IPSConfig System
ip_tables: (C) 2000-2006 Netfilter Core Team
/etc/rc2.d/S99ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No Such File Or Directory
/etc/rc2.d/S99ispconfig_server: line 47: /root/ispconfig/php/php: No Such File Or Directory
ISPConfig Sysytem is now up and running
bschultz
30th September 2007, 20:16
Please post the output of:
ls -la /root/ispconfig
No such file or directory
till
30th September 2007, 20:28
Then ISPConfig is not fully installed anymore on your server.
run:
mkdir /root/ispconfig
and the download the latest ISPConfig version and run the setup script. If the mysql database and the directory /home/admispconfig is still intact, the ISPConfig setup script will be able to repair your installation.
bschultz
30th September 2007, 20:42
I've made some changes (Clamd instead of clamav) plus there isn't anything in the folders in /home/admispconfig so I think I need to install a full backup on the system.
Thanks.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.