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

2011-01-24 Thread Albert Lee
On Mon, Jan 24, 2011 at 1:39 PM, Toomas Soome  wrote:
>
> ufs does not corrupt vtoc. there is an reason the superblock offset is at #32 
> ;)
>

Thanks for the correction.

-Albert

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Toomas Soome

ufs does not corrupt vtoc. there is an reason the superblock offset is at #32 ;)


On 24.01.2011, at 20:14, Albert Lee wrote:

> On Mon, Jan 24, 2011 at 10:54 AM, ann kok  wrote:
>> 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
> 
> The vfstab line you pasted was for a local UFS filesystem, not an NFS
> server. It is also strange because slice 2 (reserved for representing
> the whole disk) is being used, where normally UFS uses a normal slice
> - you might corrupt the Solaris disklabel if you use the whole disk.
> 
> For NFS, using autofs will ensure that the system is not dependent on
> the server being reachable. /etc/auto_master defines autofs
> mountpoints, and the default /net autofs dir allows you to browse NFS
> shares as /net/servername/...
> 
>> 
>> 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
>> 
> 
> If you really want, you can remove the dependency on filesystem/local
> with svccfg, but these services should never fail and you should avoid
> doing anything that can cause the them.
> 
> -Albert
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Albert Lee
On Mon, Jan 24, 2011 at 10:54 AM, ann kok  wrote:
> 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

The vfstab line you pasted was for a local UFS filesystem, not an NFS
server. It is also strange because slice 2 (reserved for representing
the whole disk) is being used, where normally UFS uses a normal slice
- you might corrupt the Solaris disklabel if you use the whole disk.

For NFS, using autofs will ensure that the system is not dependent on
the server being reachable. /etc/auto_master defines autofs
mountpoints, and the default /net autofs dir allows you to browse NFS
shares as /net/servername/...

>
> 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
>

If you really want, you can remove the dependency on filesystem/local
with svccfg, but these services should never fail and you should avoid
doing anything that can cause the them.

-Albert

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Toomas Soome

its very simple. if my server is down and i need to access console, i login via 
ilom/alom/xscf whatever remote management my server has;)

toomas

On 24.01.2011, at 17:54, ann kok wrote:

> 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  wrote:
> 
>> From: Deano 
>> Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning
>> To: "'Discussion list for OpenIndiana'" 
>> 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:oiyan...@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 
>> wrote:
>> 
>>> From: Bernd Helber 
>>> Subject: Re: [OpenIndiana-discuss] help: ssh won't
>> start this morning
>>> To: openindiana-discuss@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@openindiana.org
>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>> 
>>> 
>>> -- 
>>> with kind regards
>>> 
>>>  Bernd Helber
>>> 
>>

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

2011-01-24 Thread Deano
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
de...@cloudpixies.com


-Original Message-
From: ann kok [mailto:oiyan...@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  wrote:

> From: Deano 
> Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning
> To: "'Discussion list for OpenIndiana'"

> 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:oiyan...@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 
> wrote:
> 
> > From: Bernd Helber 
> > Subject: Re: [OpenIndiana-discuss] help: ssh won't
> start this morning
> > To: openindiana-discuss@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@openindiana.org
> > > http://openindiana.org/mailman/listinfo/openindiana-discuss
> > 
> > 
> > -- 
> > with kind regards
> > 
> >  Bernd Helber
> >          
> >    _.-|-/\-._
> >           \-'     
> >     '-.
> >          /   
> > /\    /\    \/
> >        \/  <   
> > .  >  ./.  \/
> &g

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

2011-01-24 Thread ann kok
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  wrote:

> From: Deano 
> Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning
> To: "'Discussion list for OpenIndiana'" 
> 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:oiyan...@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 
> wrote:
> 
> > From: Bernd Helber 
> > Subject: Re: [OpenIndiana-discuss] help: ssh won't
> start this morning
> > To: openindiana-discuss@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@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@openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> > 
> 
> 
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Deano
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:oiyan...@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  wrote:

> From: Bernd Helber 
> Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning
> To: openindiana-discuss@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@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@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Toomas Soome


your services wont start because local file system mount service got error, 
therefore some of you local file systems are missing. most services depend on 
local file systems to be present, hence they are not started. OS has no idea if 
thats apache there or something else.

tail /var/svc/log/system-filesystem-local:default.log and fix the cause.

On 24.01.2011, at 17:17, ann kok wrote:

> 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  wrote:
> 
>> From: Bernd Helber 
>> Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning
>> To: openindiana-discuss@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@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@openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>> 
> 
> 
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread ann kok
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  wrote:

> From: Bernd Helber 
> Subject: Re: [OpenIndiana-discuss] help: ssh won't start this morning
> To: openindiana-discuss@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@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@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Edward Martinez

On 01/24/11 06:53, ann kok wrote:

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@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




try using svcs -x, it shows when and why the service failed and 
adding -v, shows the list of impacted services.




 Regards
 Edward

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Toomas Soome

svcs -vx is your friend. 

On 24.01.2011, at 16:53, ann kok wrote:

> 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@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread Bernd Helber
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@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@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


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

2011-01-24 Thread 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@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss