[Bug 927908] Re: rpc.idmapd refuses to start

manut manut at mecka.net
Sat Feb 11 14:42:16 UTC 2012


> >         exec echo "2"
> > 
> > end script
> 
> Instead, please try adding just 'exec > /var/log/idmapd.log 2>&1' as the
> first line of the pre-start script. This will give you a /var/log/idmapd.log
> showing what's going wrong.

Thanks for the hint. I removed the 'exec echo' lines and now get the following
log:

local at vogone:~$ cat /var/log/idmapd.log 
idmapd stop/pre-start, process 848
local at vogone:~$ sudo status idmapd
[sudo] password for local: 
idmapd stop/waiting
local at vogone:~$ 

If i try to start idmapd manually it still works:

root at vogone:~# rpc.idmapd -v -f
rpc.idmapd: libnfsidmap: using domain: ABCDE.net

rpc.idmapd: libnfsidmap: loaded plugin /usr/lib/libnfsidmap/nsswitch.so for
method nsswitch

rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.idmapd: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such file or directory
root at vogone:~# mount -t rpc_pipefs rpc_pipefs
/var/lib/nfs/rpc_pipefsroot at vogone:~# rpc.idmapd -v -f
rpc.idmapd: libnfsidmap: using domain: ABCDE.net

rpc.idmapd: libnfsidmap: loaded plugin /usr/lib/libnfsidmap/nsswitch.so for
method nsswitch

rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel


> > but the idmapper is now running after a reboot.
> 
> Surprising.  Can you reproduce the original failure now?  Does 'status
> idmapd' show the upstart job running?
 
Yes, if i keep the exec echo lines in the config file i get the pid with the
status command:

local at vogone:~$ status idmapd
idmapd start/running, process 884


> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/927908
> 
> Title:
>   rpc.idmapd refuses to start
> 
> Status in “nfs-utils” package in Ubuntu:
>   Invalid
> 
> Bug description:
>   The following lines in /etc/fstab are missing:
> 
>   rpc_pipefs      /var/lib/nfs/rpc_pipefs rpc_pipefs      defaults        0       0
>   nfsd    /proc/fs/nfsd   nfsd    defaults        0       0
> 
>   so rpc.idmapd refuses to start with this log:
> 
>   rpc.idmapd -v -f
>   rpc.idmapd: libnfsidmap: using domain: blubberblase
> 
>   rpc.idmapd: libnfsidmap: loaded plugin
>   /usr/lib/libnfsidmap/nsswitch.so for method nsswitch
> 
>   rpc.idmapd: Expiration time is 600 seconds.
>   rpc.idmapd: nfsdopenone: Opening /proc/net/rpc/nfs4.nametoid/channel failed: errno 2 (No such file or directory)
>   rpc.idmapd: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such file or directory
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/927908/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/927908

Title:
  rpc.idmapd refuses to start

Status in “nfs-utils” package in Ubuntu:
  Invalid

Bug description:
  The following lines in /etc/fstab are missing:

  rpc_pipefs      /var/lib/nfs/rpc_pipefs rpc_pipefs      defaults        0       0
  nfsd    /proc/fs/nfsd   nfsd    defaults        0       0

  so rpc.idmapd refuses to start with this log:

  rpc.idmapd -v -f
  rpc.idmapd: libnfsidmap: using domain: blubberblase

  rpc.idmapd: libnfsidmap: loaded plugin
  /usr/lib/libnfsidmap/nsswitch.so for method nsswitch

  rpc.idmapd: Expiration time is 600 seconds.
  rpc.idmapd: nfsdopenone: Opening /proc/net/rpc/nfs4.nametoid/channel failed: errno 2 (No such file or directory)
  rpc.idmapd: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/927908/+subscriptions




More information about the foundations-bugs mailing list