I have some code under development which is showing odd SMF
behaviour.  I can't enable the service or get an indication
of what the issue is.  This is Nevada build 65 with the CIFS
client packages installed on an amd64 system.  Here's what I
see:

# svcadm disable smb/client
# svcadm enable smb/client
# svcs -xv smb/client
svc:/network/smb/client:default (SMB client)
  State: offline since Wed Sep 05 07:04:36 2007
Reason: Unknown.
    See: http://sun.com/msg/SMF-8000-AR
    See: man -M /usr/share/man -s 1M mount_smbfs
Impact: This service is not running.

# svcs -l smb/client
fmri         svc:/network/smb/client:default
name         SMB client
enabled      true
state        offline
next_state   none
state_time   Wed Sep 05 07:04:36 2007
restarter    svc:/system/svc/restarter:default
dependency   require_any/error svc:/milestone/network (online)
dependency   optional_all/none svc:/network/rpc/gss (online)
dependency   require_all/refresh svc:/milestone/name-services (online)

So it's offline, for no reason, and the log file shows nothing
interesting:

# cat /var/svc/log/network-smb-client:default.log
[ Sep  4 17:36:47 Enabled. ]
[ Sep  4 17:36:48 Rereading configuration. ]
[ Sep  4 17:36:49 Executing start method ("/lib/svc/method/smb-client 
start") ]
[ Sep  4 17:36:50 Method "start" exited with status 0 ]
[ Sep  4 18:51:20 Disabled. ]
[ Sep  4 18:51:20 Rereading configuration. ]
[ Sep  4 18:51:20 Enabled. ]
[ Sep  4 18:51:20 Executing start method ("/lib/svc/method/smb-client 
start") ]
[ Sep  4 18:51:20 Method "start" exited with status 0 ]
[ Sep  4 22:55:45 Enabled. ]
[ Sep  5 07:00:19 Disabled. ]
[ Sep  5 07:00:32 Enabled. ]
[ Sep  5 07:04:22 Disabled. ]
[ Sep  5 07:04:36 Enabled. ]

I've attached the manifest and the method script for the
service.  What can I do to debug this?

Thanks,
Rob T
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.xml
Type: text/xml
Size: 2925 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20070905/99b577a2/attachment.xml>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: smb-client
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20070905/99b577a2/attachment.ksh>

Reply via email to