Error while starting apache web server
I am facing some problem while starting apache web server
On executing command “./apachectl start” its giving me the following error:
Ouch! ap_mm_create(1048576, "/uat3/cashproplus/soft/apache3.1.19/logs/httpd.mm.1916") failed
Error: MM: mm:core: failed to open semaphore file (No such file or directory): OS: No such file or directory
./apachectl start: httpd could not be started
I searched on net where I found that
The apache binary is hardcoded with the directory in which to create an
httpd.mm semaphore file. The default path is only writable by
the root user. There is no httpd.conf configuration directive to change
the semaphore directory, because this path must be set before the apache
conf file is read.
Running ./httpd –V command resulted in following:
ca4sdcpr03:/opt/apps/vasco/apache3.1.19/bin# ./httpd -V
Server version: Apache/1.3.19 (Unix)
Server built: Jul 31 2002 10:35:27
Server's Module Magic Number: 19990320:10
Server compiled with....
Here, I need to change HTTPD_ROOT and SUEXEC_BIN path which are right now referring to the old path. These variable haven’t been specified in any configuration file. I tried changing it using command
./httpd -d /opt/apps/vasco/apache3.1.19 (new path) but it is not getting reflected.
Any help would be greatly appreciated.