Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th July 2006, 04:27
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default 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.

Last edited by asyadiqin; 29th July 2006 at 04:29.
Reply With Quote
Sponsored Links
  #2  
Old 30th July 2006, 14:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th July 2006, 20:58
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #4  
Old 31st July 2006, 09:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,609 Times in 4,420 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 5th August 2006, 03:06
exide exide is offline
Junior Member
 
Join Date: Aug 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

how do i fix this?
Reply With Quote
  #6  
Old 5th August 2006, 04:01
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

Exide, what is the problem that you have? Try post the error so that someone can help you.
Reply With Quote
  #7  
Old 5th August 2006, 13:07
rmarini rmarini is offline
Junior Member
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!
Reply With Quote
  #8  
Old 5th August 2006, 15:28
exide exide is offline
Junior Member
 
Join Date: Aug 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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]#

Last edited by exide; 5th August 2006 at 17:02.
Reply With Quote
  #9  
Old 5th August 2006, 22:05
rmarini rmarini is offline
Junior Member
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #10  
Old 6th August 2006, 14:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 17:05
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 12:31
The PHP binary coming with ISPConfig does not work properly on your system! lykos Installation/Configuration 3 1st April 2006 08:53
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! xinefnarg Installation/Configuration 2 28th March 2006 17:45
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! max Installation/Configuration 6 13th January 2006 23:07


All times are GMT +2. The time now is 05:57.


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