Upgraded to ISPConfig-2.2.35, lost /root/ispconfig/httpd etc

Discussion in 'Installation/Configuration' started by deerhuntre, Apr 30, 2010.

  1. deerhuntre

    deerhuntre New Member

    I upgraded Fedora 10 to 11, then 11 to 12. Then, I updated to ISPConfig-2.2.35. The directories under /root/ispconfig/ are all gone except the isp directory.

    This occurred during the upgrade/installation, by the way:

    Code:
    Preparing files. Please wait a moment...
    cp: cannot stat `/root/ispconfig/httpd/conf/ssl.*': No such file or directory
    
    Just for snicks, I recreated (mkdir httpd) and re-ran the ISPConfig-2.2.35 install. The directories were again removed.

    Below are the errors when I start the ispconfig server.


    Code:
    /etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    /etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
    /etc/init.d/ispconfig_server: line 52: /home/admispconfig/ispconfig/tools/clamav/bin/freshclam: Permission denied
    I do have nightly backups and can restore as necessary, but if there's a better way to recover from this and complete the upgrade, I would rather do that. Please let me know the best approach to complete the upgrade or fix the issue.

    Thank you!!
     
    Last edited: Apr 30, 2010
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The y were removed because the ispconfig update could not be completed. The reason is that there are most likely some missing packages. Run:

    mkdir /rror/ispconfig

    then run the ispconfig upadte again and when it sops, scroll in your shell content to find the first error message (which is somewhere in the compile output) and post it there.

    As alternative, go trough this guide step by step:

    http://www.howtoforge.com/perfect-server-fedora-12-x86_64-ispconfig-2

    and make sure that all the packages are installed. The run the mkdir command from above and then the update again.
     
  3. deerhuntre

    deerhuntre New Member

    shell content output results--error

    Please let me know if this is not what you were looking for:

    Code:
    ===> src/support
    make[2]: Entering directory `/home/xyz/software/install_ispconfig/compile_aps/apache_1.3.41/src/support'
    gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208131 -DUSE_HSREGEX -DEAPI `../apaci` htpasswd.c
    htpasswd.c:101: error: conflicting types for ‘getline’
    /usr/include/stdio.h:653: note: previous declaration of ‘getline’ was here
    make[2]: *** [htpasswd.o] Error 1
    make[2]: Leaving directory `/home/xyz/software/install_ispconfig/compile_aps/apache_1.3.41/src/support'
    make[1]: *** [build-support] Error 1
    make[1]: Leaving directory `/home/xyz/software/install_ispconfig/compile_aps/apache_1.3.41'
    make: *** [build] Error 2
    ERROR: Could not make Apache
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Exiting with failure status due to previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Exiting with failure status due to previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Exiting with failure status due to previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Exiting with failure status due to previous errors
    mv: cannot stat `ispconfig_tmp': No such file or directory
    cp: cannot stat `dist.info': No such file or directory
    All prerequisites are fulfilled.
    Here we go...
    chmod: cannot access `./install.php': No such file or directory
    
    ./setup2: line 1090: mysql_config: No such file or directory
    ./setup2: line 1091: httpd: No such file or directory
    ./setup2: line 1092: httpd2: No such file or directory
    ./setup2: line 1093: httpd2: No such file or directory
    ./setup2: line 1103: ip_addresses: No such file or directory
    ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
    ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
    Restarting some services...
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    [Fri Apr 30 11:24:54 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
    ./setup2: line 1143: [: ==: unary operator expected
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Shutting down ISPConfig system...
    /etc/rc.d/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    ISPConfig system stopped!
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Starting ISPConfig system...
    /etc/rc.d/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    /etc/rc.d/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
    
    ./setup2: line 1189: cd: /home/xys/software/install_ispconfig/compile_aps/../..: No such file or directory
     
    Last edited: Apr 30, 2010
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

  5. deerhuntre

    deerhuntre New Member

    AAAhhhh! It works!

    Thank you so very much! I had to rebuild my ssl certs and once done, all was good.

    I really appreciate your help!
     
  6. hahni

    hahni New Member

    I have the same problems, but with Ubuntu 10.04LTS :(

    __

    cp: cannot stat `/root/ispconfig/httpd/conf/ssl.*': No such file or directory
    __

    Step 16 is the same like in the Ubuntu-Tut. But it could not fix my problems.
     
    Last edited: May 4, 2010
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What are the outputs of
    Code:
    ls -la /root/ispconfig/
    and
    Code:
    ls -la /home/admispconfig/
    ?
     

Share This Page