Signs of Triviality

Opinions, mostly my own, on the importance of being and other things.
[homepage] [index] [jschauma@netmeister.org] [@jschauma] [RSS]

Solaris 10: svcadm rquotad

When booting up the Solaris 10 fileserver, I noticed the following message on the console:

    inetd[260]: Property 'name' of instance svc:/network/nfs/rquota:default is missing, inconsistent or invalid
    inetd[260]: Invalid configuration for instance svc:/network/nfs/rquota:default, placing in maintenance
Neither svcprop nor inspection of the file /var/svc/manifest/network/nfs/rquota.xml seemed to reveal anything about the name being wrong. After much poking around, countless svcadm restart svc:/network/nfs/rquota:default and trying to write a new rquota.xml from scratch, it finally dawned on me that the error was in inetd, or rather in the way that inetd tries to find the service name.

/etc/services contained the right entry, as did /etc/rpc. However, /etc/nsswitch.conf did contain the line
    rpc:        nis [NOTFOUND=return] files
Since the NIS server does not provide rpc, inetd was unable to find the right service, and hence not able to resolve the name "rquotad". Note that after changing /etc/nsswitch.conf, inetd needed to be restarted (svcadm restart svc:/network/inetd:default) before rquotad could finally be restarted without the error.

June 28, 2006


[Solaris 10 serial console] [index] [Solaris 10 libstdc++.la empty]