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=1677)

qvindesland 14th December 2005 11:55

ERROR: The PHP binary coming with ISPConfig does not work properly on your system!
 
Hello All,

I am a newbie in regards to ISPConfig, I am trying to install ISPConfig on my suse 9.3 box but when I am trying to run the installation it comes up with the following error: ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

Things is starting to go sour from this point:
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 771: 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!


Any suggestions to what I need to do to finish off the install?

Regards
Pers

till 14th December 2005 12:00

The mysql header files are missing on your server. Install the mysql devel packages of your linux distribution. Remove the failed mysql installation as described in the installation manual and unpack and run the installer again.

qvindesland 14th December 2005 12:04

Wow That was a quick reply cheers will try. :)

Acadien 8th January 2006 17:21

zlib update
 
Myself I also had to upgrade zlib

cd /tmp
wget http://www.zlib.net/zlib-1.2.3.tar.gz
tar zxvf zlib-1.2.3.tar.gz
cd zlib-1.2.3
nano README
make test
make install
cd /whereever you put ISPconfig.tar
tar xvfz ISPConfig-2.1.2.tar.gz
cd install .... etc
this worked for me on centos

Duplex 13th January 2006 22:44

yup looks like the same here...
 
I had to update zlib as well for debian.

Once I got that going it seems to have falled in place install's still going I'll post any further issues I have thanx lol...

Edit: Actually when it gets done it's still hanging on the php that came with the ISPConfig install is not compatible with your system. Will post the error here once I get it again. Running through the setup at 10:37am Mountain Time...

Note: Small keyboard and program that cancel's install upon typo's sucks...

geek.de.nz 25th March 2006 05:21

I have a similar problem, but my output is different.

I am running Debian 3.1 (Sarge) and installed the following before I started ./setup:
zlib1g-dev
libmysqlclient15-dev

Is the last package not the one I need? I couldn't find mysql-dev with:
#apt-cache search mysql lib|grep mysql
or
#apt-cache search mysql deb|grep mysql

All I found was:
########### output of #apt-cache search mysql deb|grep mysql
libgnademysql1 - MySQL specific runtime library for GNADE
libhk-classes-mysql - MySQL driver plugin for libhk-classes
libmysql-java - Java database (JDBC) driver for MySQL
libmysql-ocaml-dev - OCaml bindings for MySql
libmysqlclient10-dev - LGPL-licensed client development files for MySQL databases
libmysqlclient12-dev - mysql database development files
linesrv-mysql - A server to remotely control the internet connection
nagios-mysql - A host/service/network monitoring and management system
php3-cgi-mysql - Mysql module for PHP3 (use with php3-cgi)
php3-mysql - Mysql module for PHP3 (use with php3)
libmysqlclient14-dev - mysql database development files
php4-mysql - MySQL module for php4
libmysqlclient15-dev - mysql database development files
########### end output of #apt-cache search mysql deb|grep mysql

########## Output of #./setup:
cc1: out of memory allocating 36175296 bytes after a total of 2732032 bytes
make: *** [ext/date/lib/parse_date.lo] Error 1
ERROR: Could not make 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `spamassassin': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `uudeview': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `clamav': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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 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
########## end Output of #./setup:

Is it maybe something to do with
cc1: out of memory allocating 36175296 bytes after a total of 2732032 bytes
?

Is there a memory problem? But the server should have enough memory????

Please help, I've been trying to install ISPConfig for a while now. Cheers.

geek.de.nz 25th March 2006 05:43

The problem might be with my kernel, but unfortunately I cannot recompile the kernel, because it's a vserver.

Output of
Code:

uname -a
Code:

Linux 2.6.8-022stab070.1-enterprise #1 SMP Mon Feb 20 18:19:00 MSK 2006 i686 GNU/Linux
Is there another solution to this maybe?

till 25th March 2006 11:07

Your problem is that you do not have enough RAM and / or SWAP memory to compile PHP:

Quote:

cc1: out of memory allocating 36175296 bytes after a total of 2732032 bytes
I dont know if it is possible in your virtual machine to create a swap device?

seraph 12th August 2006 00:18

http://howtos.linux.com/guides/sag/x1762.shtml

^^that might be of interest, I'm trying it now as I'm running into the same problem :/

seraph 12th August 2006 00:31

scratch that, didn't seem to work.


All times are GMT +2. The time now is 20:22.

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