Marcin Niskiewicz wrote:
> Thanks for Your reply...
> 
> 2009/6/12 Antonello Cruz <Antonello.Cruz at sun.com 
> <mailto:Antonello.Cruz at sun.com>>
> 
>     NICHU wrote:
> 
>         Hello
>         I have problem with managing services in Solaris.
> 
> ...
>  
> 
>     A returned value of zero from svcadm enable doesn't mean the service
>     successfully started. svcadm enable is asynchronous. What is weird here
>     is that the service remained in the state of disabled, it should be
>     either online, offline or maintenance at this point.
> 
> 
> :) yeah it's weird - and what's weirder in my opinion it's that nothing 
> is logged anywhere (syslog, /var/svc/log/) ... and it's about any 
> service - not only sendmail...
> ...
/var/svc/log/svc.startd.log should show you any managed service method 
problems
Service specific logs should show when a service started or stopped 
(i.e. when start and stop methods were ran and its exit status)

> 
> 
>     Weird, my system doesn't report sendmail being dependend on autofs.
>     What version of Solaris/OpenSolaris are you running? just in case...
>     Did you changed any service manifest?
> 
> 
> I put version of OS at the and of the post
> Solaris Express Community Edition snv_70 X86
> I didn't do anything with manifest...
> ....
Sorry, I missed that. snv_70... that's quite old but doesn't explain 
what you're seeing.
> 
> 
>     If you read the output above carefully, you'll see that you disabled
>     a service (rpc/bind) that is necessary for the 6 services reported
>     as 'offline' to properly run.
> 
> 
> I know but I can't set any of those services online
> svcadm enable ... doesn't work  ...
Try 'svcadm enable rpc/bind' once this service is running, all those 
offline service should start and transition to online state

Just for the sake of being paranoid, can you check if you have configd 
and startd running? Last time I was thrown off like this configd was not 
running in the system and any attempt to change service state would 
fail. But that's was on a much recent build (snv_101 I think).

Antonello

Reply via email to