Telnet uninitialized

HI

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.

Regards

What says

svcs -xv svc:/network/inetd:default

?

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.

The root cause is likely something wrong with a file system. Have a look to:

/var/svc/log/system-filesystem-local:default.log

these are last msgs error is since 15th of may

[ 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

should i add and what would be exact entry

You are missing a device, likely from a SAN LUN.

You don't need to modify this file.

what's the affect..?
as File system in /etc/vfstab has enteries which are not in df output so this reaason...

but why its like that?

---------- Post updated at 02:35 PM ---------- Previous update was at 02:17 PM ----------

bash-3.00# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d1          20G   6.1G    13G    32%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    47G   1.5M    47G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
fd                       0K     0K     0K     0%    /dev/fd
/dev/md/dsk/d3          15G   527M    14G     4%    /var
swap                    47G     0K    47G     0%    /tmp
swap                    47G    16K    47G     1%    /var/run
/dev/md/dsk/d4          15G   440M    14G     3%    /opt
/dev/md/dsk/d5          65G    34G    31G    53%    /export/home
bash-3.00# more /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/md/dsk/d2  -       -       swap    -       no      -
/dev/md/dsk/d1  /dev/md/rdsk/d1 /       ufs     1       no      -
/dev/md/dsk/d3  /dev/md/rdsk/d3 /var    ufs     1       no      -
/dev/md/dsk/d5  /dev/md/rdsk/d5 /export/home    ufs     2       yes     -
/dev/dsk/c1t600000E00D0000000001366400010000d0s6        /dev/rdsk/c1t600000E00D0
000000001366400010000d0s6       /datafile/u01   ufs     2       yes     forcedir
ectio
/dev/dsk/c1t600000E00D0000000001366400000000d0s6        /dev/rdsk/c1t600000E00D0
000000001366400000000d0s6       /datafile/u02   ufs     2       yes     forcedir
ectio
/dev/md/dsk/d4  /dev/md/rdsk/d4 /opt    ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
/export/home/swapfile   -       -       swap    -       no      -

there are two file system from storage which are not mounted i need to know does it affect telnet and what's the reason?

Many services, including telnet, depend on the local file system to start properly before being enabled.

You need to fix the issue before the remaining services have a chance to start.

A workaround would be to comment out the problem entries in /etc/vfstab and run

svcadm clear system-filesystem-local

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

You probably need to read up on the Service Manager in Solaris.

now storage mount point are visible but still unable to do telnet.its m4000 machine.
now look this

svcs -a|grep telnet
uninitialized  May_15   svc:/network/telnet:default
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..????

how to initialized it

svcs -a|grep telnet
uninitialized  May_15   svc:/network/telnet:default

svcs -l svc:/network/telnet  :default
fmri         svc:/network/telnet:default
name         Telnet server
enabled      true
state        uninitialized
next_state   none
state_time   Wed May 15 16:46:41 2013
restarter    svc:/network/inetd:default

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 .

1 Like