HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   ERROR: The PHP binary coming with ISPConfig does not work properly on your system! (http://www.howtoforge.com/forums/showthread.php?t=5880)

asyadiqin 29th July 2006 04:27

ERROR: The PHP binary coming with ISPConfig does not work properly on your system!
 
I received the following error while installing ISPConfig.

Code:

/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x57): In function `my_compress_alloc':
: undefined reference to `compress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x143): In function `my_uncompress':
: undefined reference to `uncompress'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
ERROR: Could not make 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 816: 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!

What went wrong? Anyone help is appreciated.

FYI, I am installing ISPConfig on a freshly installed CentOS 4.3.

falko 30th July 2006 14:30

Did you follow this tutorial? http://www.howtoforge.com/perfect_setup_centos_4.3

There must have been other error messages before the ones you posted. Please post them, too.

asyadiqin 30th July 2006 20:58

I've managed to sort it out. FYI, I did follow the tutorial.

However, instead of using the installed MySQL, ie. ver. 4.XX, I installed MySQL server and MySQL-Max 5.0.22, as well as a newer version of PHP. The errors that I posted was apparently due to some missing header, though I did not know whether its MySQL or PHP.

Once I managed to start Apache2 without any errors, and able to view MySQL info in phpinfo page, the ISPConfig installation works like clockwork without any errors.

Currently, I am trying to find out how or where ISPConfig keep the templates for creating the VirtualHost for vhost_ispconfig.conf, as I need to modify it to add some cronolog and awstats, as well as skel for domains added using ISPConfig.

Any ideas? BTW, thanks for replying to my post.

Regards,

A. Syadiqin

till 31st July 2006 09:48

Quote:

Originally Posted by asyadiqin
Currently, I am trying to find out how or where ISPConfig keep the templates for creating the VirtualHost for vhost_ispconfig.conf, as I need to modify it to add some cronolog and awstats, as well as skel for domains added using ISPConfig.

ISPConfig uses already cronolog to write the logfiles and split them for every website nightly. Cronolog in the vhosts makes your system scale very badly.

The vohost file is written by the script /root/ispconfig/scripts/lib/config.lib.php, the function is named make_vhost

exide 5th August 2006 03:06

I have the same problem. I'm running fedoracore 5 and i installed it with the tutorial.

how do i fix this?

asyadiqin 5th August 2006 04:01

Exide, what is the problem that you have? Try post the error so that someone can help you.

rmarini 5th August 2006 13:07

In relation to this, I have encountered the same error during my installation.
Code:

make[1]: Leaving directory `/home/rmarini/install_ispconfig/compile_aps/zip-2.3'
cc -c -O -I.  unzip.c
cc -c -O -I.  crc32.c
cc -c -O -I.  crctab.c
cc -c -O -I.  crypt.c
cc -c -O -I.  envargs.c
cc -c -O -I.  explode.c
cc -c -O -I.  extract.c
cc -c -O -I.  fileio.c
cc -c -O -I.  globals.c
cc -c -O -I.  inflate.c
cc -c -O -I.  list.c
cc -c -O -I.  match.c
cc -c -O -I.  process.c
cc -c -O -I.  ttyio.c
cc -c -O -I.  unreduce.c
cc -c -O -I.  unshrink.c
cc -c -O -I.  zipinfo.c
cc -c -O -I.  unix/unix.c
cc -o unzip unzip.o crc32.o crctab.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o unreduce.o unshrink.o zipinfo.o unix.o -s
cc -c -O -I.  funzip.c
ln crypt.c cryptf.c
cc -c -O -I.  -DFUNZIP cryptf.c
rm -f cryptf.c
ln globals.c globalsf.c
cc -c -O -I.  -DFUNZIP globalsf.c
rm -f globalsf.c
ln inflate.c inflatef.c
cc -c -O -I.  -DFUNZIP inflatef.c
rm -f inflatef.c
ln ttyio.c ttyiof.c
cc -c -O -I.  -DFUNZIP ttyiof.c
rm -f ttyiof.c
cc -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o -s
ln unzip.c unzipsfx.c
cc -c -O -I.  -DSFX unzipsfx.c
rm -f unzipsfx.c
ln crctab.c crctab_.c
cc -c -O -I.  -DSFX crctab_.c
rm -f crctab_.c
ln crypt.c crypt_.c
cc -c -O -I.  -DSFX crypt_.c
rm -f crypt_.c
ln extract.c extract_.c
cc -c -O -I.  -DSFX extract_.c
rm -f extract_.c
ln fileio.c fileio_.c
cc -c -O -I.  -DSFX fileio_.c
rm -f fileio_.c
ln globals.c globals_.c
cc -c -O -I.  -DSFX globals_.c
rm -f globals_.c
ln inflate.c inflate_.c
cc -c -O -I.  -DSFX inflate_.c
rm -f inflate_.c
ln match.c match_.c
cc -c -O -I.  -DSFX match_.c
rm -f match_.c
ln process.c process_.c
cc -c -O -I.  -DSFX process_.c
rm -f process_.c
ln ttyio.c ttyio_.c
cc -c -O -I.  -DSFX ttyio_.c
rm -f ttyio_.c
ln unix/unix.c unix_.c
cc -c -O -I.  -DSFX unix_.c
rm -f unix_.c
cc -o unzipsfx unzipsfx.o crc32.o crctab_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o unix_.o -s
./setup2: line 816: 23463 Segmentation fault      ispconfig_tmp/php/bin/php -n -q check.php
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!


exide 5th August 2006 15:28

Quote:

Originally Posted by asyadiqin
Exide, what is the problem that you have? Try post the error so that someone can help you.

Code:

creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... re2c
checking for re2c version... 0.10.3 (ok)
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none).
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 3246: lex: command not found
configure: error: cannot find output from lex; giving up
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 816: 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@server2 install_ispconfig]#


rmarini 5th August 2006 22:05

I have uploaded a complete log of my ispconfig install process and any errors that it may have generated as a consequence to

http://www.starbase98.com/ispconfiglog.txt

Any assistance in figuring out what is going on would be very much appreciated. I followed the how-to for the perfect set up quite closely, the only package that caused a problem for me was php4-imap which seems to have a broken dependancy - I don't think that could be the cause of this, however.

falko 6th August 2006 14:25

Quote:

Originally Posted by exide
Code:

checking lex output file root... ./configure: line 3246: lex: command not found
configure: error: cannot find output from lex; giving up


Flex is missing on your system. I guess you didn't make the correct package selection when you followed the tutorial. Install it like this:
Code:

yum install flex


All times are GMT +2. The time now is 06:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.