svcs showing online* status


 
Thread Tools Search this Thread
Operating Systems Solaris svcs showing online* status
# 1  
Old 12-15-2010
Java svcs showing online* status

Hi Experts

I am getting following status
Code:
 # 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
Code:
[ Dec 15 18:21:17 Stopping because all processes in service exited. ]
[ Dec 15 18:21:17 Executing stop method ("/lib/svc/method/svc-wbem stop") ]
[ Dec 15 18:21:22 Method "stop" exited with status 0 ]
[ Dec 15 18:21:22 Executing start method ("/lib/svc/method/svc-wbem start") ]
[ Dec 15 18:21:22 Method "start" exited with status 0 ]
[ Dec 15 18:21:22 Stopping because all processes in service exited. ]
[ Dec 15 18:21:22 Executing stop method ("/lib/svc/method/svc-wbem stop") ]
[ Dec 15 18:21:27 Method "stop" exited with status 0 ]
[ Dec 15 18:21:27 Executing start method ("/lib/svc/method/svc-wbem start") ]
[ Dec 15 18:21:27 Method "start" exited with status 0 ]
[ Dec 15 18:21:27 Stopping because all processes in service exited. ]
[ Dec 15 18:21:27 Executing stop method ("/lib/svc/method/svc-wbem stop") ]

I think this is killing my system.

First question what why am i getting online* status.
How to get rid of it.
# 2  
Old 12-15-2010
disable?
Man Page for svcadm (OpenSolaris Section 1m) - The UNIX and Linux Forums
Do you know why the service exits when asked to start? Try starting it under truss for clues?
# 3  
Old 12-15-2010
OK guys ..
It appear SMF got screwed somehow and kept restarting wbem over and over again.
I had to disable service. To my surprise i was not able to just disable it by

Code:
svcadm disable svc:/application/management/wbem:default

By doing that i was able to make enabled state to false but it kept restarting.

Code:
fmri         svc:/application/management/wbem:default
name         SMC and WBEM Server
enabled      false
state        online
next_state   offline
state_time   Wed Dec 15 20:16:36 2010
logfile      /var/svc/log/application-management-wbem:default.log
restarter    svc:/system/svc/restarter:default
contract_id  2149591 
dependency   require_all/error svc:/milestone/sysconfig:default (online)

Finally had to disable it in config
Code:
svccfg -s svc:/application/management/wbem setprop options/tcp_listen = false 
svcadm refresh svc:/application/management/wbem

I was not able to find reason for such behavior though but lesson learned online* will bite you in ur hynie :P
# 4  
Old 12-15-2010
Maybe someone else had his tcp port #?
# 5  
Old 12-15-2010
I dont see any port clash.
# 6  
Old 12-15-2010
So "netstat -an" does not show anyone on his port, whatever it is? Well, starting it with a ksh wrapper, just for a bit, might shed some light on the reason it is exiting immediately. For deeper mysteries, add " -u '*' ":
Code:
#!/usr/bin/ksh
 
truss -xall -wall -rall -faelo /tmp/tr.$$ /lib/svc/method/svc-wbem "$@"

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 svcs failures

I have a solaris 10 machine that was working fine until the system crashed after a power failure. Now, after the system boots up, several services go into maintenance mode. offline 8:54:59 svc:/milestone/multi-user-server:default offline 8:54:59... (15 Replies)
Discussion started by: krishani3831
15 Replies

2. 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

3. UNIX for Advanced & Expert Users

prtdiag -v problem :Memory Module Groups status not Showing

Hi Friends, I need a help from you all. In my machine which is on Solaris 9. the command prtdiag -v shows the complete output but it doesn't show "Memory Module Groups status" status. I have tried restarting the picl daemon, but still it doesn't work. Memory Module Groups:... (2 Replies)
Discussion started by: vivek.goel.piet
2 Replies

4. 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

5. 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

6. 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

7. 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

8. UNIX for Advanced & Expert Users

command for CPU online/offline status in bash shell

Hi , How do i check that the CPU is online/offline in a multi CPU machine in Linux ? i tired /proc/cpuinfo dmesg nothing gave me the currect CPU status. Pls help !! (5 Replies)
Discussion started by: sars
5 Replies
Login or Register to Ask a Question