Solaris 10 svcs failures


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 svcs failures
# 8  
Old 05-01-2013
I tried to clear and restart the multi-user service. However,after about 3 minutes, it went back to maintenance mode. This is what I saw in the log:

Code:
[ Apr 30 13:00:09 Leaving maintenance because clear requested. ]
[ Apr 30 13:00:09 Enabled. ]
[ Apr 30 13:00:09 Executing start method ("/sbin/rc2 start") ]
lsvcrun: Service matching "/etc/rc2.d/S10lu" seems to be running.
Executing legacy init script "/etc/rc2.d/S10lu" despite previous errors.
Legacy init script "/etc/rc2.d/S10lu" exited with return code 0.
lsvcrun: Service matching "/etc/rc2.d/S20sysetup" seems to be running.
Executing legacy init script "/etc/rc2.d/S20sysetup" despite previous errors.
Legacy init script "/etc/rc2.d/S20sysetup" exited with return code 0.
lsvcrun: Service matching "/etc/rc2.d/S40llc2" seems to be running.
Executing legacy init script "/etc/rc2.d/S40llc2" despite previous errors.
Legacy init script "/etc/rc2.d/S40llc2" exited with return code 0.
lsvcrun: Service matching "/etc/rc2.d/S42ncakmod" seems to be running.
Executing legacy init script "/etc/rc2.d/S42ncakmod" despite previous errors.
Legacy init script "/etc/rc2.d/S42ncakmod" exited with return code 0.
lsvcrun: Service matching "/etc/rc2.d/S47pppd" seems to be running.
Executing legacy init script "/etc/rc2.d/S47pppd" despite previous errors.
Legacy init script "/etc/rc2.d/S47pppd" exited with return code 0.
lsvcrun: Service matching "/etc/rc2.d/S70uucp" seems to be running.
Executing legacy init script "/etc/rc2.d/S70uucp" despite previous errors.
Legacy init script "/etc/rc2.d/S70uucp" exited with return code 0.
lsvcrun: Service matching "/etc/rc2.d/S72autoinstall" seems to be running.
Executing legacy init script "/etc/rc2.d/S72autoinstall" despite previous errors.
Legacy init script "/etc/rc2.d/S72autoinstall" exited with return code 0.
lsvcrun: Service "/etc/rc2.d/S72directory" has an invalid property group.
Executing legacy init script "/etc/rc2.d/S72directory" despite previous errors.
/usr/iplanet/ds5/slapd-Turquoise/start-slapd
[ Apr 30 13:30:12 Method or service exit timed out.  Killing contract 111 ]

This is what is in the log file for svc:/network/ldap/client:default
Code:
[ Apr 30 13:00:03 Leaving maintenance because clear requested. ]
[ Apr 30 13:00:03 Enabled. ]
[ Apr 30 13:00:03 Executing start method ("/usr/lib/ldap/ldap_cachemgr") ]
[ Apr 30 13:02:03 Method or service exit timed out.  Killing contract 110 ]
[ Apr 30 13:02:03 Method "start" failed due to signal KILL ]

I am still at a loss (:
# 9  
Old 05-01-2013
The problem should be here:
Code:
lsvcrun: Service "/etc/rc2.d/S72directory" has an invalid property group.
Executing legacy init script "/etc/rc2.d/S72directory" despite previous errors.
/usr/iplanet/ds5/slapd-Turquoise/start-slapd
[ Apr 30 13:30:12 Method or service exit timed out.  Killing contract 111 ]

Investigate this service...
This User Gave Thanks to DukeNuke2 For This Post:
# 10  
Old 05-01-2013
Is your machine its own ldap client ? ( cat /var/ldap/ldap_client_file )
This User Gave Thanks to jlliagre For This Post:
# 11  
Old 05-01-2013
Yes, my machine is its own ldap client. Is that a problem?
# 12  
Old 05-01-2013
I can think of a deadlock when it needs to query ldap in order to start ldap service.
Have all needed information in /etc files, and files before ldap in nsswitch.conf!
This User Gave Thanks to MadeInGermany For This Post:
# 13  
Old 05-01-2013
Thank you so much to NukeDuke2 and MadeinGermany. Your suggestions helped me fix the problem.

So, here are the steps that I took:
· I went in and renamed /etc/rc2.d/S72directory to /etc/rc2.d/s72directory so that it did not get started in multi-user mode.
· Cleared and restarted the multi-user service.
· This got the multi-user service and all its dependent services that were offline before, back online. Did the same for dmi service and the ipp-listener service.
· Now, only the ldap/client service was in maintenance.
· Then looked at /etc/nsswitch.conf file and noticed that there were several entries that had ldap before files. Renamed /etc/nsswitch.conf to /etc/nsswitch.conf.old and changed all the entries so that it looked at the local files before it looked at ldap.
· I started the directory service and it started.
· Cleared and restarted the ldap/client service

Thanks again. I really appreciate your help.

Last edited by DukeNuke2; 05-01-2013 at 05:13 PM..
# 14  
Old 05-01-2013
Quote:
Originally Posted by krishani3831
Yes, my machine is its own ldap client. Is that a problem?
That's a big problem. This configuration is not supported and leads to the issue you are experiencing.

From Chapter*8 Introduction to LDAP Naming Services (Overview/Reference) (System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP))
A directory server (an LDAP server) cannot be its own client. That is, you cannot configure the machine that is running the directory server software to become an LDAP naming services client.

The reason why is Solaris starts the client services first, then the server ones. Assuming you have more than one directory server master, you should at least point your ldap client configuration to the remote machine (and reciprocally).

That would allow a clean reboot but won't be enough though if both LDAP servers are rebooted at the same time.

It is not guarantee your current configuration, i.e. with ldap after files in nsswitch.conf, won't hang again at next reboot.
This User Gave Thanks to jlliagre For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Pkgadd failures with Solaris 11

I have some simple package installations that have worked in previous versions of Solaris just fine. I can install the packages, then install newer versions right over the top without error. In previous versions I had to specify the -G option during the installation in order for this to work. ... (0 Replies)
Discussion started by: moondog25
0 Replies

2. Solaris

Svcs: failed to iterate over instances: server has insufficient resources

Hi community, one of my zone is having issue and while i issue svs -a, i am getting below error "svcs: failed to iterate over instances: server has insufficient resources" none on the services are working including ssh/telnet. please help me to fix this issue thanks & Regards,... (1 Reply)
Discussion started by: bentech4u
1 Replies

3. Shell Programming and Scripting

Check & use output of svcs command

Hello Dear Friends, I need to check output of svcs command and so the status of some instances. -bash-3.00$ svcs -a | grep rfe online Aug_04 svc:/application/rfe/rfe_master_3:default online Aug_04 svc:/application/rfe/rfe_master_4:default as you can see there are two... (1 Reply)
Discussion started by: EAGL€
1 Replies

4. Solaris

PostgreSQL - Adding to SVCS list.

I'm having some troubles setting an instance of postgreSQL to automatically start upon system boot. I have two servers running this app, one is automatically starting the service, the other is not. I'm attempting to use the "svcadmin" command, however, apparently when I run a "svcs -a" search, the... (6 Replies)
Discussion started by: Nvizn
6 Replies

5. Solaris

svcs command shows the state as disabled

Hi I need to export a directory named /sybase from my solaris machine via NFS. The svcs command shows the state as disabled. Please let me know how to export the directory. Once the directory is exported from the solaris machine it has to be mounted locally in an aix machine. Can some one... (2 Replies)
Discussion started by: newtoaixos
2 Replies

6. Solaris

svcs showing online* status

Hi Experts I am getting following status # svcs wbem STATE STIME FMRI online* 18:19:29 svc:/application/management/wbem:default /var/svc/log/application-management-wbem:default.log is being flooded with following message (5 Replies)
Discussion started by: mtomar
5 Replies

7. Solaris

Solaris 10 svcs failures

upon rebooting the solaris 10 system, all the services went offilne or uninitialised. If I break the SVM mirror and reboot the system with the raw device, all services are up. Once I recreate a fresh mirror(metadevices) and reboot, it goes offline again. Needed to do svcadm clear <service> to bring... (16 Replies)
Discussion started by: incredible
16 Replies

8. UNIX for Advanced & Expert Users

Need svcs equivalent command

Hi, I am new to HP-UX. Can someboby help me with the svcs equivalent command in HP-UX ??? svcs is command that we use in Solaris for service status. I need to get the status of services in HP-UX. Thanks in advance. (2 Replies)
Discussion started by: EmbedUX
2 Replies

9. Solaris

Boot problem with SMF svcs-Solaris 10 for x86

Hi All, I am newbie in solaris, please guide me. A week before i installed solaris10 on my x86 system, it was working fine i always used "init 5" to shutdown my system as per my collegue advice. But yesterday when i started my system it gave me following message ... (6 Replies)
Discussion started by: imrankhan.in
6 Replies

10. Solaris

svcs command on solaris 8 and 9

Hi, Can anybody tell me what is the command to start and stop services on solaris 8. I found command svcs on solaris 10 but not on 8 or 9. Please guilde me. Thanks, Rucha (7 Replies)
Discussion started by: rucha_mahajan
7 Replies
Login or Register to Ask a Question