Thursday, February 14, 2008

uninitialized state for any service on solaris 10

if there is a problem about a service on solaris 10 (i.e telnet), you can control the status of this service with command
# svcs grep telnet

you should see "online" as output if there is no problem. if the status in the output is offline, you can take it online with this command:
# svcadm enable svc:/network/telnet:default

if the status is "uninitialized", you should control the output of
# svcs -vx
command. with this information you can find the problem (maybe a dependancy)

i met with this problem and saw that some of the services look for /etc/resolv.conf (telnet, ftp). i created the file, then the statuses became online.

1 comment:

nixlike said...

>i met with this problem and saw that >some of the services look for >/etc/resolv.conf (telnet, ftp). i >created the file, then the statuses >became online.

Hi,
it's strange because in this case service must become "Maintenance" .