ISPConfig install error: The PHP binary coming with ISPConfig does not work...

Discussion in 'Installation/Configuration' started by mlanglois, Apr 15, 2006.

  1. mlanglois

    mlanglois New Member

    Hi!
    I have been a faithful user of ISPConfig for months -- it's just GREAT!
    However I have a problem when upgrading to the new version: the setup stopped after a few minutes with this error message:
    Code:
    ./setup2: line 794: ispconfig_tmp/php/bin/php: No such file or directory
    The server runs SuSE 10, which I installed by faithfully following the "perfect setup" howto (I only had to change the ISPConfig 2.1.2 setup because of my x86_64 system).

    I've read that I'm not the only one having this error, but I haven't found the solution. I've tried to run the setup a second time, but now it's asking me more questions, as though it were a new install and not an upgrade... And the same error shows up anyway!

    Here are the last lines of the setup:
    Code:
    Configuring extensions
    checking whether to enable LIBXML support... no
    checking libxml2 install dir... no
    checking for OpenSSL support... yes
    checking for Kerberos support... no
    checking for pkg-config... no
    configure: error: Cannot find OpenSSL's libraries
    ERROR: Could not configure PHP
    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 794: 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!
    
    Can anyone help?
    Thanks!!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    That's the problem. Did you somehow remove OpenSSL or parts of it?
    What's the ouput of
    Code:
    uname -m
    ?
     
  3. mlanglois

    mlanglois New Member

    uname -m ==> x86_64

    When I first installed ISPConfig (v. 2.1.2) on my x86_64 system, I had to remove the --with-openssl parameter in compile_aps/compile on l. 85. But I thought that this new version was compatible with x86_64?

    yast2 tells me that openssl, openssl-32bit, openssl-devel, and php5-openssl are installed.
     
  4. mlanglois

    mlanglois New Member

    I checked the Perfect ISP Server SuSE Howto, and I noticed that openssl-devel-32bit should be installed. It was not installed on my system (which I can't explain), but anyway I installed it and then ISPConfig installed just fine :D :D !!

    I was also VERY pleased to see that ISPConfig kept my configuration although I screwed the first upgrade attempt...

    Anyway, once again a huge THANKS to you guys!!! :p
     
  5. zoddo

    zoddo New Member

    i have the same sort of problem. uname -m = i686
    Code:
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... no
    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: 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 794: ispconfig_tmp/php/bin/php: 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! 
     
    Last edited: Apr 27, 2006
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The mysql development files are missing. Install the "mysql-dev" package from your linux distribution. Then unpack the ISPConfig tar.gz again and run the setup script.
     
  7. zoddo

    zoddo New Member

    i cant seem to find it on my install cd...
     
    Last edited: Apr 27, 2006
  8. falko

    falko Super Moderator Howtoforge Staff

    Which distribution are you using?
     
  9. taylan

    taylan New Member

    insallation problem

    I am using Centos 4.3 and i followed perfect setup for centos 4.3

    i ended up with this error i tried twice can you help me pls during the installation zlib installation gave error the other steps was ok
    thanks
    to'
    > make: *** [build_crypto] Error 1
    > ERROR: Could not make OpenSSL
    > 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
    -bash: command substitution: line 1: unexpected EOF while looking for matching `''
    -bash: command substitution: line 6: syntax error: unexpected end of file
    -bash: make[1]:: command not found
    [root@server1 install_ispconfig]# 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
    -bash: command substitution: line 1: unexpected EOF while looking for matching `''
    -bash: command substitution: line 3: syntax error: unexpected end of file
    -bash: mv:: command not found
    [root@server1 install_ispconfig]# 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
    -bash: command substitution: line 1: unexpected EOF while looking for matching `''
    -bash: command substitution: line 3: syntax error: unexpected end of file
    -bash: mv:: command not found
    [root@server1 install_ispconfig]# 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
    -bash: command substitution: line 1: unexpected EOF while looking for matching `''
    -bash: command substitution: line 7: syntax error: unexpected end of file
    -bash: mv:: command not found
    [root@server1 install_ispconfig]# tar: clamav.tar.gz: Cannot open: No such file or directory
    -bash: tar:: command not found
    [root@server1 install_ispconfig]# tar: Error is not recoverable: exiting now
    -bash: tar:: command not found
    [root@server1 install_ispconfig]# tar: Child returned status 2
    -bash: tar:: command not found
    [root@server1 install_ispconfig]# tar: Error exit delayed from previous errors
    -bash: tar:: command not found
    [root@server1 install_ispconfig]# 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 794: 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!
    >
     
  10. falko

    falko Super Moderator Howtoforge Staff

    There must have been another error before this. Please post it.
     

Share This Page