Current position:  Home > Default > Parent could not create lock ???

Parent could not create lock ???

Time:December 10
Advertisement
Hi,
Please Im testing the Apache plug-in mod_wl_20.so from Weblogic9.1.<br>
<br>
I've followed the instructions very carefully but still can not run it with an Apache2 server.<br>
<br>
I have tried for about 10 hours! <br>
<br>
I allways hit on this error in my apache log, when it loads the weblogic module:<br>
<br>
[Tue Dec 27 03:12:10 2005] [crit] (2)No such file or directory: mod_weblogic: Parent could not create lock
Configuration Failed<br>
<br>
<br>
Now, I dont know what this means?<br>
<br>
<br>
Is it the LOCKFILE ?? as in:
# ./apachectl -V<br>
Server version: Apache/2.0.52<br>
Server built: Jan 8 2005 01:51:11<br>
Server's Module Magic Number: 20020903:9<br>
Architecture: 32-bit<br>
Server compiled with....<br>
-D APACHE_MPM_DIR="server/mpm/prefork"<br>
-D APR_HAS_SENDFILE<br>
-D APR_HAS_MMAP<br>
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<br>
-D APR_USE_FCNTL_SERIALIZE<br>
-D APR_USE_PTHREAD_SERIALIZE<br>
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<br>
-D APR_HAS_OTHER_CHILD<br>
-D AP_HAVE_RELIABLE_PIPED_LOGS<br>
-D HTTPD_ROOT="/usr/apache2"<br>
-D SUEXEC_BIN="/usr/apache2/bin/suexec"<br>
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"<br>
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<br>
<b> -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"</b><br>
-D DEFAULT_ERRORLOG="logs/error_log"<br>
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"<br>
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"<br>
<br>
Also my httpd.conf specify the:<br>
<b>LockFile /var/apache2/logs/accept.lock</b><br>
<br>
But in both cases, the directory exists and the user has write permission (Ive set the entire directory as 777 permission).<br>
<br>
I dont think it is the problem in it, but in weblogic_mod as it stops there. Everything run fine without the wls mod.
<br>
<br>
Please ADVICE.
<br>
Great thanks.<br>
Advertisement
<p>Hello,</p>
<p>Make that you remove any existing var/run/apache2/accept.lock file before restarting Apache.</p>
<p>If var/run/apache2/accept.lock is not created after you start Apache, then experiment with different locations for this file.</p>
<p>Make sure you do not give the location of an NFS share.</p>
<p>
Hussein Badakhchani</br>
</p>