Apache took a dump?

Discussion in 'General' started by omni, Jan 23, 2007.

  1. omni

    omni New Member

    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.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    To start ISPConfig, run:

    /etc/init.d/ispconfig_server start

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

    omni New Member

    I get the following error trying to start ISPConfig

    Code:
    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!
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you deleted the directory /root/ispconfig ?

    What is the output of:

    ls /root/ispconfig
     
  5. omni

    omni New Member

    Code:
    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.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    mkdir /root/ispconfig

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

    omni New Member

    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!
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Maybe you accidentally deleted /root/ispconfig?
     

Share This Page