[OpenIndiana-discuss] help: ssh won't start this morning

Deano deano at rattie.demon.co.uk
Mon Jan 24 16:13:59 UTC 2011


If you remove the ssh manifest dependencies it will try and run regardless
of system state, however it also might start early (as it won't be waiting
for anything).

I *might* do what you want but YMMV. Test it first locally whilst you have
local console access. 

Deano
deano at cloudpixies.com


-----Original Message-----
From: ann kok [mailto:oiyankok at yahoo.ca] 
Sent: 24 January 2011 15:55
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning

Thank you. I understand it now

But this might not be good for us when most our systems need remote access

Now. I know it is nfs issue

1/ How can I make the box still fine when the mount point is not available?

2/ How can I start the ssh even any services are in problem? At least I can
remote access to do the trouble shooting
In linux. I can simply add it in rc.local /usr/sbin/sshd

How can I do it in solaris?

Thank you so much



--- On Mon, 1/24/11, Deano <deano at rattie.demon.co.uk> wrote:

> From: Deano <deano at rattie.demon.co.uk>
> Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning
> To: "'Discussion list for OpenIndiana'"
<openindiana-discuss at openindiana.org>
> Received: Monday, January 24, 2011, 10:30 AM
> Most services depend on
> filesystem/local, that error effectively says the
> filesystem hasn't come up correctly, which means also
> everything shouldn't
> work. 
> Of course in this case most of filesystem is up, so it
> should have faulted
> really (just warned).
> 
> Bye,
> Deano
> 
> -----Original Message-----
> From: ann kok [mailto:oiyankok at yahoo.ca]
> 
> Sent: 24 January 2011 15:17
> To: Discussion list for OpenIndiana
> Subject: Re: [OpenIndiana-discuss] help: ssh won't start
> this morning
> 
> Hi
> 
> Thank you. At least I can access the box now.
> 
> I realize the problem is from vfstab
> 
> /dev/dsk/c2t1d0s2   
>    /dev/rdsk/c2t1d0s2     
> /export/zone1   ufs 
>    1
> yes     -
> 
> 
> My questions
> 
> 1/ How can I let the box know the service is still starting
> even thought it
> can't mount the drive? Any soft mount in solaris?
> 
> 
> 2/ Why one service can impact 40 services not starting? ls
> it only this nfs?
> ls other service also same. It is not reasonable ssh won't
> start because of
> apache!
> 
> Thank you
> 
> svc:/system/filesystem/local:default (local file system
> mounts)
>  State: maintenance since Mon Jan 24 10:06:26 2011
> 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: 40 dependent services are not running:
>        
> svc:/application/desktop-cache/input-method-cache:default
> 
> 
> --- On Mon, 1/24/11, Bernd Helber <bernd at helber-it-services.com>
> wrote:
> 
> > From: Bernd Helber <bernd at helber-it-services.com>
> > Subject: Re: [OpenIndiana-discuss] help: ssh won't
> start this morning
> > To: openindiana-discuss at openindiana.org
> > Received: Monday, January 24, 2011, 9:55 AM
> > Hi,
> > 
> > your last change, before you rebooted the Box?
> > 
> > As a temporary workaround...
> > start ssh manually
> > 
> > /usr/lib/ssh/sshd
> > 
> > that should do the trick.
> > 
> > Am 24.01.11 15:53, schrieb ann kok:
> > > Hi
> > > 
> > > My ssh service can't start this morning when I
> reboot
> > the box
> > > 
> > > I try to enable it in the console but it won't
> work
> > > 
> > > svcs -a |grep ssh
> > > offline 
> >    time   svc:/network/ssh:default
> > > 
> > > svcadm enable ssh
> > > 
> > > svcs -a |grep ssh
> > > offline     
> > time   svc:/network/ssh:default
> > > 
> > > dmesg is showing nothing.
> > > 
> > > How can I fix it? Any trouleshooting command
> > > 
> > > I also have question that
> > > 
> > > ls solaris services depended each other?
> > > 
> > > Mean S65 can't start. S66.. all services after
> > S65  also won't start
> > > 
> > > Thank you 
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > OpenIndiana-discuss mailing list
> > > OpenIndiana-discuss at openindiana.org
> > > http://openindiana.org/mailman/listinfo/openindiana-discuss
> > 
> > 
> > -- 
> > with kind regards
> > 
> >  Bernd Helber
> >          
> >    _.-|-/\-._
> >           \-'     
> >     '-.
> >          /   
> > /\    /\    \/
> >        \/  <   
> > .  >  ./.  \/
> >    _   /  < 
> >        > /___\ |.
> >  .< \ /  <     /\ 
> >   > ( #) |#)
> >    | |    <   
> >    /\   -.   __\
> >     \   < 
> > <   V      > )./_._(\
> >    .)/\   < 
> > <  .-     /  \_'_) )-..
> >        \ 
> > <   ./  /  > > 
> >      /._./
> >    
> >    /\   <  '-'
> > >    >    /
> >          '-._ < v 
> >   >   _.-'
> >            /
> > '-.______.·' \
> >              
> >    \/
> > 
> > 
> >
> ***********************************************************
> >  *This message has been scanned by DrWeb AV and
> > Spamassassin
> > 
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> > 
> 
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 



_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list