Almost ready with diskless setup
cpghost
cpghost at cordula.ws
Fri Aug 11 13:37:59 UTC 2006
On Thu, Aug 10, 2006 at 08:39:15PM +0200, Nagy L?szl? Zsolt wrote:
>
> >
> >2. syslogd tells that it cannot open the pid file. (Operation not
> >supported) However, it creates /var/log/syslogd.pid. But that file is
> >empty. What can be the problem?
> After making another diskless distribution, I found out that the
> 'Operation not supported' error comes out because of calling flock() on
> nfs. For example:
>
> ---------------
> sendmail_submit: /etc/mail/aliases.db not present, generating
> cannot flock(/etc/mail/aliases, fd=3, type=6, omode=4002, euid=0):
> Operation not supported
> --------------
>
> The same message (Operation not supported) comes when creating the pid
> file /var/log/syslogd.pid. The /var/log filesystem is writeable. Is it
> possible that flock() is not implementedon nfs? :-(
It is, but you need to enable it:
On the NFS server and clients, add to /etc/rc.conf:
rpcbind_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
> Laszlo
Regards,
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
More information about the freebsd-questions
mailing list