I need help regarding telnet as I try to run the service it gives error
#svcs -xv svc:/network/telnet:default
svc:/network/telnet:default (Telnet server)
State: uninitialized since Wed May 15 16:46:41 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M in.telnetd
See: man -M /usr/share/man -s 1M telnetd
Impact: This service is not running.
I have tried to disable and then enable but I am unable to telnet the server from outside network. telnet service is uninitialized.
uninitialized svc:/network/telnet:default
Need help i.e how to initialized and run telnet and ftp service in Solaris 10.
svcs -xv svc:/network/inetd:default
svc:/network/inetd:default (inetd)
State: offline since Wed May 15 16:46:40 2013
Reason: Service svc:/system/filesystem/local:default
is not running because a method failed.
See: http://sun.com/msg/SMF-8000-GE
Path: svc:/network/inetd:default
svc:/system/filesystem/local:default
See: man -M /usr/share/man -s 1M inetd
Impact: 6 dependent services are not running:
svc:/milestone/multi-user:default
svc:/milestone/multi-user-server:default
svc:/system/basicreg:default
svc:/system/zones:default
svc:/application/graphical-login/cde-login:default
svc:/application/cde-printinfo:default
---------- Post updated at 11:41 AM ---------- Previous update was at 10:46 AM ----------
svcs -xv
svc:/system/filesystem/local:default (local file system mounts)
State: maintenance since Wed May 15 16:50:55 2013
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/system-filesystem-local:default.log
Impact: 38 dependent services are not running:
svc:/system/webconsole:console
svc:/system/filesystem/autofs:default
svc:/system/system-log:default
svc:/application/management/seaport:default
svc:/application/management/snmpdx:default
svc:/application/management/dmi:default
svc:/milestone/multi-user-server:default
svc:/system/basicreg:default
svc:/system/zones:default
svc:/application/management/sma:default
svc:/system/fpsd:default
svc:/milestone/multi-user:default
svc:/application/graphical-login/cde-login:default
svc:/application/cde-printinfo:default
svc:/network/smtp:sendmail
svc:/system/dumpadm:default
svc:/system/fmd:default
svc:/network/ssh:default
svc:/system/sysidtool:net
svc:/network/rpc/bind:default
svc:/network/nfs/nlockmgr:default
svc:/network/nfs/client:default
svc:/network/nfs/status:default
svc:/network/nfs/cbd:default
svc:/network/nfs/mapid:default
svc:/application/stosreg:default
svc:/network/inetd:default
svc:/system/sysidtool:system
svc:/system/postrun:default
svc:/system/filesystem/volfs:default
svc:/platform/sun4u/dscp:default
svc:/platform/sun4u/sckmd:default
svc:/system/cron:default
svc:/application/font/fc-cache:default
svc:/application/gdm2-login:default
svc:/system/boot-archive-update:default
svc:/network/shares/group:default
svc:/system/sac:default
svc:/network/rpc/gss:default (Generic Security Service)
State: uninitialized since Wed May 15 16:46:40 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M gssd
Impact: 19 dependent services are not running:
svc:/network/nfs/client:default
svc:/system/filesystem/autofs:default
svc:/system/webconsole:console
svc:/system/system-log:default
svc:/application/management/seaport:default
svc:/application/management/snmpdx:default
svc:/application/management/dmi:default
svc:/milestone/multi-user-server:default
svc:/system/basicreg:default
svc:/system/zones:default
svc:/application/management/sma:default
svc:/system/fpsd:default
svc:/milestone/multi-user:default
svc:/application/graphical-login/cde-login:default
svc:/application/cde-printinfo:default
svc:/network/smtp:sendmail
svc:/system/dumpadm:default
svc:/system/fmd:default
svc:/network/ssh:default
svc:/network/rpc/meta:default (SVM remote metaset services)
State: uninitialized since Wed May 15 16:46:40 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M rpc.metad
Impact: 7 dependent services are not running:
svc:/system/mdmonitor:default
svc:/milestone/multi-user:default
svc:/milestone/multi-user-server:default
svc:/system/basicreg:default
svc:/system/zones:default
svc:/application/graphical-login/cde-login:default
svc:/application/cde-printinfo:default
svc:/network/rpc/rstat:default (kernel statistics server)
State: uninitialized since Wed May 15 16:46:41 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M rpc.rstatd
See: man -M /usr/share/man -s 1M rstatd
Impact: 1 dependent service is not running:
svc:/application/management/sma:default
svc:/network/rpc/smserver:default (removable media management)
State: uninitialized since Wed May 15 16:46:41 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M rpc.smserverd
Impact: 1 dependent service is not running:
svc:/system/filesystem/volfs:default
svc:/platform/sun4u/dcs:default (domain configuration server)
State: maintenance since Wed May 15 16:50:55 2013
Reason: Restarting too quickly.
See: http://sun.com/msg/SMF-8000-L5
See: man -M /usr/share/man -s 1M dcs
See: /var/svc/log/platform-sun4u-dcs:default.log
Impact: This service is not running.
[ Mar 27 03:16:41 Executing start method ("/lib/svc/method/fs-local") ]
[ Mar 27 03:16:42 Method "start" exited with status 0 ]
[ Mar 27 08:10:20 Executing start method ("/lib/svc/method/fs-local") ]
[ Mar 27 08:10:21 Method "start" exited with status 0 ]
[ Mar 27 08:57:54 Executing start method ("/lib/svc/method/fs-local") ]
[ Mar 27 08:57:56 Method "start" exited with status 0 ]
[ Apr 23 23:29:59 Stopping because service disabled. ]
[ Apr 23 23:29:59 Executing stop method (null) ]
[ Apr 23 23:33:38 Executing start method ("/lib/svc/method/fs-local") ]
[ Apr 23 23:33:44 Method "start" exited with status 0 ]
[ Apr 23 23:45:39 Stopping because service disabled. ]
[ Apr 23 23:45:39 Executing stop method (null) ]
[ Apr 23 23:48:50 Executing start method ("/lib/svc/method/fs-local") ]
[ Apr 23 23:48:56 Method "start" exited with status 0 ]
[ Apr 10 00:26:14 Executing start method ("/lib/svc/method/fs-local") ]
/dev/rdsk/c1t600000E00D0000000001366400010000d0s6: No such file or directory
/dev/rdsk/c1t600000E00D0000000001366400000000d0s6: No such file or directory
mount: /dev/dsk/c1t600000E00D0000000001366400010000d0s6 or /datafile/u01, no suc
h file or directory
mount: /dev/dsk/c1t600000E00D0000000001366400000000d0s6 or /datafile/u02, no suc
h file or directory
WARNING: /sbin/mountall -l failed: exit status 1
[ May 15 16:50:55 Method "start" exited with status 95 ]
another thing which i noted in /etc/inetd.conf there is no telnet ..see this file below
#ident "@(#)inetd.conf 1.56 04/10/21 SMI"
#
# Legacy configuration file for inetd(1M). See inetd.conf(4).
#
# This file is no longer directly used to configure inetd.
# The Solaris services which were formerly configured using this file
# are now configured in the Service Management Facility (see smf(5))
# using inetadm(1M).
#
# Any records remaining in this file after installation or upgrade,
# or later created by installing additional software, must be converted
# to smf(5) services and imported into the smf repository using
# inetconv(1M), otherwise the service will not be available. Once
# a service has been converted using inetconv, further changes made to
# its entry here are not reflected in the service.
#
#
# CacheFS daemon. Provided only as a basis for conversion by inetconv(1M).
#
100235/1 tli rpc/ticotsord wait root /usr/lib/fs/cachefs/cachefsd cachefsd
# TFTPD - tftp server (primarily used for booting)
#tftp d
gram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tft
pboot
As jiliagre is saying, there's nothing wrong with telnet, the issue is caused by the inability of vfstab to load all the listed devices. If you correct the issues there and clear the error state, telnet will likely start fine.
I got it but still confused as you said that services dependent on local file system.. but issue is with storage as system is unable to mount those file system but what's relation of telnet if SAN mount points are not mounted?
I will do what u have said but needs to clear this confusion
svcs -x telnet
svc:/network/telnet:default (Telnet server)
State: uninitialized since Wed May 15 16:46:41 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: in.telnetd(1M)
See: telnetd(1M)
Impact: This service is not running.
still unable to do telnet now enteries of VFSTAB IS same as df -h ..still unable to do telnet and ftp
---------- Post updated at 04:15 PM ---------- Previous update was at 04:11 PM ----------
now look this
svcs -a |grep telnet
uninitialized May_15 svc:/network/telnet:default
bash-3.00# inetadm -l network/telnet
SCOPE NAME=VALUE
name="telnet"
endpoint_type="stream"
proto="tcp6"
isrpc=FALSE
wait=FALSE
exec="/usr/sbin/in.telnetd"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
tcp_wrappers=TRUE
default connection_backlog=10
bash-3.00# svcs -x telnet
svc:/network/telnet:default (Telnet server)
State: uninitialized since Wed May 15 16:46:41 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: in.telnetd(1M)
See: telnetd(1M)
Impact: This service is not running.
bash-3.00# svcs -x -v telnet
svc:/network/telnet:default (Telnet server)
State: uninitialized since Wed May 15 16:46:41 2013
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M in.telnetd
See: man -M /usr/share/man -s 1M telnetd
Impact: This service is not running.
---------- Post updated at 04:16 PM ---------- Previous update was at 04:15 PM ----------
service is uninitialized does it affect service..????
There is no point insisting trying to fix the consequences while ignoring the root cause(s). If you really can't manage the hierarchy of service dependencies and if your server has no critical service that must stay up, just reboot it and everything (I mean everything managed by smf) should work fine .