Problem to install Apache 2.4.2 in Ubuntu 12.04

Posted by Michael on Ask Ubuntu See other posts from Ask Ubuntu or by Michael
Published on 2012-07-27T08:11:24Z Indexed on 2012/10/05 9:49 UTC
Read the original article Hit count: 468

Filed under:
|

I followed these steps to install Apache 2.4.2 in Ubuntu 12.04, but it seems Apache is not installed, here's what I did (I followed the steps in this site http://www.discusswire.com/apache-2-4-installation-ubuntu/):

  • sudo apt-get install build-essential
  • sudo apt-get build-dep apache2
  • wget http://apache.mirrors.pair.com/httpd/httpd-2.4.2.tar.gz
  • tar -xzvf httpd-2.4.2.tar.gz && cd httpd-2.4.2
  • sudo ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http --with-mpm=prefork
  • sudo make
  • sudo make install

when I tried to start by issuing sudo /usr/local/apache2/bin/apachectl start at terminal, I got the following warning: "AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message" and when I typed top at terminal, the apache is not there. I also tried to go to http://localhost/ or 127.0.0.1 or even 127.0.1.1 it showed "Can't establish connection to server ..." message.

ps: I checked the error log and it showed

"[Fri Jul 27 15:49:00.703901 2012] [proxy_balancer:emerg] [pid 20781] AH01177: Failed to lookup provider 'shm' for 'slotmem': is mod_slotmem_shm loaded??

[Fri Jul 27 15:49:00.704083 2012] [:emerg] [pid 20781] AH00020: Configuration Failed, exiting"

What I'm missing?

Thanks

Michael

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about apache