Hello Darren,

Without knowing what services you disabled this may be harder, but not
impossible to fix.

When you are at the # prompt, the first thing to do is to find out what
services is causing your multi-user mode to not run.

You have administratively disabled services, so this process is slightly
different to the process for troubleshooting services which failed to start
due to an error.

First you check all your milestones:
# svcs -a|grep milestone
online         11:43:31 svc:/milestone/name-services:default
online         11:43:47 svc:/milestone/network:default
online         11:43:51 svc:/milestone/devices:default
online         11:43:55 svc:/milestone/single-user:default
online         11:44:07 svc:/milestone/sysconfig:default
online         11:44:16 svc:/milestone/multi-user:default
online         11:44:17 svc:/milestone/multi-user-server:default

You are going to find that most likely the last two are not online.

You can get the list of services on which a specific service (or milestone)
depends by examining its properties. For example:

# svcs -l multi-user-server:default

You will see something like this:
fmri         svc:/milestone/multi-user-server:default
name         multi-user plus exports milestone
enabled      true
state        online
next_state   none
state_time   Fri Aug 01 11:44:17 2008
logfile      /var/svc/log/milestone-multi-user-server:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/multi-user (online)
dependency   optional_all/none svc:/application/management/snmpdx (disabled)
dependency   optional_all/none svc:/network/wins (disabled)
dependency   optional_all/none svc:/network/ssh (online)
dependency   optional_all/none svc:/network/winbind (disabled)
dependency   optional_all/none svc:/network/dhcp-server (disabled)
dependency   optional_all/none svc:/network/nfs/server (disabled)
dependency   optional_all/none svc:/network/rarp (disabled)
dependency   optional_all/none svc:/network/rpc/smserver (online)
dependency   optional_all/none svc:/network/rpc/bootparams (disabled)
dependency   optional_all/none svc:/network/samba (disabled)

Look for required items which are not online, then check those to see why
they are not online.

Now that you've done all this effort, use this shortcut to enable a service
and all of the services that it  depends on:

# svcadm enable -rs multi-user-server:default

The -r flag tells svcadm to do the dependencies recursively.

The -s flag means you want to watch the process and wait for it to
complete... in stead of it running in the background.

Finally, log out by pressing Ctrl-D and check if the services are starting
up and you get the Console login as well as the GUI.

If you don't, try
# svcadm clear milestone/multi-user-server:default

To prompt the SMF subsystem into realizing you've fixed the problem, and if
that still don't work, try a reboot.



On Fri, Aug 1, 2008 at 11:02 AM, darren <darren.e at sky.com> wrote:

> I am a total n00b to Solaris.
>
> Came from Arch Linux which I've used for years.
>
> Just wanted a lean install.
>
> Erm, enabling that service does nothing. I'm still stuck at the maintenance
> mode prompt and a reboot gives the original error and drops me to
> maintenance mode - whatver that is.
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris.org
>



-- 
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke

Afrikaanse Stap Website: http://www.bloukous.co.za

My blog: http://initialprogramload.blogspot.com

ICQ = 193944626, YahooIM = johan_hartzenberg, GoogleTalk =
jhartzen at gmail.com, AIM = JohanHartzenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20080801/f0efbe14/attachment.html>

Reply via email to