Author Topic: Installation FAILED at httpd  (Read 10131 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Installation FAILED at httpd
« on: June 22, 2015, 07:11:52 PM »

PREPARING THE SERVER
##########################
setenforce: SELinux is disabled

#############################################
Please wait... installing web server files...
#############################################

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.5.1
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/apache-build/apr-1.5.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.3
checking for chosen layout... apr-util
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/apache-build/apr-util-1.5.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
rm: cannot remove `/usr/local/apache/conf/httpd.conf': No such file or directory
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
/usr/local/src/apache-2.2.27.sh: line 54: /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 55: /usr/local/apache/conf/httpd.conf: No such file or directory
mkdir: cannot create directory `/usr/local/apache/conf.d': File exists
/usr/local/src/apache-2.2.27.sh: line 58: /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 62: /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 69: /usr/local/apache/conf/sharedip.conf: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 157: cd: /usr/local/apache/bin/: No such file or directory

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
113   792  113   792    0     0   7693      0 --:--:-- --:--:-- --:--:-- 14400
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Array
(
    [operation] => upload
)

Offline
*
Re: Installation FAILED at httpd
« Reply #1 on: June 28, 2015, 08:59:46 PM »
yum clean all
yum -y update
rebot
yum -y install wget
hostname YOURHOSTNAME
yum install kernel-headers --disableexcludes=all
yum install gcc


cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest