Unintentionally deleted /root/ispconfig/

Discussion in 'Installation/Configuration' started by AlArenal, Sep 18, 2007.

  1. AlArenal

    AlArenal New Member

    Hi!

    I unintentionally deleted /root/ispconfig/ on one of my Debian Etch 64 Bit boxes. The automatic webserver restart did not work anymore, therefore I had to comment out the CustomLog entry in /etc/apache2/apache2.conf to be able to start the web server.

    I'm now curious what to do to get things going again. I downloaded ISPC again and began the install process, but stopped it immediately because it did not seem to recognize the current installation and I didn't want to further mess up my box.

    May I just copy /root/ispconfig from another Debian Etch 64 Bit box or is there another way?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    mkdir /root/ispconfig

    Then run the ISPConfig setup script from your fresh downloaded version, ISPConfig will perform a update then.
     
  3. AlArenal

    AlArenal New Member

    Thanks, Till!

    But at the end of the install process I get:

    Code:
    Starting ftp server: proftpd - setting default address to 127.0.0.1
    .
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
    ISPConfig system stopped!
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
    ISPConfig system is now up and running!
    Herzlichen Glueckwunsch! Ihr ISPConfig-System ist jetzt installiert. Falls Sie Quota nachinstalliert haben, fuehren Sie noch die in der Installationsanleitung beschriebenen Schritte durch. Ansonsten ist Ihr System jetzt ohne Reboot einsatzbereit.
    
    srv002:~/install_ispconfig#
    Trying to start ISPC manually I get:

    Code:
    srv002:~/install_ispconfig# /etc/init.d/ispconfig_server start
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    Starting ISPConfig system...
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    /root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
    FreshClam is already running!
    ISPConfig system is now up and running!
    srv002:~/install_ispconfig#
    I think it may have to do with a missing SSL certificate, that got deleted as well?
     
  4. jnsc

    jnsc rotaredoM Moderator

    ISPConfig deletes the directory after the installation. You get this messages because you are in an non existing directory. Just type
    Code:
    cd
    this should solve your problem.
     
  5. AlArenal

    AlArenal New Member

    ISPC just keeps on pretending it is running, but in fact, it is not. :(

    Code:
    srv002:~# /etc/init.d/ispconfig_server start
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
    FreshClam is already running!
    ISPConfig system is now up and running!
     
    Last edited: Sep 18, 2007
  6. AlArenal

    AlArenal New Member

    Okay, I got it!

    Just had to tweak around a bit until I got a chance to run "make certificate" in ISPC's apache sources and had to insert the certificate files into the installation.

    Finally I got it back up and runnning again :D
     

Share This Page