could not able to start the ssh service plz suggest


 
Thread Tools Search this Thread
Operating Systems Solaris could not able to start the ssh service plz suggest
# 1  
Old 05-28-2009
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
# 2  
Old 05-28-2009
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 06:11 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Not able to start cron service in Solaris 10

Hi, This is Solaris-10 x86. I am not able to start cron service, configured in FMRI. It is in maintenance and when I clear it, it seems like calling and failing on /etc/init.d/tcs-rtm script. I am not able to figure out, why cron is calling that script, if this failure is because of that. Cron... (5 Replies)
Discussion started by: ron323232
5 Replies

2. Solaris

How to make SMF service start last?

I need to start a service among the last on a freshly booted system. Via the manifest, I've made it dependent on very milestone on the computer yet the service still comes back with an error that a kstat variable in the kernel does not exist. I run it right the service process right there... (6 Replies)
Discussion started by: JWH
6 Replies

3. Shell Programming and Scripting

not able to start xvfb service via rc script

Hi , I am having this start script to start xvfb under rc3.d but it fails during system startup saying unable to open display. also manually if i try to execute the script , it does not work. But if i execute what ever is there in the script line by line on my SHELL , it starts well. ... (2 Replies)
Discussion started by: chidori
2 Replies

4. Ubuntu

start service when get login prompt

Hi Team, I am using DRBL environment on Ubuntu. When my machine starts some times it's not starting lxdm & nslcd service. Because of that i didn't get graphic mode & also not able to authenticate user as nslcd is also stops. I have to login as root and restart these two services, then i am able... (0 Replies)
Discussion started by: paragnehete
0 Replies

5. Red Hat

VSFTPD Service Failed to Start

Today I have installed VSFTPD but service is failing to start. We have been using standard FTP successful but need to introduce an FTPS option. I have run YUM install VSFTPD and everything appeared to load ok. (If I run rpm - qa | grep vsftpd I get vsftpd-2.0.5-16.el5_4.1 which I... (4 Replies)
Discussion started by: PaulComins
4 Replies

6. Red Hat

vsftpd service failed to start

hi, i am using RHEL 5 and i am not able to on the vsftp i have tried to on the vsftp service using command service vsftpd start Starting vsftpd for vsftpd: i am posting the content of my /etc/xinetd.d/vsftpd file # description: The vsftpd FTP... (2 Replies)
Discussion started by: u.n.i.x
2 Replies

7. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

8. Programming

MySQL service start error

Hi, I have installed MySql version 5.0.67 in RedHat LINUX version 5. The installation completed successfully. When I am trying to start the service an error occured the error shown below ".......Manager of pid-file quit without updating file" Can anyone help me to fix the problem.... (4 Replies)
Discussion started by: saravanakumar
4 Replies

9. Shell Programming and Scripting

Start a service as user

Hi I need a service to be start as user after a reboot. My script in /etc/init.d contain the following: start() { su - $USER cd ${INSTALL_PATH}/bin ./MyApp -X exit return 0 } This function stops after su - $USER, I get user shell, and only if I manualy... (5 Replies)
Discussion started by: potro
5 Replies

10. UNIX for Dummies Questions & Answers

Making a Script to Start as a Service

Hi, I have a shell script t1.sh. on my solaris box. So, what are the steps required to make this script run as a Service, when the system re-starts. (for ex:- at run level 3). I know that I should use the rc.d folders. But I don't know the exact steps. Kindly explain, Thanks in... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies
Login or Register to Ask a Question

Featured Tech Videos