Hi,

I here have the same behaviour as Prasath describes in my system
(OS2009.06), despite the existance of the log file:

adumont$ svcs -l vbox
fmri         svc:/site/xvm/vbox:test01
name         Sun xVM Virtualbox
enabled      false
state        disabled
next_state   none
state_time   Mon Jul 27 22:07:55 2009
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/network:default (online)
dependency   require_all/none svc:/system/filesystem/local:default (online)
dependency   require_all/none svc:/milestone/multi-user-server (online)

fmri         svc:/site/xvm/vbox:debian
name         Sun xVM Virtualbox
enabled      true
state        online
next_state   none
state_time   Mon Jul 27 22:08:40 2009
logfile      /var/svc/log/site-xvm-vbox:debian.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/network:default (online)
dependency   require_all/none svc:/system/filesystem/local:default (online)
dependency   require_all/none svc:/milestone/multi-user-server (online)

But:

adumont$ ls -al /var/svc/log/site-xvm-vbox\:*
-rw-r--r-- 1 root root 62761 2009-07-27 22:08
/var/svc/log/site-xvm-vbox:debian.log
-rw-r--r-- 1 root root   869 2009-07-27 22:07
/var/svc/log/site-xvm-vbox:test01.log

Both vbox svcs have already been enabled and disabled several times.
vbox:debian is online, and svcs -l shows it's log, where as vbox:test01.log,
is disabled and although the log actually exists, svcs -l won't show it.

Regards,
Alex

On Wed, Jul 29, 2009 at 6:22 PM, Tom Whitten <thomas.whitten at sun.com> wrote:

> prasath.srinivasan at wipro.com writes:
> > Hi,
> >
> > Can anyone explain me on the following:
> >
> > At times on executing the command svcs -l <FMRI value of a service>, the
> > log file location is not displayed. This behavior is particularly
> > observed mostly when the service is in offline state. In most of the
> > other state, the log file location is displayed.
> >
> > Thanks,
> > Prasath
>
> If the service has never been enabled, startd has not yet created a log
> file for the service.
>
> tom
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20090729/0508995e/attachment.html>

Reply via email to