How to enable services in failsafe mode.

  • Follow


I follow the steps from here to install coolstack:
        http://blogs.tssg.org/jgood/2007/05/installing_coolstack_on_solari.html

I thought system would be faster if I disable some services. Hence
according to that blog I issued these commands,

svcadm disable ftp
svcadm disable telnet

svcadm disable sendmail

svcadm disable finger
svcadm disable rlogin
svcadm disable nfs/client
svcadm disable nfs/status
svcadm disable nfs/nlockmgr
svcadm disable rpc/bind
svcadm disable rpc/gss
svcadm disable rpc/rstat
svcadm disable rpc/rusers
svcadm disable rpc/smserver
svcadm disable shell:default
svcadm disable svc:/network/cde-spc:default
svcadm disable svc:/application/graphical-login/cde-login:default
svcadm disable inetdsvcadm disable rpc-100235_1/
rpc_ticotsord:defaultsvcadm disable rpc-100068_2-5/rpc_udp:default
svcadm disable rpc-100083_1/rpc_tcp:default
svcadm disable x11/xfs
svcadm disable font/fc-cache

My system crashed. I cannot boot into the system because it shows
panic and then dumps filesystem.

How can I enable those services again from failsafe?
0
Reply Solaris 1/30/2009 9:07:36 AM

Forgot to mention system specs. I'm using Solaris 10 update 6 on intel
x86.
0
Reply Solaris 1/30/2009 9:09:53 AM


Solaris BD wrote at 30.01.2009 10:09
> Forgot to mention system specs. I'm using Solaris 10 update 6 on intel
> x86.

Boot into Milestone 'none'. For that, you have to edit the grub boot 
menu and append to the kernel line '-m milestone = none'

After logging in, remount the root-FS read/write. Then you can enable 
the services again.

And for the future: I'm not sure why the system panics, but before 
permanently disabling services you should check the dependents
(svcadm -D <FMRI>)

HTH,

Michael
0
Reply Michael 1/30/2009 9:31:05 AM

I don't know why but second time kernel isn't showing the panic!

# svcadm -D font/fc-cache
svcadm: illegal option -- D
Usage: svcadm [-v] [cmd [args ... ]]
...................

Tell me more about the syntax.
0
Reply Solaris 1/30/2009 10:39:37 AM

In <e2387184-dedd-45fb-af57-393243419775@p2g2000prn.googlegroups.com> Solaris BD <Unix9N@gmail.com> writes:

>I follow the steps from here to install coolstack:
>        http://blogs.tssg.org/jgood/2007/05/installing_coolstack_on_solari.html

Coolstack is obsolete, replaced by Webstack.  See:

    http://blogs.sun.com/web/entry/sun_web_stack_1_4

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-
0
Reply Gary 1/30/2009 12:55:28 PM

Thanks for apprising me of that.
I'm going for webstack.
0
Reply Solaris 1/30/2009 3:23:57 PM

5 Replies
816 Views

(page loaded in 0.131 seconds)

Similiar Articles:













7/23/2012 10:33:28 AM


Reply: