PDA

View Full Version : CentOS 5 ISPConfig ./Setup breaks


crypted
26th January 2008, 04:11
Here's the tail-end of the install log from ./setup prior to breaking:


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
27843:error:0906406D:PEM routines:DEF_CALLBACK:problems getting password:pem_lib.c:105:
27843:error:0906906F:PEM routines:PEM_ASN1_write_bio:read key:pem_lib.c:329:
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.39/src'
make: *** [certificate] Error 2
ERROR: Could not make certificate for 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: Error exit delayed from 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: Error exit delayed from 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: Error exit delayed from 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: Error exit delayed from previous errors
./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
[root@65-110-53-130 install_ispconfig]#

This is using the latest tarball: ISPConfig-2.2.19.tar.gz
The operating system is CentOS 5.x (I believe it to be 5.1 but ./setup recognized it as 5.0)

Linux 65.110.53.130 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:30:20 EST 2008 i686 i686 i386 GNU/Linux

crypted
26th January 2008, 05:29
I wanted to add further that this is with the latest GCC and a new OS. I did see the other post regarding older OS problems.

[root@65 ~]# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
[root@65 ~]#

crypted
26th January 2008, 06:35
Used patch from another post for OLDER LINUX OPERATING SYSTEMS. It's worth noting that I'm using the latest CentOS alongside the latest GCC compiler available for CentOS and Redhat ENT.

wpwood3
26th January 2008, 07:33
You don't need to patch anything on CentOS 5.x to run ISPConfig 2.2.19. I have 2 servers running fine.

What do you get when you run this?

yum list gcc gcc-c++


Read this HowTo and make sure you have everything installed that ISPConfig needs:
http://www.howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig

crypted
26th January 2008, 08:34
gcc.i386 4.1.2-14.el5 installed
gcc-c++.i386 4.1.2-14.el5 installed

Just going by what the gcc -v output was and here it's verified by a rpm install v number as well... Explain what I'm not understanding please. Thanks mucho...

wpwood3
26th January 2008, 19:38
I think that either you don't have something installed that ISPConfig needs or you did not follow the instructions precisely. The HowTo I linked to above in my earlier post lists everything that must be installed.

Try installing ISPConfig again. Your existing webs and configuration should remain intact just like they do for any ISPConfig upgrade.

Be sure to delete the directoy install_ispconfig, unpack ISPConfig again and start from the beginning of the installation instructions.

Read the install instructions carefully:
http://www.ispconfig.org/manual_installation.htm

Important: Be sure to have installed gcc, flex and all the other tools needed for compiling sources before you run ./setup! You also need to install the MySQL header files which normally come in a package called mysql-devel, mysql-dev, libmysql-devel or something similar. Otherwise PHP5 will not compile, and the installation of ISPConfig stops!
When the ISPConfig Apache is built, a custom SSL certificate is built. Therefore you are asked a few questions. You can accept the default values

Use ALL of the default answers when creating the certificate.
Make sure you answer NO in steps 7 & 8.

crypted
26th January 2008, 21:20
I formatted the system and started from scratch for shits and giggles. It's the same thing AFTER doing every step to the T. Oh well though. Till's patch works wonders for this issue so I'll just keep it and move on about life.

wpwood3
26th January 2008, 21:27
The patch works because it is telling your system not to use optimizations that it should be using. As long as you don't mind your system running a little slow it's not a problem.