RedHat 9: Install problems

Discussion in 'Installation/Configuration' started by AaronNGray, Mar 22, 2006.

  1. AaronNGray

    AaronNGray New Member

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

    till Super Moderator Staff Member ISPConfig Developer

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

    falko Super Moderator ISPConfig Developer

    Simply comment out this line:

    Code:
    rm -fr install_ispconfig
    at the end of install_ispconfig/setup2.
     
  4. AaronNGray

    AaronNGray New Member

    'rm -fr install_ispconfig' not found

    Sorry, cannot find it, what file, and what line ?

    Aaron
     
  5. AaronNGray

    AaronNGray New Member

    Found it

    Found it.

    Sorry looking silly here,

    Aaron
     
  6. AaronNGray

    AaronNGray New Member

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

    till Super Moderator Staff Member ISPConfig Developer

    Please post the exact error messages.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    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)
     
  9. AaronNGray

    AaronNGray New Member

    Bombing out later

    It is exiting with error() later than that. setup2 line 782 where the PHP check takes place.

    Aaron
     
  10. AaronNGray

    AaronNGray New Member

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

    falko Super Moderator ISPConfig Developer

    You must install the mysql-devel packages for your distribution.
     
  12. AaronNGray

    AaronNGray New Member

    yum install mysql-devel

    Thanks a :-

    yum install mysql-devel

    solved that.
     
  13. AaronNGray

    AaronNGray New Member

    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::DNS
    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
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you executed the setup script as oot user, not sudo?
    Is /usr/nin in your path variable?
     
  15. AaronNGray

    AaronNGray New Member

    Yes I am root.

    Yes '/usr/bin' is in $PATH.

    Aaron
     
  16. falko

    falko Super Moderator ISPConfig Developer

    Which distribution do you use?
     
  17. AaronNGray

    AaronNGray New Member

    Redhat 9.0

    I have updated HTTPD to Apache 2.0.55 and PHP to 5.1.2

    Aaron
     
  18. falko

    falko Super Moderator ISPConfig Developer

  19. AaronNGray

    AaronNGray New Member

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

    falko Super Moderator ISPConfig Developer

Share This Page