ldap client fails to start under solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris ldap client fails to start under solaris 10
# 1  
Old 04-16-2009
ldap & autofs fail to start under solaris 10

I have an issue here with ldap client. It stoped and won't start.

What I have got:

sadm $ tail /var/adm/messages
Apr 16 09:17:24 hostname inetd[708]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:17:24 hostname inetd[13491]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:32:25 hostname inetd[708]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:32:25 hostname inetd[13837]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:47:26 hostname inetd[708]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:47:26 hostname inetd[14143]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:53:51 hostname sshd[16479]: [ID 800047 auth.error] error: ssh_msg_send: write
Apr 16 10:02:27 hostname inetd[708]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 10:02:27 hostname inetd[16723]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').

$ tail /var/ldap/cachemgr.log
Tue Feb 3 21:38:34.7540 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
Tue Feb 3 21:38:34.8201 sig_ok_to_exit(): parent exiting...
Wed Feb 4 12:37:02.4305 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
Wed Feb 4 12:37:02.5074 sig_ok_to_exit(): parent exiting...
Wed Feb 4 15:37:15.4309 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
Wed Feb 4 15:37:15.5212 sig_ok_to_exit(): parent exiting...
Wed Feb 4 21:36:07.9523 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
Wed Feb 4 21:36:08.0592 sig_ok_to_exit(): parent exiting...
Wed Apr 15 15:30:41.9257 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
Wed Apr 15 15:30:41.9887 sig_ok_to_exit(): parent exiting...

$ grep ldap /var/log/syslog
Apr 10 23:57:00 hostname sendmail[4774]: [ID 293258 mail.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 11 23:57:00 hostname sendmail[14266]: [ID 293258 mail.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 12 23:57:00 hostname sendmail[5571]: [ID 293258 mail.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 13 23:57:00 hostname sendmail[15040]: [ID 293258 mail.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 14 23:57:00 hostname sendmail[24505]: [ID 293258 mail.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 15 23:57:00 hostname sendmail[26818]: [ID 293258 mail.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:52:01 hostname sendmail[16448]: [ID 293258 mail.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
$

What I have done:

# cp /var/ldap/restore/ldap_client_* /var/ldap
# svcadm disable network/ldap/client
# svcadm enable network/ldap/client
# pkill -HUP ldap_cachemgr
# /usr/lib/ldap/ldap_cachemgr -K

No use. ldap_cachemgr is not started. We have used the same ldap_client for a long time without problem.

Any idea? Thank you in advance!

Last edited by aixlover; 04-16-2009 at 07:17 PM.. Reason: new issue occurred
# 2  
Old 04-16-2009
I suggest uninitialize ldap client with:
# ldapclient uninit
Then initialize again with:
# ldapclient init ...
where (...) is your LDAP configuration data.
# 3  
Old 04-16-2009
Thank you for the tip!

Here is what I got:

# ldapclient init /var/ldap/ldap_client_file
Invalid server (/var/ldap/ldap_client_file) in NS_LDAP_SERVERS
Failed to find defaultSearchBase for domain ourdomain.com

We have used the ldap_client_file for years. It should be fine.

---------------------------------------------------

The other problem is that autofs won't start either:

# svcs autofs
STATE STIME FMRI
disabled Apr_15 svc:/system/filesystem/autofs:default

# svcadm enable autofs

# svcs autofs
STATE STIME FMRI
disabled Apr_15 svc:/system/filesystem/autofs:default

# svcadm restart autofs

# svcs autofs
STATE STIME FMRI
disabled Apr_15 svc:/system/filesystem/autofs:default
# 4  
Old 04-16-2009
ldapclient init can't read file with configuration. You must provide all necessary parameters in command line. Read ldapclient(1M) – initialize LDAP client machine or output an LDAP client profile in LDIF format (man pages section 1M: System Administration Commands) - Sun Microsystems for more info and examples.

As for autofs, what output is giving this command:
# svcs -xv autofs
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies

2. Solaris

LDAP server and client configuration in Solaris 10

How do i install ldap server and client in solaris server how to configure ldap server and client please help me (1 Reply)
Discussion started by: ainstin
1 Replies

3. AIX

AIX 5.2 ldap client AD

I have been able to configure on an AIX 5.2 ldap.cfg so service starts correctly. but when I try to log on with a windows user after entering the password login hangs and get no response. I have set it up on Aix 5.3 with no problem but in Aix 5.2 I have not been able to log in. ldap.cfg... (1 Reply)
Discussion started by: laxtnog
1 Replies

4. Proxy Server

Configure native ldap client on Solaris 10

Hi guys. First, sorry for my english, I´m tried to write the best form but sure I´m not do it. I´m tried to configure the native ldap client on Solaris 10 but yet dosen't work. May be the problem is in the pam.conf or something like that. This is the line I was applied to configure the... (7 Replies)
Discussion started by: sultano
7 Replies

5. UNIX for Advanced & Expert Users

LDAP client issue

Hello, I'm new to Centos and to openldap. I am by trade a Solaris Admin. I'm experimenting with openldap and thought Linux would be easier to install and setup openldap on, so far this is true. The problem I'm having is that I can't get the client server to authenticate to the openldap server. I... (1 Reply)
Discussion started by: bitlord
1 Replies

6. Solaris

Can't get ldap cachemgr to start.

Hi, I had a Solaris 10 system running ldap perfectly with no problems. However, there was a power failure over the weekend, and now, ldap does not work. 1. svcadm enable svc:/network/ldap/client:default executes, but the service does not get enabled. # svcs -a |grep ldap disabled ... (7 Replies)
Discussion started by: krishani3831
7 Replies

7. Solaris

Empty LDAP client file

Hi All, I am getting one strange problem of empty LDAP_client_ file. There was one /var 100% overload issue few days back. After that we are observing this new issue. I got to know about similar issue SunSolve Bug ID 6495683 - “LDAP client files & cred files are deleted when /var is full”... (1 Reply)
Discussion started by: ailnilanjan
1 Replies

8. Solaris

LDAP client config.

Hi Gurus I am a novice in LDAP and need to configure an LDAP client(Solaris 10). The client has to bind to an AD for LDAP queries. I have created a user called testbind in AD for binding purpose. I am planning to configure LDAP client manually(as the requirement is as such). This is the... (16 Replies)
Discussion started by: Renjesh
16 Replies

9. UNIX for Advanced & Expert Users

XServer Fails to start

I've recently patched my AIX box from ML02 to ML06 and somehow along the way the monitor no longer starts up in GUI mode. Running the command xinit gives me the following errros ioctl Bad file Number 1356- Unable to start the X server I've checked the path variables, the monitor, the lai0... (0 Replies)
Discussion started by: mahartle
0 Replies

10. UNIX for Dummies Questions & Answers

AIX v5.3 LDAP CLIENT and AD

Has anyone successfully authenticated unix users via Active Directory using LDAP client on AIX v5.2 or v5.3?? ldapsearch from our unix box retrieves info from AD but having trouble authenticating unix id when I logon - get a msg ': 3004-318 Error obtaining the user's password information'. Not... (0 Replies)
Discussion started by: DANNYC
0 Replies
Login or Register to Ask a Question