Hi, I am having problems installing ISPConfig on RedHat 9. It is getting to installing PHP then bombing out of the PHP's ./configure I cannot seem to workout where it deletes itself in order to aid debugging. The compile_aps/compile deletetion bit is obvious but not the main install_ispconfig directory's deletetion. If I could stop ISPconfig deleting itself so that the ./configure could be done from the command line to debug it. Many thanks in advance, Aaron
The installer (setup) script moves some directories during installation. You can not run the installer twice without unpacking it again! Thats why the installer deletes itself after installation. Just rename the installtion directory from "install_ispconfig to e.g. "my_install" will stop this behaviour.
Not that 'rm -fr install_ispconfig' doing the deletetion Its not that line doing the deletetion, thats at the end of the code. setup2 bombs out doing an error() on redetection that PHP is not there, much earlier. I am confused !???! Aaron
In line 772 of install_ispconfig/setup2 you have Code: ./compile || (cd `pwd`/../.. && rm -fr install_ispconfig && exit 1) You can change it to Code: ./compile || (cd `pwd`/../.. && exit 1)
Bombing out later It is exiting with error() later than that. setup2 line 782 where the PHP check takes place. Aaron
Error messages and log entries Hi, Heres the error messages :- ~~~~ checking for MySQL UNIX socket location... no configure: error: Cannot find MySQL header files under /usr. Note that the MySQL client library is not bundled anymore! ERROR: Could not configure PHP cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/aps.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/spamassassin.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/uudeview.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/clamav.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/cronolog job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/cronosplit job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/ispconfig_tcpserver job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/zip job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/unzip job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): spamassassin.tar.gz: Cannot open: No such file or directory tar (child): 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 parent directories: No such file or directory mv: can't stat source spamassassin job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): uudeview.tar.gz: Cannot open: No such file or directory tar (child): 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 parent directories: No such file or directory mv: can't stat source uudeview job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): clamav.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors mv: can't stat source clamav job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): aps.tar.gz: Cannot open: No such file or directory tar (child): 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 parent directories: No such file or directory ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here! job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory ~~~~~ And the end of the log :- ~~~~~ Tue Mar 21 18:34:47 GMT 2006 - [ISPConfig] - WARNING: could not unpack ISPConfig system Tue Mar 21 18:34:47 GMT 2006 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here! ~~~~~ Hope this helps. Its actually and error in 'compile' with the PHP ./configure failing. Thanks alot, Aaron
More problems It seems to be failing on perl-IO-Zlib which I have installed. And also pod2man which is in /usr/bin. *************************************************************************** NOTE: the optional IO::Zlib module is not installed. The "sa-update" script requires this module to access compressed update archive files. optional module missing: DB_File optional module missing: Net:NS optional module missing: Mail::SPF::Query optional module missing: IP::Country optional module missing: Razor2 optional module missing: Net::Ident optional module missing: IO::Socket::INET6 optional module missing: IO::Socket::SSL optional module missing: Time::HiRes optional module missing: Archive::Tar optional module missing: IO::Zlib warning: some functionality may not be available, please read the above report before continuing! Checking if your kit is complete... Looks good Warning: I could not locate your pod2man program. Please make sure, your pod2man program is in your PATH before you execute 'make' Writing Makefile for Mail::SpamAssassin Makefile written by ExtUtils::MakeMaker 6.03 Makefile:94: *** missing separator. Stop. ERROR: Could not make SpamAssassin cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/aps.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/spamassassin.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/uudeview.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/clamav.tar.gz job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/cronolog job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/cronosplit job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/ispconfig_tcpserver job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/zip job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory mv: can't stat source binaries/unzip job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): spamassassin.tar.gz: Cannot open: No such file or directory tar (child): 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 parent directories: No such file or directory mv: can't stat source spamassassin job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): uudeview.tar.gz: Cannot open: No such file or directory tar (child): 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 parent directories: No such file or directory mv: can't stat source uudeview job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): clamav.tar.gz: Cannot open: No such file or directory tar (child): 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 parent directories: No such file or directory mv: can't stat source clamav job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory tar (child): aps.tar.gz: Cannot open: No such file or directory tar (child): 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 parent directories: No such file or directory ./setup2: line 778: ispconfig_tmp/php/bin/php: No such file or directory job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here! ~~~~~~ Help, Aaron
Please install pod2man: http://search.cpan.org/~rra/podlators-2.0.4/scripts/pod2man.PL and try again.
Still problems with pod2man Okay done that but pod2man is complaining :- ~~~~~ Can't locate Pod/Simple.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /usr/lib/perl5/5.8.0/Pod/Man.pm line 35. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/Pod/Man.pm line 35. Compilation failed in require at /usr/bin/pod2man line 19. BEGIN failed--compilation aborted at /usr/bin/pod2man line 19. ~~~~~ Am I missing basic CPAN instillation so something ? Still getting :- ~~~~~ Checking if your kit is complete... Looks good Warning: prerequisite Pod::Usage 1.1 not found. Warning: I could not locate your pod2man program. Please make sure, your pod2man program is in your PATH before you execute 'make' Writing Makefile for Mail::SpamAssassin Makefile written by ExtUtils::MakeMaker 6.03 Makefile:94: *** missing separator. Stop. ERROR: Could not make SpamAssassin ~~~~~ Aaron
Please install Pod::Simple using the Perl shell, as described here: http://www.howtoforge.com/perfect_setup_fedora_core_4_p5 Then try to install pod2man again.