PDA

View Full Version : Apache took a dump?


omni
23rd January 2007, 14:34
So a day ago I had to move some cables, I unplugged the etho cable from my server and plugged in another one. I didn't think much of it because the server has a static IP and everything should* have been okay, I thought.

The next day Apache2 stopped responding, I could log into the ISPConfig site (port 81) and saw that the Apache service was no longer running, I tried everything to get it started again. Finally I did a reboot hoping that might help... but now I can't log into ISPconfig anymore or anything.

Whenever I try to start/stop/restart the Apache service it fails.

Can someone please help? thanks in advance.

till
23rd January 2007, 22:40
To start ISPConfig, run:

/etc/init.d/ispconfig_server start

To your apache problem: Which errors do you get in the apache error logfile?

omni
23rd January 2007, 22:42
I get the following error trying to start ISPConfig

Starting ISPConfig system...
/etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
/etc/init.d/ispconfig_server: line 47: /root/ispconfig/php/php: No such file or directory
FreshClam is already running!
ISPConfig system is now up and running!

till
23rd January 2007, 22:49
Have you deleted the directory /root/ispconfig ?

What is the output of:

ls /root/ispconfig

omni
24th January 2007, 00:02
ls: /root/ispconfig: No such file or directory

frack... looks like there is nothing there... how could this have happened? what do I do to fix it? thanks in advance.

till
24th January 2007, 09:36
Please run:

mkdir /root/ispconfig

and then download the latest ISPConfig installer and run the setup, the installer will update your configuration.

omni
24th January 2007, 14:54
that seems to have fixed the problem, thank you so much!

what could have happened to cause that? I want to make sure that doesn't happen again in the future. thanks again for your help!

falko
25th January 2007, 19:32
what could have happened to cause that?
Maybe you accidentally deleted /root/ispconfig?