The UNIX and Linux Forums

The UNIX and Linux Forums (http://www.unix.com/index.php)
-   Solaris (http://www.unix.com/solaris/)
-   -   could not able to start the ssh service plz suggest (http://www.unix.com/solaris/110820-could-not-able-start-ssh-service-plz-suggest.html)

girish.batra 05-28-2009 02:08 AM

could not able to start the ssh service plz suggest
 
Hi Gurus

I could not able to start the ssh service plz suggest

root@bics-uatsrvr-01 # svcs -x ssh
svc:/network/ssh:default (SSH server)
State: offline since Thu May 28 04:12:02 2009
Reason: Service svc:/system/filesystem/usr:default
is not running because a method failed.
See: Sun Message ID: SMF-8000-GE
See: sshd(1M)
Impact: 3 dependent services are not running. (Use -v for list.)
root@bics-uatsrvr-01 # svcs -d ssh
STATE STIME FMRI
disabled 4:12:01 svc:/system/filesystem/autofs:default
online 4:12:01 svc:/network/loopback:default
online 4:12:16 svc:/network/physical:default
offline 4:12:00 svc:/system/cryptosvc:default
offline 4:12:00 svc:/system/filesystem/local:default
offline 4:12:01 svc:/system/utmp:default
root@bics-uatsrvr-01 # svcadm enable svc:/system/cryptosvc:default
root@bics-uatsrvr-01 # svcs -d ssh
STATE STIME FMRI
disabled 4:12:01 svc:/system/filesystem/autofs:default
online 4:12:01 svc:/network/loopback:default
online 4:12:16 svc:/network/physical:default
offline 4:12:00 svc:/system/cryptosvc:default
offline 4:12:00 svc:/system/filesystem/local:default
offline 4:12:01 svc:/system/utmp:default
root@bics-uatsrvr-01 # svcadm enable svc:/system/filesystem/local:default
root@bics-uatsrvr-01 # svcadm enable svc:/system/utmp:default
root@bics-uatsrvr-01 # svcs -d ssh
STATE STIME FMRI
disabled 4:12:01 svc:/system/filesystem/autofs:default
online 4:12:01 svc:/network/loopback:default
online 4:12:16 svc:/network/physical:default
offline 4:12:00 svc:/system/cryptosvc:default
offline 4:12:00 svc:/system/filesystem/local:default
offline 4:12:01 svc:/system/utmp:default
root@bics-uatsrvr-01 # svcs -v ssh
STATE NSTATE STIME CTID FMRI
offline - 4:12:02 - svc:/network/ssh:default
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 # who -r
. run-level 3 May 21 21:35 3 0 S
root@bics-uatsrvr-01 # cd /etc/init.d
root@bics-uatsrvr-01 # ls
OVCtrl gfbinit nfs.server
OVTrcSrv hplwdce nscd
PRESERVE ifbinit ovpa
README imq pcmcia
acct init.cssd pppd
acctadm init.dmi realsecure
afbinit init.sma rspcd
apache init.snmpdx sckm
appserv init.wbem sendmail
arm init.wbem.119313-25 slpd
autoinstall jfbinit sneep
boot.server kfbinit sshd
buttons_n_dials-setup ldap.client swupboots
cachefs.daemon llc2 sysetup
deallocate lu ufs_quota
devlinks mipagent uucp
dhcp mkdtab volmgt
dodatadm.udaplt nbclient vxpbx_exchanged
drvconfig ncakmod wrsmcfg
dtlogin ncalogd zuluinit
gcstartup netbackup
root@bics-uatsrvr-01 # ./sshd start
root@bics-uatsrvr-01 # svcs -x ssh
svc:/network/ssh:default (SSH server)
State: offline since Thu May 28 04:12:02 2009
Reason: Service svc:/system/filesystem/usr:default
is not running because a method failed.
See: Sun Message ID: SMF-8000-GE
See: sshd(1M)
Impact: 3 dependent services are not running. (Use -v for list.)
root@bics-uatsrvr-01 # ps -ef |grep ssh
root 160 132 0 09:57:53 console 0:00 grep ssh
root 157 1 0 09:56:59 ? 0:00 /usr/local/sbin/sshd
root@bics-uatsrvr-01 # svcs -d ssh
STATE STIME FMRI
disabled 4:12:01 svc:/system/filesystem/autofs:default
online 4:12:01 svc:/network/loopback:default
online 4:12:16 svc:/network/physical:default
offline 4:12:00 svc:/system/cryptosvc:default
offline 4:12:00 svc:/system/filesystem/local:default
offline 4:12:01 svc:/system/utmp:default
root@bics-uatsrvr-01 # svcadm enable svc:/system/cryptosvc:default
root@bics-uatsrvr-01 # svcadm enable svc:/system/filesystem/local:default
root@bics-uatsrvr-01 # svcadm enable svc:/system/utmp:default
root@bics-uatsrvr-01 # svcs -d ssh
STATE STIME FMRI
disabled 4:12:01 svc:/system/filesystem/autofs:default
online 4:12:01 svc:/network/loopback:default
online 4:12:16 svc:/network/physical:default
offline 4:12:00 svc:/system/cryptosvc:default
offline 4:12:00 svc:/system/filesystem/local:default
offline 4:12:01 svc:/system/utmp:default
root@bics-uatsrvr-01 # svcs -d svc:/system/cryptosvc:default
STATE STIME FMRI
offline 4:12:00 svc:/system/filesystem/minimal:default
root@bics-uatsrvr-01 # svcadm enable svc:/system/filesystem/minimal:default
root@bics-uatsrvr-01 # svcs -d svc:/system/cryptosvc:default
STATE STIME FMRI
offline 4:12:00 svc:/system/filesystem/minimal:default
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #

root@bics-uatsrvr-01 # svcadm enable -s svc:/network/ssh:default
svcadm: Instance "svc:/network/ssh:default" has unsatisfied dependencies.
root@bics-uatsrvr-01 # svcadm enable -r svc:/network/ssh:default
root@bics-uatsrvr-01 # svcs -a ssh
svcs: -a ignored when used with arguments.
STATE STIME FMRI
offline 4:12:02 svc:/network/ssh:default
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 # svcs -d ssh
STATE STIME FMRI
disabled 4:12:01 svc:/system/filesystem/autofs:default
online 4:12:01 svc:/network/loopback:default
online 4:12:16 svc:/network/physical:default
offline 4:12:00 svc:/system/cryptosvc:default
offline 4:12:00 svc:/system/filesystem/local:default
offline 4:12:01 svc:/system/utmp:default
root@bics-uatsrvr-01 # svcs -d svc:/system/filesystem/local:default
STATE STIME FMRI
offline 4:12:00 svc:/system/filesystem/minimal:default
offline 4:12:00 svc:/milestone/single-user:default
root@bics-uatsrvr-01 # svcadm enable -r svc:/system/filesystem/local:default
root@bics-uatsrvr-01 # svcs -d svc:/system/filesystem/local:default
STATE STIME FMRI
offline 4:12:00 svc:/system/filesystem/minimal:default
offline 4:12:00 svc:/milestone/single-user:default
root@bics-uatsrvr-01 # svcadm enable -s svc:/network/ssh:default
svcadm: Instance "svc:/network/ssh:default" has unsatisfied dependencies.
root@bics-uatsrvr-01 #
root@bics-uatsrvr-01 # svcs -d ssh
STATE STIME FMRI
disabled 4:12:01 svc:/system/filesystem/autofs:default
online 4:12:01 svc:/network/loopback:default
online 4:12:16 svc:/network/physical:default
offline 4:12:00 svc:/system/cryptosvc:default
offline 4:12:00 svc:/system/filesystem/local:default
offline 4:12:01 svc:/system/utmp:default



Regards

jlliagre 05-28-2009 04:45 AM

You have installed and are launching a third party sshd (/usr/local/sbin/sshd) unmanaged by the SMF framework.
You cannot have both the regular bundled sshd and that one running at the same time.

According to ps output, the service is running. Did you try to ssh to your server ?

There seems to be issues with file systems too.

What says "svcs -xv filesystem/local", "svcs -xv filesystem/usr" and "df -k".


All times are GMT -4. The time now is 11:26 PM.

Linux and Unix Supported by: vBulletin
Search Engine Optimisation provided by DragonByte SEO v1.1.4 (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
The UNIX and Linux Forums Content Copyright ©1993-2013. All Rights Reserved.
Forum Operations by The UNIX and Linux Forums