could not able to start the ssh service plz suggest | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

could not able to start the ssh service plz suggest

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-28-2009
girish.batra girish.batra is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 13 December 2011, 3:21 AM EST
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 05-28-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 24 April 2014, 10:11 AM EDT
Location: Paris
Posts: 4,364
Thanks: 15
Thanked 443 Times in 406 Posts
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".

Last edited by jlliagre; 05-28-2009 at 04:11 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Q: how to start a service when system start acerlinux AIX 4 04-03-2009 09:37 PM
MySQL service start error saravanakumar Programming 4 09-11-2008 01:41 PM
Start a service as user potro Shell Programming and Scripting 5 04-17-2008 02:19 AM
Making a Script to Start as a Service S.Vishwanath UNIX for Dummies Questions & Answers 3 02-08-2007 12:37 AM
AIX 5.3: Start Service on System startup dennis.kuehl UNIX for Advanced & Expert Users 1 07-25-2006 03:32 AM



All times are GMT -4. The time now is 12:30 PM.