[Samba] OpenLdap and Apache Questions
Jerry Tian
tianjerry at hotmail.com
Fri Mar 12 14:48:19 GMT 2004
Hello, Darren:
I read your post on the newsgroup:
<http://lists.samba.org/archive/samba/2003-September/073808.html>
I read your post when I was having trouble configuring my apache server to
work with ldap. After reading your post, I installed the openldap library on
my solaris 8 machine. I have a question, when you install the library, and
configure the apache server with the following option after you install the
openldap library:
./configure --prefix=/usr/local/apache --enable-modules="so cgi headers
expires usertrack rewrite" --with-port=80 --with-ldap --enable-ldap
--enable-auth-ldap LDFLAGS=-L/usr/local/lib
Whenever you do an authentication on apache, does apache query openldap
install on your machine? The reason is that I have iplanet installed as my
ldap, and I need those queries to be made to my iplanet ldap server rather
than openldap(which I need for only the ldap library).
When I restart my apache server, here is what I find:
[Fri Mar 12 02:16:21 2004] [notice] Graceful restart requested, doing
restart
[Fri Mar 12 02:16:21 2004] [warn] (128)Network is unreachable: connect to
listener
[Fri Mar 12 02:16:21 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Fri Mar 12 02:16:21 2004] [notice] LDAP: SSL support unavailable
[Fri Mar 12 02:16:21 2004] [notice] Apache/2.0.47 (Unix) mod_jk2/2.0.2
configured -- resuming normal operations
[Fri Mar 12 02:16:21 2004] [info] Server built: Mar 11 2004 16:11:52
[Fri Mar 12 02:16:21 2004] [debug] prefork.c(1037): AcceptMutex: pthread
(default: pthread)
[Fri Mar 12 02:16:22 2004] [debug] util_ldap.c(1104): [1423] ldap cache
init: Error 0
[Fri Mar 12 02:16:22 2004] [error] jk2_init() Can't find child 1423 in
scoreboard
[Fri Mar 12 02:16:22 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:16:22 2004] [debug] util_ldap.c(1104): [1424] ldap cache
init: Error 0
[Fri Mar 12 02:16:22 2004] [error] jk2_init() Can't find child 1424 in
scoreboard
[Fri Mar 12 02:16:22 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:16:22 2004] [debug] util_ldap.c(1104): [1425] ldap cache
init: Error 0
[Fri Mar 12 02:16:22 2004] [error] jk2_init() Can't find child 1425 in
scoreboard
[Fri Mar 12 02:16:22 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:16:22 2004] [debug] util_ldap.c(1104): [1426] ldap cache
init: Error 0
[Fri Mar 12 02:16:22 2004] [error] jk2_init() Can't find child 1426 in
scoreboard
[Fri Mar 12 02:16:22 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:16:22 2004] [debug] util_ldap.c(1104): [1427] ldap cache
init: Error 0
[Fri Mar 12 02:16:22 2004] [error] jk2_init() Can't find child 1427 in
scoreboard
[Fri Mar 12 02:16:22 2004] [error] mod_jk child init 1 -2
Notice
util_ldap.c(1104): [1423] ldap cache init: Error 0
I have a running server, and whenever I do a graceful shutdown, I get this:
[Fri Mar 12 02:29:39 2004] [notice] Graceful restart requested, doing
restart
[Fri Mar 12 02:29:39 2004] [warn] (128)Network is unreachable: connect to
listener
[Fri Mar 12 02:29:39 2004] [error] shm.init(): No file
[Fri Mar 12 02:29:39 2004] [notice] Apache/2.0.44 (Unix) mod_jk2/2.0.2
configured -- resuming normal operations
[Fri Mar 12 02:29:39 2004] [info] Server built: Apr 30 2003 17:02:36
[Fri Mar 12 02:29:39 2004] [debug] prefork.c(1039): AcceptMutex: pthread
(default: pthread)
[Fri Mar 12 02:29:40 2004] [debug] util_ldap.c(1066): (17)File exists:
[20079] ldap cache init: File exists
[Fri Mar 12 02:29:40 2004] [error] jk2_init() Can't find child 20079 in
scoreboard
[Fri Mar 12 02:29:40 2004] [error] shm.init(): No file
[Fri Mar 12 02:29:40 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:29:40 2004] [debug] util_ldap.c(1066): (17)File exists:
[20080] ldap cache init: File exists
[Fri Mar 12 02:29:40 2004] [error] jk2_init() Can't find child 20080 in
scoreboard
[Fri Mar 12 02:29:40 2004] [error] shm.init(): No file
[Fri Mar 12 02:29:40 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:29:40 2004] [debug] util_ldap.c(1066): (17)File exists:
[20081] ldap cache init: File exists
[Fri Mar 12 02:29:40 2004] [error] jk2_init() Can't find child 20081 in
scoreboard
[Fri Mar 12 02:29:40 2004] [error] shm.init(): No file
[Fri Mar 12 02:29:40 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:29:40 2004] [debug] util_ldap.c(1066): (17)File exists:
[20082] ldap cache init: File exists
[Fri Mar 12 02:29:40 2004] [error] jk2_init() Can't find child 20082 in
scoreboard
[Fri Mar 12 02:29:40 2004] [error] shm.init(): No file
[Fri Mar 12 02:29:40 2004] [error] mod_jk child init 1 -2
[Fri Mar 12 02:29:40 2004] [debug] util_ldap.c(1066): (17)File exists:
[20083] ldap cache init: File exists
[Fri Mar 12 02:29:40 2004] [error] jk2_init() Can't find child 20083 in
scoreboard
[Fri Mar 12 02:29:40 2004] [error] shm.init(): No file
[Fri Mar 12 02:29:40 2004] [error] mod_jk child init 1 -2
Notice that, here we have this:
File exists: [20080] ldap cache init: File exists
The old server was configured with iplanet successfully before by someone
whom I don't know.
I hope I have stated my questions here clearly.
Thank you very much for your help
Jerry Tian
2A Software Engineering
Unniversity of Waterloo
_________________________________________________________________
Free yourself from those irritating pop-up ads with MSn Premium. Get 2months
FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
More information about the samba
mailing list