DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34423>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34423 Summary: Permissions for jk_log_lock not being set correctly for APR_USE_FLOCK_SERIALIZE Product: Tomcat 5 Version: Unknown Platform: PC OS/Version: FreeBSD Status: NEW Severity: normal Priority: P2 Component: Native:JK AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I was trying out mod_jk 1.2.10 with Apache 2.0.53 on FreeBSD when I noticed these errors messages in the log: ... [Tue Apr 12 03:18:00 2005] [crit] (13)Permission denied: mod_jk: could not init JK log lock in child [Tue Apr 12 03:18:00 2005] [crit] (13)Permission denied: mod_jk: could not init JK log lock in child [Tue Apr 12 03:18:00 2005] [crit] (13)Permission denied: mod_jk: could not init JK log lock in child ... Upon further examination, it appeared to be caused by wrong permissions on the lock. (It remained owned by, and only readable/writable by root.) It seems unixd_set_global_mutex_perms() was not being called when APR_USE_FLOCK_SERIALIZE was set (as it is on FreeBSD). The fix is fairly simple: change the conditional tests for APR_USE_SYSVSEM_SERIALIZE to also include APR_USE_FLOCK_SERIALIZE, i.e. from #if APR_USE_SYSVSEM_SERIALIZE to #if APR_USE_SYSVSEM_SERIALIZE || APR_USE_FLOCK_SERIALIZE Output of httpd -V: Server version: Apache/2.0.53 Server built: Feb 16 2005 13:42:04 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache2/mime.types" -D SERVER_CONFIG_FILE="etc/apache2/httpd.conf" -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]