!!HELP!! I am accidentally delete folder /root/ispconfig

Discussion in 'General' started by pakogah, Jul 12, 2008.

  1. pakogah

    pakogah New Member

    I about to upgrade my ispconfig box to 2.2.24 from 2.2.23 and centos 5.1 to 5.2, but before I would to clean up some files to make sure there are enough room for yum cache file and extracted ispconfig, but then I deleted folder /root/ispconfig :mad:

    I just realize today when I want to upgrade my ispconfig?? what should I do?
    :confused::confused:
    ________
    Yamaha wr250
     
    Last edited: Feb 18, 2011
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Not a big problem :) Run:

    mkdir /root/ispconfig

    and then download ispconfig 2.2.24 and start the setup script. The installer will run a update and restore the missing files in /root/ispconfig.
     
  3. pakogah

    pakogah New Member

    but I haven't successfully install ver 2.2.24 my box still ispconfig 2.2.23
    and you said in Relese 2.2.24 we should upgrade the centos first before ispconfig 2.2.24.

    but well, well worth to try rather than nothing. I'll update soon
    ________
    STROKE ADVICE
     
    Last edited: Feb 18, 2011
  4. pakogah

    pakogah New Member

    ok, wonderfull.. now I access my website again...
    but https://mybox:81/ is not available, I have restart my server, but still no avail.
    what service should I start manually, looking for ispconfig on /etc/init.d but it's not there

    help... I know this is a little bit more
    ________
    Silversurfer vaporizer
     
    Last edited: Feb 18, 2011
  5. pakogah

    pakogah New Member

    ok, when I look at my server console, it generate error like this
    Code:
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
    A little bit... hint needed...
    ________
    Extreme q
     
    Last edited: Feb 18, 2011
  6. pakogah

    pakogah New Member

    ok, now I thing I found why ispconfig wont display...
    when I execute command
    Code:
    /root/ispconfig/httpd/bin/apachectl start
    it can start normally and I see port 81 opened up, and can access to http://mybox:81/ (w/o https)

    but then when I type
    Code:
    /root/ispconfig/httpd/bin/apachectl stop
    /root/ispconfig/httpd/bin/apachectl startssl
    it can't so there is must something wrong with ssl..
    and when I cek on /root/ispconfig/httpd/logs/error_log I get this error..

    Code:
    [Sun Jul 13 00:16:58 2008] [notice] Apache configured -- resuming normal operations
    [Sun Jul 13 00:16:58 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sun Jul 13 00:17:11 2008] [error] [client 10.10.105.181] Invalid method in request \\x16\\x03\\x01
    [Sun Jul 13 00:17:48 2008] [notice] caught SIGTERM, shutting down
    [Sun Jul 13 00:17:54 2008] [error] mod_ssl: Init: Unable to read server certificate from file /root/ispconfig/httpd/conf/ssl.crt/server.crt (OpenSSL library error follows)
    [Sun Jul 13 00:17:54 2008] [error] OpenSSL: error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
    [Sun Jul 13 00:18:00 2008] [notice] Apache configured -- resuming normal operations
    [Sun Jul 13 00:18:00 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sun Jul 13 00:18:32 2008] [error] [client 10.10.105.181] Invalid method in request \\x16\\x03\\x01
    [Sun Jul 13 00:18:35 2008] [error] [client 10.10.105.181] Invalid method in request \\x16\\x03\\x01
    [Sun Jul 13 00:18:36 2008] [error] [client 10.10.105.181] Invalid method in request \\x16\\x03\\x01
    [Sun Jul 13 00:18:38 2008] [error] [client 10.10.105.181] Invalid method in request \\x16\\x03\\x01
    [Sun Jul 13 00:18:38 2008] [error] [client 10.10.105.181] Invalid method in request \\x16\\x03\\x01
    on /root/ispconfig/httpd/logs/error_log I get this error..
    Code:
    [13/Jul/2008 00:16:57 03724] [info]  Server: Apache/1.3.41, Interface: mod_ssl/2.8.31, Library: OpenSSL/0.9.7m
    [13/Jul/2008 00:16:57 03724] [info]  Init: 1st startup round (still not detached)
    [13/Jul/2008 00:16:57 03724] [info]  Init: Initializing OpenSSL library
    [13/Jul/2008 00:16:57 03724] [info]  Init: Seeding PRNG with 136 bytes of entropy
    [13/Jul/2008 00:16:57 03724] [info]  Init: Generating temporary RSA private keys (512/1024 bits)
    [13/Jul/2008 00:16:58 03724] [info]  Init: Configuring temporary DH parameters (512/1024 bits)
    [13/Jul/2008 00:16:58 03727] [info]  Init: 2nd startup round (already detached)
    [13/Jul/2008 00:16:58 03727] [info]  Init: Reinitializing OpenSSL library
    [13/Jul/2008 00:16:58 03727] [info]  Init: Seeding PRNG with 136 bytes of entropy
    [13/Jul/2008 00:16:58 03727] [info]  Init: Configuring temporary RSA private keys (512/1024 bits)
    [13/Jul/2008 00:16:58 03727] [info]  Init: Configuring temporary DH parameters (512/1024 bits)
    [13/Jul/2008 00:16:58 03727] [info]  Init: Initializing (virtual) servers for SSL
    [13/Jul/2008 00:17:54 03755] [info]  Server: Apache/1.3.41, Interface: mod_ssl/2.8.31, Library: OpenSSL/0.9.7m
    [13/Jul/2008 00:17:54 03755] [info]  Init: 1st startup round (still not detached)
    [13/Jul/2008 00:17:54 03755] [info]  Init: Initializing OpenSSL library
    [13/Jul/2008 00:17:54 03755] [info]  Init: Loading certificate & private key of SSL-aware server webbox.bo-tak.info:81
    [13/Jul/2008 00:17:54 03755] [error] Init: Unable to read server certificate from file /root/ispconfig/httpd/conf/ssl.crt/server.crt (OpenSSL library error follows)
    [13/Jul/2008 00:17:54 03755] [error] OpenSSL: error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
    something about my certificate unavail for ispconfig_server.. :confused::eek:
    what should I do? a link will help also...

    thank a lot
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

  8. pakogah

    pakogah New Member

    that doesn't work either,
    it has the same error generate
    I am taking few step back

    I delete the folder /root/ispconfig and create it again
    extract the ISPConfig-2.2.24.tar.gz
    cd install_ispconfig
    and execute setup again..

    and cross my finger...
    hopefully it'll restore my ISPconfig control panel
    ________
    How to roll a blunt
     
    Last edited: Feb 18, 2011
  9. pakogah

    pakogah New Member

    failed again,

    but somehow this trick was successful on when you said

    "mkdir /root/ispconfig

    and then download ispconfig 2.2.24 and start the setup script. The installer will run a update and restore the missing files in /root/ispconfig."

    but the problem is when I got in step 7 dan 8 Encrypting RSA private of CA/Server with pass phrase for security, I answer yes rather than no
    as described in http://ispconfig.com/manual_installation.htm

    so I thought that what causing my ISPconfig SSL broken...

    now its time to pull my hair back
    ________
    Magic Flight Launch Box
     
    Last edited: Feb 18, 2011
  10. pakogah

    pakogah New Member

    ok case closed,
    I am just delete the folder /root/ispconfig again
    do install/update of ispconfig 2.2.24 and follow the how to on http://ispconfig.com/manual_installation.htm

    and yes luckily ispconfig installer found that my db_ispconfig already there, no data change, and I still can view my customers and my customers's sites
    ________
    Buy silver surfer
     
    Last edited: Feb 18, 2011

Share This Page