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 27th March 2006, 21:16
xinefnarg xinefnarg is offline
Junior Member
 
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default ERROR: The PHP binary coming with ISPConfig does not work properly on your system!

Hi, i'm trying to install ISPConfig in an Ubuntu 5.10 installation on 32 bits intel arch, with all the current updates, and followed the howto, but the result is what I post below (it fails after making php's install or something around)

-----------------------------------------------------------------------
...
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

Installing PHP SAPI module: apache
[activating module `php5' in /root/ispconfig/httpd/conf/httpd.conf]
cp libs/libphp5.so /root/ispconfig/httpd/libexec/libphp5.so
chmod 755 /root/ispconfig/httpd/libexec/libphp5.so
cp /root/ispconfig/httpd/conf/httpd.conf /root/ispconfig/httpd/conf/httpd.conf.bak
cp /root/ispconfig/httpd/conf/httpd.conf.new /root/ispconfig/httpd/conf/httpd.conf
rm /root/ispconfig/httpd/conf/httpd.conf.new
Installing PHP CLI binary: /root/ispconfig/php/bin/
Installing PHP CLI man page: /root/ispconfig/php/man/man1/
Installing build environment: /root/ispconfig/php/lib/php/build/
Installing header files: /root/ispconfig/php/include/php/
Installing helper programs: /root/ispconfig/php/bin/
program: phpize
program: php-config
Installing man pages: /root/ispconfig/php/man/man1/
page: phpize.1
page: php-config.1
Installing PDO headers: /root/ispconfig/php/include/php/ext/pdo/
tar: /root/ispconfig/install_ispconfig/compile_aps/../binaries/aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ERROR: Could not create aps.tar.gz
./compile: line 86: cd: /root/ispconfig/install_ispconfig/compile_aps: No such file or directory
./setup2: line 755: cd: /root/ispconfig/install_ispconfig/compile_aps/../..: No such file or directory
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 777: 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!

-----------------------------------------------------------------------

After that, the directory where I unpacked the ispconfig tarball is gone (I copied the tarball in /root/ispconfig then /root/ispconfig is deleted with it's content)
I tried removing the commands that remove the directories in compile_aps/compile and found that the php binary that ispconfig's installation tries to use later on is symlinked to nowhere, and thus it fails in the line showed above.

I would appreciate any help.
Thanx!

Leo
Reply With Quote
Sponsored Links
  #2  
Old 27th March 2006, 22:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

There must be some errors in the output while php is compiled. Please post these errors here.

Quote:
After that, the directory where I unpacked the ispconfig tarball is gone (I copied the tarball in /root/ispconfig then /root/ispconfig is deleted with it's content)
I tried removing the commands that remove the directories in compile_aps/compile and found that the php binary that ispconfig's installation tries to use later on is symlinked to nowhere, and thus it fails in the line showed above.
The install_ispconfig direcorie must be deleted. If you run the setup twice without deleting the directory, it will fail!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th March 2006, 16:45
xinefnarg xinefnarg is offline
Junior Member
 
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Quote:
Originally Posted by till
There must be some errors in the output while php is compiled. Please post these errors here.
No errors while making, make finishes cleanly and after install also finishes cleanly those errors appear.

Quote:
Originally Posted by till
The install_ispconfig direcorie must be deleted. If you run the setup twice without deleting the directory, it will fail!
Yes, i did that, however i found what was happening.
I created a /root/ispconfig directory and copied the tarball there. Then, i unpacked the tarball (so a /root/ispconfig/install_ispconfig directory was created with the installation files inside) and then ran setup. However, ispconfig installation assumes a /root/ispconfig directory where to install everything, so the script failed as it didn't check if that directory already existed prior to installation.
I used a /root/ispc directory instead, and then everytning went fine and working ok!

Regards!
Leo
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
How can I get PHP to work after ISPConfig Install alvadore Installation/Configuration 22 30th March 2008 15:57
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31
The PHP binary coming with ISPConfig does not work properly on your system! lykos Installation/Configuration 3 1st April 2006 07:53
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! max Installation/Configuration 6 13th January 2006 22:07


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


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