Vadiraj.

I'm not sure the svcadm command makes any sense outside the context of the 
currently running OS.

You could try copying an older copy of the repository back in (look in /etc/svc 
of your root disk) from failsafe mode. The working 
repository name is /etc/svc/respository.db

You could also try to delete the service out of the repository and re-import 
it. You can do that by doing the following:

- Boot failsafe mode
- mount your root filesystem under /a
- Set the following envs and export them:

   SVCCFG_DTD=/a/usr/share/lib/xml/dtd/service_bundle.dtd.1
   SVCCFG_REPOSITORY=/a/etc/svc/repository.db
   export SVCCFG_DTD SVCCFG_REPOSITORY

- svccfg delete svc:/system/console-login:default
- svccfg import /a/var/svc/manifest/system/console-login.xml
- umount /a

Then try booting your root disk again. Since the default instance for 
console-login has enabled=true, it should activate it when you 
boot.

hth,
John


Vadiraj wrote:
> Hi All,
> 
> I have disabled the system/console-login:default service by mistake. Now the 
> system is not not booting and displaying a scrolling message with the 
> following lines:
> 
> Cannot run console service
> See /lib/svc/share/README for more details
> Requesting system maintainance mode
> Cannot run console service
> See /lib/svc/share/README for more details
> Requesting system maintainance mode
> ........
> 
> I tried enabling it through Failsafe boot and using the Solaris first CD. I 
> used chroot to do it. There were no errors while doing this but, the system 
> is still not bootable.
> Please help. I am using Solaris x86 U2 on Toshiba laptop.
> 
> -V
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org

-- 
John Cecere
Sun Microsystems
732-302-3922 / john.cecere at sun.com

Reply via email to