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)
-   -   Problem whit instalation Centos 4.4 (http://www.howtoforge.com/forums/showthread.php?t=12651)

roghawas 11th May 2007 21:59

Problem whit instalation Centos 4.4
 
Hi all.

i have a problem when want install ISPcofig on Centos 4.4, i installed apache 2.2.4 on /usr/loca/apache2/ whit php5 compiled an mysql 5< but this whit rpm of php.net.

my problem whit exacly is when run ./setup this show :

########## WEB SERVER ##########

which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no apache in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no apache2 in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
Checking for program httpd...
which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no httpd2 in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
ERROR: httpd not found!


my question is:

is possible install ISPCONFIG whit http and php was compiled.

mmm and sorry for my english (but i only know spanish)
if somebody can write on spanish will so cool.

Thanks!

till 11th May 2007 22:11

Please make a symlink from e.g. /usr/local/bin/apache2 to your apache binary and run the ISPConfig setup again.

roghawas 11th May 2007 23:39

thanks,,, but i dont can
 
Hi.. friend

look!

i was try but always continue whit the problem...

i try that:

/root/install_ispconfig
[root@sulanet install_ispconfig]# ln -s /usr/local/apache2/bin/apachectl /usr/sbin/apachectl


ll /usr/sbin/ >

lrwxrwxrwx 1 root root 32 May 11 16:35 apachectl -> /usr/local/apache2/bin/apachectl


how have do it..

thanks for your help!

roghawas 12th May 2007 00:10

again
 
i try whit that:

ln -s /usr/local/apache2/bin/apachectl /usr/local/bin/apache2

and run, but the script show the message:

./setup2: line 862: 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!

till 12th May 2007 10:38

You made a symlink for the apachectl binary and not the apache2 binary. Please remove this and craete a correct symlink. apachectl != apache.

Quote:

./setup2: line 862: 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!
Please post the exact errors that occured before in the compile output and not just the final error.

roghawas 12th May 2007 18:08

continue the problem
 
hi friend

here is the messages:

ext/mysql/.libs/php_mysql.o(.text+0x2335): In function `zif_mysql_create_db':
/root/install_ispconfig/compile_aps/php-5.2.1/ext/mysql/php_mysql.c:1164: undefined reference to `mysql_create_db'
ext/mysql/.libs/php_mysql.o(.text+0x2550): In function `zif_mysql_drop_db':
/root/install_ispconfig/compile_aps/php-5.2.1/ext/mysql/php_mysql.c:1203: undefined reference to `mysql_drop_db'
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 862: 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!

thanks


All times are GMT +2. The time now is 08:26.

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