Problem whit instalation Centos 4.4

Discussion in 'Installation/Configuration' started by roghawas, May 11, 2007.

  1. roghawas

    roghawas New Member

    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!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

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

    roghawas New Member

    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!
     
  4. roghawas

    roghawas New Member

    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!
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

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

    Please post the exact errors that occured before in the compile output and not just the final error.
     
  6. roghawas

    roghawas New Member

    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
     

Share This Page