Hello everybody
I am getting the following in mu logs/error_log file upon starting the
beast:
[Fri Feb 6 09:29:12 2004] [error] (2)No such file or directory: Error while
opening the workers, jk will not work
[Fri Feb 6 09:29:13 2004] [error] (2)No such file or directory: Error while
opening the workers, jk will not work
[Fri Feb 6 09:29:13 2004] [notice] Apache/1.3.29 (Unix) mod_ssl/2.8.16
OpenSSL/0.9.7c configured -- resuming normal operations
[Fri Feb 6 09:29:13 2004] [info] Server built: Jan 30 2004 14:42:16
[Fri Feb 6 09:29:13 2004] [notice] Accept mutex: fcntl (Default: fcntl)
I am running
Solaris SPARC 8 Generic_108528-23
- without nscd!
- /etc/nsswitch.conf => hosts: files dns
- tomcat 4.1.29-LE-JDK14
- sun jdk 1.4.1_b01
Tomcat connector in server.xml
===========================
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8050" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="128"/>
netstat -a | grep LISTEN
*.22 *.* 0 0 24576 0 LISTEN
*.8050 *.* 0 0 24576 0 LISTEN
localhost.8049 *.* 0 0 24576 0 LISTEN
workers.properties
=============
workers.apache_log=/apps/hotspot/apache/logs/
workers.tomcat_home=/usr/local/jakarta-tomcat-4.1.29-LE-jdk14/
workers.java_home=/usr/j2se/
ps=/
worker.list=hotspot
worker.hotspot.port=8050
worker.hotspot.host=localhost
worker.hotspot.type=ajp13
I've read some references about apache and /.etc/.name_service_door and
found some references to this a truss I've run on apache
grep "Err#2 " /tmp/httpd.truss.093500
==========================
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
open64("/etc/.name_service_door", O_RDONLY) Err#2 ENOENT
open64("/etc/.name_service_door", O_RDONLY) Err#2 ENOENT
- This gives me an indication that this might be the issue, but I am not
using nscd on the host and i've renamed the /.etc/.name_service_door to
/etc/.name_service_door.hlso
When /.etc/.name_service_door exist the error_log shows:
[Fri Feb 6 09:41:56 2004] [error] (9)Bad file number: Error while opening
the workers, jk will not work
[Fri Feb 6 09:41:58 2004] [error] (2)No such file or directory: Error while
opening the workers, jk will not work
[Fri Feb 6 09:41:58 2004] [notice] Apache/1.3.29 (Unix) mod_ssl/2.8.16
OpenSSL/0.9.7c configured -- resuming normal operations
[Fri Feb 6 09:41:58 2004] [info] Server built: Jan 30 2004 14:42:16
[Fri Feb 6 09:41:58 2004] [notice] Accept mutex: fcntl (Default: fcntl)
Does anyone have an explanation and/or solution???
any help appriciated
>> Stay informed about: Apache 1.3.29+mod_jk on solaris: "jk will not work" -> ./e..