The Perfect Server - CentOS 5.3 [ISPConfig 3] error

Discussion in 'HOWTO-Related Questions' started by etpoole60, Jun 15, 2009.

  1. etpoole60

    etpoole60 New Member

    I was going throught the steps and go to suPHP, in particular:

    cd /tmp
    wget http://suphp.org/download/suphp-0.7.1.tar.gz
    tar xvfz suphp-0.7.1.tar.gz
    cd suphp-0.7.1/
    ./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/sbin/apxs --with-apache-user=apache --with-setid-mode=owner --with-php=/usr/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log --enable-SUPHP_USE_USERGROUP=yes
    make
    make install


    However, when processing the .configure I received the following:

    checking for APR... yes
    checking for dynamic Apache module support (via APXS)... cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
    cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
    ./configure: line 20370: /: is a directory
    cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
    cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
    cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
    found at /usr/sbin/apxs (version )
    checking for set-UID/set-GID mode... ok - using owner
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/apache/Makefile
    config.status: creating src/apache2/Makefile
    config.status: creating src/config.h
    config.status: src/config.h is unchanged
    config.status: executing depfiles commands


    So I searched for the files in question and was returned the following:

    [root@jpdsys1 suphp-0.7.1]# cd $HOME
    [root@jpdsys1 ~]# find / -name apxs
    /usr/sbin/apxs
    [root@jpdsys1 ~]# find / -name config_vars.mk
    /usr/lib64/httpd/build/config_vars.mk
    /usr/lib/httpd/build/config_vars.mk

    So, it appears all of the required files are on the machine, but what needs to be done to correct this error?

    Gene
    :confused:
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you disable SELinux?
     
  3. etpoole60

    etpoole60 New Member

    Yes sir. I just entered:

    system-config-securitylevel

    And SELinux shows as disabled.

    Since this is a build I can re-do, I searched and found suphp in rpm form. I installed it and copied the module from the rpm's default location to the location your process was expecting and I was able to start HTTPD without error. But, I am sure that this will not work in the long run.

    Gene
     
  4. boatrsp

    boatrsp New Member

    Hi,

    Exactly the same problem here.
    I double-checked SELinux, and here too it's disabled.

    Robert
     
  5. boatrsp

    boatrsp New Member

Share This Page