Harry Putnam writes:
> > It means that it's changing state.  Use "svcs -xv nfs/server" to view
> > more details about the current state, and check the log file that
> > mentions if you need even more information.
> 
> Neither that command nor the log give one bit more information really.

If you'd caught it when the "*" was there, it likely would have told
you that the service was currently running and was in the process of
stopping, with the service method still running.

> The do give some false misleading information though.

I don't think it's "false," though misleading may be accurate.

> Unless someone snuck in here, it wasn't temporarily disabled by an
> adminstrator. The log shows similar misleading and untrue information

Actually, it shows what really happened.  The server was configured to
run by default:

>   [ Mar 16 10:37:41 Executing start method ("/lib/svc/method/nfs-server
>   start"). ]

When it ran, it discovered that no actual NFS shares were configured
on the system:

>   No NFS filesystems are shared
>   [ Mar 16 10:37:41 Method "start" exited with status 0. ]

So, it disabled *itself*:

>   [ Mar 16 10:37:41 Stopping because service disabled. ]
>   [ Mar 16 10:37:41 Executing stop method ("/lib/svc/method/nfs-server
>   stop 98"). ]
>   [ Mar 16 10:37:46 Method "stop" exited with status 0. ]

For the terminally curious, a quick scan of that method script reveals
this:

        if [ $startnfsd -ne 0 ]; then
[...]
        else
                /usr/sbin/svcadm disable -t svc:/network/nfs/server
                echo "No NFS filesystems are shared"

Note the use of "svcadm disable" (the administrative interface to
disable a service) and "-t" (a flag indicating a temporary disable
request).

> I'm sure its because I'm too dense or inexperienced to make sense of
> it but that debug output appears fairly unhelpful.

Given that you're having client problems, I think this is probably
barking up the wrong tree.

-- 
James Carlson, Solaris Networking              <[email protected]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to