View Full Version : !!HELP!! I am accidentally delete folder /root/ispconfig
pakogah
12th July 2008, 15:13
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:
till
12th July 2008, 15:55
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.
pakogah
12th July 2008, 16:18
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 (http://www.howtoforge.com/forums/showpost.php?p=134905&postcount=7) we should upgrade the centos first before ispconfig 2.2.24.
but well, well worth to try rather than nothing. I'll update soon
pakogah
12th July 2008, 17:08
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
pakogah
12th July 2008, 19:42
ok, when I look at my server console, it generate error like this
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
A little bit... hint needed...
pakogah
12th July 2008, 20:27
ok, now I thing I found why ispconfig wont display...
when I execute command
/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
/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..
[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..
[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
till
12th July 2008, 22:26
Rebuild the ssl certs:
http://www.howtoforge.com/forums/showpost.php?p=358&postcount=4
pakogah
15th July 2008, 10:11
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
pakogah
15th July 2008, 11:33
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
pakogah
15th July 2008, 12:54
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
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.