Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd March 2006, 18:30
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default Update to 2.2.0 question

Hi,

In the email concerning the update to 2.2.0 is says to install the update using the command '../setup'. Is this a typo? Should it be './setup'? Using the first option gives me a file not found error. Before I wipe out everything and have to spend the rest of the day recovering from backups I want to make sure I am doing the right thing. Also, I downloaded and unpacked the update into the 'root' directory. Is this OK or shoud it be in another directory before unpacking and installing?

Brian
Reply With Quote
Sponsored Links
  #2  
Old 2nd March 2006, 20:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by brianetilley
Hi,

In the email concerning the update to 2.2.0 is says to install the update using the command '../setup'. Is this a typo? Should it be './setup'?
Yes, it must be
Code:
./setup
Quote:
Originally Posted by brianetilley
Also, I downloaded and unpacked the update into the 'root' directory. Is this OK or shoud it be in another directory before unpacking and installing?
/root is ok, although I'd always use the /tmp directory (out of habit).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd March 2006, 21:21
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

I ran the installer and when I got to the section configuring CA and SERVER certificates I put in a password. I remember during the initial installation of ISPConfig that I was advised to not enter a password at that time. By putting one in now did it cause the failure of the install. Below is the output from entering the password to the end of the script. It appears I can no longer connect to my server. Any suggstions?

STEP 7: Enrypting RSA private key of CA with a pass phrase for security [ca.key]
The contents of the ca.key file (the generated private key) has to be
kept secret. So we strongly recommend you to encrypt the server.key file
with a Triple-DES cipher and a Pass Phrase.
Encrypt the private key now? [Y/n]: Y
writing RSA key
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
Verify failure
unable to write key
27188:error:0906406D:PEM routines:PEM_def_callbackroblems getting passwordem _lib.c:105:
27188:error:0906906F:PEM routines:PEM_ASN1_write_bio:read keyem_lib.c:331:
mkcert.sh:Error: Failed to encrypt RSA private key
make[1]: *** [certificate] Error 1
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/apache_1.3.34/sr c'
make: *** [certificate] Error 2
ERROR: Could not make certificate for Apache
cd: could not get current directory: getcwd: cannot access parent directories: N o such file or directory
cd: could not get current directory: getcwd: cannot access parent directories: N o such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: 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: Error exit delayed from previous errors
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `spamassassin': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: 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: Error exit delayed from previous errors
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `uudeview': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: 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: Error exit delayed from previous errors
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
mv: cannot stat `clamav': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: 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: Error exit delayed from previous errors
./setup2: line 777: ispconfig_tmp/php/bin/php: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your syste m! The installation routine stops here!
job-working-directory: could not get current directory: getcwd: cannot access pa rent directories: No such file or directory
www:~/install_ispconfig#


Brian
Reply With Quote
  #4  
Old 3rd March 2006, 11:42
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,502
Thanks: 813
Thanked 5,264 Times in 4,128 Posts
Default

If you chose to encyrpt the SSL key, ISPConfig is unable to start when you boot your server.

Before you run the update again, please restore the ISPConfig backup tar.gz files in your /tmp folder by copying them to / and unpack them with tar xfz filename.tar.gz.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd March 2006, 16:56
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

This is what is in my /tmp directory;

www:/tmp# ls
sess_03e1473487b3e46b914606a8be321439 sess_688b1756beec41bb257f270d274353b0
sess_042900bb65b76f3f419187c6f383e9c6 sess_6cefdad2bace364cfe65b19847d58ae4
sess_0b7e3243ec2b92f831e3984ca1e123a8 sess_78cf63d6ac380239e855f9cec517ce93
sess_0b7fd3f8a4e97cdc045fe7d31d74ea3e sess_79c14732c514fe339db225af6fb574bd
sess_0dc349dfa49bc3b8bb5f5abc3b3a4b66 sess_7e368761be39a328ea8555c9856a3ca7
sess_112da227a618118c7640b59db7d2373c sess_8221f6770be93b318c7c577247b9c6d5
sess_162a289fff36f15a972753735d3a0a14 sess_8bc842ce9e1b33a71afb271648028870
sess_17660caf5ba2db9d4242e0fe27f756ca sess_8e97f6ef93d842ad09a80e3c34191cae
sess_18cb431196fd714dc8fb756bc6a8f31c sess_8eb7fef3e8ab31547082113a67a37e69
sess_198a0904eb8b548b475e2c26ee8364e0 sess_8fecbdd7a07597374eddf77c096f3643
sess_1ac9b7b1488feea5dd0922726e686fe4 sess_937a62ffb9b413aeb3a98a52a0fe4535
sess_1dab75e647cf664345da39e1c6e1bb61 sess_94aefcffa99917f7350bfaae591bda3a
sess_1f6fa8768f2019de8e0bdabbc2c14e94 sess_958ad594747f20f671681d491de87a23
sess_20f96584989b3c21848478aa9d455b09 sess_97c976630d401ec0cec2555bad5d9961
sess_234ed82a448dc4966713ee941abd2d8e sess_9b2fe513b3fec5236f9d59aaa25def61
sess_2389e0c98c034776f31863996c5a9891 sess_9bd34aa828c08d74aabc04308c96e4df
sess_279eea9924833cb2f1533d15bc45d910 sess_a2229b6804ce756dd8324f208ee620e5
sess_284e62d53006fbb4c3349a57b3e5a95f sess_a36c6be4268d3a381a59d5254a1f0716
sess_2ae4a5f58175906d41aeaf2aa44699c2 sess_a821e5fc25d7a3a599ec19a65238044e
sess_2c75ddde0e7ba5bde896d23b034adef8 sess_aa70f52477ff69fa072181329a210781
sess_35de2b10b789e41017c7a66fe38ecee1 sess_aa9984c1011bc33aa60d8501e3b43565
sess_3a39fe7b8d74adb7f58f2e46e86cb7aa sess_b1e5bdbb0f95595e1583618b6414ce87
sess_3d3589ce87f09459b46b4b5e5426dad7 sess_b4897c90b25a43e77b719b63d546e4a8
sess_4027d69494a257b24a49f5c387dbc1ef sess_be8e8ed3bf833af786398e999405fae5
sess_40d57fea63a384f3071aec70635950aa sess_c80cf4d902cc07edf9cda4cb20ab31f1
sess_4116b49fb374fdfc6042e905a686e960 sess_cae65698b7bc1e590c82d097d26ba230
sess_4b48d678eb9452c35ff23007ac66eb3c sess_cec41929ac963abd1522ffa3b67626df
sess_4c64f81aae64d851ea23ad8cabfc134d sess_d1f41422e4c30ed79e72a0cbeca1402c
sess_4cb30bea3d5f134af39cefda0d78a735 sess_d2a53403b59731852eaf20ea4081a6d8
sess_4e93c12d071ccb45c56ec981980f2151 sess_d79428165b72bf254d3fed868e512027
sess_4f3da9fc596d993021c2b99d2891feb8 sess_d8246e9792824c22fd60d25bade1763c
sess_53b0ecbca37f055929691169470a36bc sess_d9c5ad29e592d6a860b080e1398b11f0
sess_56ca9dede8eb4e34ef79ed1e6dcb28b7 sess_de1e6c50e7e80f85787034cb5413f946
sess_58252568c57614ad79fd02ac857239b4 sess_e0f5841d0310d7566082d54fb6b7d7ac
sess_5c2b78cf7b8e5c32171815b8b62fc458 sess_e4ff7eb772f3aa1fd1ac18c79b90696b
sess_5fd1ffb684876460ad261e8e158a7f17 sess_e55ee7f25078f9fc6ff93e33d9c370ca
sess_602337cde641e1271d02e1ac12ce22fc sess_eb06805caf216e7563a168dea29383e1
sess_6198b4d3cca217290c6c5d8e9c64f1ad sess_efd1759dd4b44ea1a348bf8e77d6ecbe
sess_61bfeb580b7fb59e9d1d03facba7cbb9 sess_efe30d6b95fd61010577a060c130a813
sess_62c9c2093b862a32ed5592710df4dda0 sess_f4c0f0232982cad10df309746e46870e
sess_6375071449e1646d04168780bc82f19d sess_f7ebd4a543a439089202966cd9e8b547
sess_639acf7ea12e83d65f2f5712564d517f sess_f7f5d703f90161a01c3e630a5902146f
sess_668e2697f8581a93c1efc40f23aef4ce sess_f8202f24d4f99fa73f3ae56170c7c1ef
sess_67ce69ca78d68c0375073f78a17ae870
www:/tmp#

I assume something is not right. If I do a new install of ISPConfig will I lose all the websites that are currently running? I have a backup of the webs on another machine. Can I restore them into a clean install of ISPConfig? Thanks...

Brian
Reply With Quote
  #6  
Old 3rd March 2006, 17:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Does your ISPConfig MySQL database still exist? You should make an SQL dump of it now.
If you have that SQL dump (only then!), I'd try to make a clean ISPConfig installation and replace the new ISPConfig database with that from the SQL dump afterwards.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 3rd March 2006, 18:07
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

Thank you for the info...could you please give me a link describing the exact steps necessary to do that.

Brian
Reply With Quote
  #8  
Old 3rd March 2006, 18:39
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

The installation was OK...but when I tried to access ISPConfig I got an Error Code: -8182 Invalid or corrupt certificate.

Brian
Reply With Quote
  #9  
Old 3rd March 2006, 19:57
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,502
Thanks: 813
Thanked 5,264 Times in 4,128 Posts
Default

The certificate seems to be corrupt. Create a new one as described here: http://www.howtoforge.com/forums/showthread.php?t=121
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 3rd March 2006, 23:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by brianetilley
Thank you for the info...could you please give me a link describing the exact steps necessary to do that.

Brian
Have a look here: http://www.howtoforge.com/faq/6_3_en.html
http://www.howtoforge.com/faq/6_4_en.html
You can also do it with phpMyAdmin.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update command is not functioning. Hans Installation/Configuration 5 31st July 2006 16:18
left frame (Tools) broken after update Tommie Installation/Configuration 4 11th February 2006 00:02
Small question misterm Installation/Configuration 1 18th October 2005 13:07
Update from 2.0.7 to 2.0.8 brody Installation/Configuration 7 31st August 2005 16:37
DNS client update IP thru cron or other? domino Server Operation 5 18th August 2005 05:16


All times are GMT +2. The time now is 14:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.