Deepti_vobilineni
asked on
inetd offline in solaris
In Solaris 10 SPARC server, inetd service is offline. I am unable to start the services and as a result all the network services like telnet, ssh, ftp etc.. are not running, hence I am unable to connect to the server remotely.
hello
in solaris 10 there is special coommand for that
if you want telnet for example
type :
inetadm | grep telnet
you must see disabled
then do
inetadm -e telnet
or the exact name you see on the line the command before
and then normally telnet is active now
to see that redo the first command
inetadm | grep telnet
and see enabled online ¨¨
Regards
in solaris 10 there is special coommand for that
if you want telnet for example
type :
inetadm | grep telnet
you must see disabled
then do
inetadm -e telnet
or the exact name you see on the line the command before
and then normally telnet is active now
to see that redo the first command
inetadm | grep telnet
and see enabled online ¨¨
Regards
ASKER
I have already run the command "inetadm -e svc:/network/telnet:defaul t". This dint work.
Hi,
without knowing the error messages we won't be able to help, I guess.
So, please, look at /var/adm/messages or wherever your message log is.
wmp
without knowing the error messages we won't be able to help, I guess.
So, please, look at /var/adm/messages or wherever your message log is.
wmp
you must check if inetd service run
with svcs command
svcs -a | grep inet
and with svcadm command start it if disabled
I hope that help you
with svcs command
svcs -a | grep inet
and with svcadm command start it if disabled
I hope that help you
Post the output of:
svcs -x inetd
This will give you extended attributes including its state, and a reason for being in that state. Example:
bash-3.2# svcadm disable inetd
bash-3.2# svcs -x inetd
svc:/network/inetd:default (inetd)
State: disabled since 5 November 2008 11:45:47 GMT
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: inetd(1M)
See: /var/svc/log/network-inetd :default.l og
Impact: 5 dependent services are not running. (Use -v for list.)
svcs -x inetd
This will give you extended attributes including its state, and a reason for being in that state. Example:
bash-3.2# svcadm disable inetd
bash-3.2# svcs -x inetd
svc:/network/inetd:default
State: disabled since 5 November 2008 11:45:47 GMT
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: inetd(1M)
See: /var/svc/log/network-inetd
Impact: 5 dependent services are not running. (Use -v for list.)
First, check the status of the inetd service with this command:
svcs -x svc:/network/inetd:default
If it is disabled, then enable it with this command:
svcadm enable svc:/network/inetd:default
Then do the svcs command again. If it is now in maintenance mode or it was in maintenance before,
look for the reason. It will possible say that there is a prerequisit service that is also not running, or it
will say to look in the file /var/svc/log/network-inetd :default.l og. If the latter, take a look there. The next step
depends on what you find.
svcs -x svc:/network/inetd:default
If it is disabled, then enable it with this command:
svcadm enable svc:/network/inetd:default
Then do the svcs command again. If it is now in maintenance mode or it was in maintenance before,
look for the reason. It will possible say that there is a prerequisit service that is also not running, or it
will say to look in the file /var/svc/log/network-inetd
depends on what you find.
There are very few services that run via inetd in Solaris 10. ssh certainly doesn't and I'm pretty sure ftpd doesn't either.
are you getting any errors...
svcs -xv
and post me.. so that i can assist you..
svcs -xv
and post me.. so that i can assist you..
ASKER
Hi,
Below is the output of the command "svcs -x -v inetd",
svc:/network/inetd:default (inetd)
State: offline since Fri Dec 05 06:49:45 2008
Reason: Service svc:/network/dns/client:de fault has missing dependencies.
See: http://sun.com/msg/SMF-8000-GE
Path: svc:/network/inetd:default
svc:/milestone/name-servic es:default
svc:/network/dns/client:de fault
See: man -M /usr/share/man -s 1M inetd
Impact: 3 dependent services are not running:
svc:/milestone/multi-user: default
svc:/milestone/multi-user- server:def ault
svc:/system/zones:default
Below is the output of the command "svcs -x -v inetd",
svc:/network/inetd:default
State: offline since Fri Dec 05 06:49:45 2008
Reason: Service svc:/network/dns/client:de
See: http://sun.com/msg/SMF-8000-GE
Path: svc:/network/inetd:default
svc:/milestone/name-servic
svc:/network/dns/client:de
See: man -M /usr/share/man -s 1M inetd
Impact: 3 dependent services are not running:
svc:/milestone/multi-user:
svc:/milestone/multi-user-
svc:/system/zones:default
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Now the inetd services are up and running.
The problem was with /etc/resolv.conf file.
Thank you.
The problem was with /etc/resolv.conf file.
Thank you.
It seems to me like we helped this user track down the cause of the problem. This, in my view and going by the grading recommendations would indicate at minimum a grade B answer.
OK...all is forgiven.
did you look at /var/adm/messages?
Do you find there messages related to inetd?
wmp