The PHP binary coming with ISPConfig does not work properly on your system!

Discussion in 'Installation/Configuration' started by DreamState, Oct 19, 2006.

  1. DreamState

    DreamState New Member

    Hello,

    I followed this excellent guide in order to setup a CentOS webserver for my school...

    http://www.howtoforge.com/perfect_setup_centos_4.4

    Everything went smoothly during the install and only two things didn't work - yum couldn't find ncftp and php-xml from the repos. I ignored this. I also did not do the zlib upgrade suggested in the final part after reading the comment from the CentOS-4 Lead Developer. In addition I installed Gnome (tut tut :) ). Everything worked ok. FTP and website, etc.

    I then followed the guide to install ISPconfig, which I think should install straight onto the CentOS system (from the guide) and the install seemed to be going very smoothly. I answered all the initial questions, then the SSL questions. Apache went on ok and then I hit problems which I do not understand - sadly I am no expert at Linux (yet).

    The first part of the log below is fine - I can re-run the config using the --disable-zlib-vcheck. However, I don't understand what the errors are that occur after this - do they all just occur due to the zlib error?

    When I followed the CentOS guide it didn't install ClamAV to my knowledge but I assume that might be part of the install routine for ISPconfig? Anyway, any thoughts would be appreciated. I'm looking forward to getting this up and running.

    Thanks for your time.

    The log........

    checking for zlib installation... /usr
    configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!
    ERROR: Could not configure ClamAV
    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 849: 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!
     
  2. DreamState

    DreamState New Member

  3. till

    till Super Moderator

  4. DreamState

    DreamState New Member

    till

    Is it neccessary to do the update of zlib?

    In the guide there is a comment from a CentOS developer that seems to advise against doing the zlib update as the security issues are indeed fixed.

    I am not sure on this. I can run ISPconfig and make it ignore the zlib update anyway. What are your thoughts?

    Also, I found this post about the problems...

    http://www.howtoforge.com/forums/showthread.php?t=1677

    But under package management I seem to have the mysql devel packages installed.

    :confused:
     
  5. till

    till Super Moderator

    The zlib update is the way we recommend to fix this. Thats why I added it to the howto and many poeple are using it like this without problems.

    You can try to add the --disable-zlib-vcheck in the script install_ispconfig/compile_apps/compile before you run the setup if you dont want to update your zlib.
     
  6. DreamState

    DreamState New Member

    I will do the zlib update as you have suggested to hopefully resolve the initial error.

    As far as the remaining 'The PHP binary coming with ISPConfig does not work properly on your system!' error is concerned, I have followed the other post and found that I did not have 'mysqlclient10-devel' and 'mysql-bench' installed. Perhaps these are causing the issues?

    I will make the adjustments, re-run the setup and let you know.

    Thanks for your help Till.
     
  7. till

    till Super Moderator

    The second error will be resolved too when you install the zlib.
     
  8. DreamState

    DreamState New Member

    Excellent,

    Just about to do the upgrade now.

    Fingers crossed :D
     
  9. DreamState

    DreamState New Member

    I completed the updates as you suggested and ISPconfig has installed without further problems.

    Thanks for the guide and advice!
     
  10. greenlanternjls

    greenlanternjls New Member

    Similar Problem

    I am having a similar problem on my ubuntu 6.06 server install. I followed the how to for setting dapper drake and everything is fine, until I try to instal ISPConfig. Here are the error messages I get:


    tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o x86cpuid-elf.o
    ar: creating ../libcrypto.a
    /usr/bin/ranlib ../libcrypto.a || echo Never mind.
    making all in crypto/objects...
    make[2]: Entering directory

    `/home/admin/install_ispconfig/compile_aps/openssl-0.9.8d/crypto/objects'
    gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN

    -DHAVE_DLFCN_H -mcpu=k6 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall

    -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM

    -DAES_ASM -c -o o_names.o o_names.c
    `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
    o_names.c: In function âobj_name_cmpâ:
    o_names.c:130: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    For Debian GNU/Linux specific bug reporting instructions,
    see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
    make[2]: *** [o_names.o] Error 1
    make[2]: Leaving directory

    `/home/admin/install_ispconfig/compile_aps/openssl-0.9.8d/crypto/objects'
    make[1]: *** [subdirs] Error 1
    make[1]: Leaving directory

    `/home/admin/install_ispconfig/compile_aps/openssl-0.9.8d/crypto'
    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
    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 849: 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!




    Anybody have any clue as to how I can get ISPConfig to install?
     
  11. till

    till Super Moderator

    This looks like a hardware problem. Please check your system with mamcheck. Memcheck can be started in the boot menu when you boot from your ubuntu installation CD.
     
  12. greenlanternjls

    greenlanternjls New Member

    Memtest returned no errors

    Ok ran memtest and I have no errors. I ran it for 12 hours like most people suggest. Any other suggestions? I'm sure I could manage my server without ispconfig, but I'd rather not.

    Any other speculations would be greatly appreciated.
     
  13. till

    till Super Moderator

    The problem is, not ISPConfig fails, it is the compilation of OpenSSL that fails on your server with a segfault. In the other cases that we had this problem it was always hardware relatest *confused*
     
  14. falko

    falko Super Moderator

    Make sure there is enough space on your hard disk. What's the output of
    Code:
    df -h
    ?
     
  15. greenlanternjls

    greenlanternjls New Member

    Here's my output

    admin@ftp:~$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda1 37G 11G 25G 30% /
    varrun 185M 92K 185M 1% /var/run
    varlock 185M 4.0K 185M 1% /var/lock
    udev 185M 56K 185M 1% /dev
    devshm 185M 0 185M 0% /dev/shm
    lrm 185M 19M 167M 10% /lib/modules/2.6.15-26-386/volatile
    admin@ftp:~$
     
  16. greenlanternjls

    greenlanternjls New Member

    Fixed it

    Thanks for the help, but I found the problem. I had a k6-III processor and switched it out for a pentium and everything runs fine. Thanks again
     

Share This Page