Title: Linux Red Hat 7.2 + openSSL 0.9.7 + Apache 1.3.27 + mod_ssl 2.8.12 = PROBLEMS!!!

Hi,
everything is in the subject!
I installed everything following this procedure:

$ ./config --prefix=/home/aspco1/openSSL
$ make
$ make test
$ make install

#   extract the packages
$ gzip -d -c apache_1.3.27.tar.gz | tar xvf -
$ gzip -d -c mod_ssl-2.8.12-1.3.27.tar.gz | tar xvf -

#   apply mod_ssl to Apache source tree
$ cd /mod_ssl-2.8.12-1.3.27
$ ./configure --with-apache=../apache_1.3.27
$ cd ..

#   build/install Apache with mod_ssl
$ cd apache_1.3.27
$ SSL_BASE=/home/aspco1/openSSL
$ ./configure --prefix=/home/aspco1/apache_1.3.27 --enable-module=proxy --enable-module=ssl
$ make
$ make certificate TYPE=test
$ make install
$ cd ..
   
#   cleanup after work
$ rm -rf mod_ssl-2.8.12-1.3.27
$ rm -rf apache_1.3.27

Everything seems to be ok, but when I try to start the web server:

$ apachectl start
Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.22620") failed
Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory
/usr/sbin/apachectl start: httpd could not be started

Even bad with SSL:

$ apachectl startssl
usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)

start      - start httpd
stop       - stop httpd
restart    - restart httpd if running by sending a SIGHUP or start if
             not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status     - dump a short status screen; requires lynx and mod_status enabled
graceful   - do a graceful restart by sending a SIGUSR1 or start if not running
configtest - do a configuration syntax test
help       - this screen

(startssl is not recognized!!!), and finally:

$ httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c
suexec: enabled; valid wrapper /usr/sbin/suexec

Even if I compiled with --enable-module=proxy --enable-module=ssl options I can't see proxy and ssl modules in the list of compiled-in modules!!!

What's happening???

thanks
Sergio

Reply via email to