Update to 2.2.0 question

Discussion in 'Installation/Configuration' started by brianetilley, Mar 2, 2006.

  1. brianetilley

    brianetilley New Member

    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Yes, it must be
    Code:
    ./setup
    /root is ok, although I'd always use the /tmp directory (out of habit).
     
  3. brianetilley

    brianetilley New Member

    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_callback:problems getting password:pem _lib.c:105:
    27188:error:0906906F:pEM routines:pEM_ASN1_write_bio:read key:pem_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
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. brianetilley

    brianetilley New Member

    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
     
  6. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  7. brianetilley

    brianetilley New Member

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

    Brian
     
  8. brianetilley

    brianetilley New Member

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

    Brian
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

  10. falko

    falko Super Moderator ISPConfig Developer

  11. brianetilley

    brianetilley New Member

    Hi Falko,

    Thank you very much for your help. Everything seems to be OK. I did not have to rebuild the sql database as everything was still there when I logged on to the system. I was surprised that I did not even have to reset the password...it recognized the password I originally set. Thanks again...

    Brian
     

Share This Page