Apache 1.3.29+mod_jk on solaris: "jk will not work" -> ./etc/.name_service_door issue?!?!

This is a discussion on Apache 1.3.29+mod_jk on solaris: "jk will not work" -> ./etc/.name_service_door issue?!?! within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello everybody I am getting the following in mu logs/error_log file upon starting the beast: [Fri Feb 6 09:...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-06-2004
HLS
 
Posts: n/a
Default Apache 1.3.29+mod_jk on solaris: "jk will not work" -> ./etc/.name_service_door issue?!?!

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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0