Jump to content

NIS + autofs: Automounter won't start


epretorious
 Share

Recommended Posts

I've configured NIS correctly:

 

[admin@vdc-vm2 Desktop]$ ypcat -k auto.master
/localmnt /etc/auto.local --timeout=60
/exit14 /ypsrc/auto.home --timeout=60
/bugs /ypsrc/auto.bugs --timeout=60
/exit15 /ypsrc/auto.exit15 --timeout=60
/mts /ypsrc/auto.mts --timeout=60
/bldmnt /ypsrc/auto.buildmap --timeout=60
/exit26 /ypsrc/auto.exit26home --timeout=60
/scripts /ypsrc/auto.scripts --timeout=60
/mts-cm /ypsrc/auto.mts-cm --timeout=60

...but when I start autofs, it complains:

 

[admin@vdc-vm2 Desktop]$ sudo /etc/init.d/autofs start
Starting autofs:												[FAILED]

[admin@vdc-vm2 Desktop]$ sudo tail -35 /var/log/messages
Dec 13 19:30:36 vdc-vm2 sudo:	admin : TTY=pts/0; PWD=/home/admin; USER=root; COMMAND=/etc/init.d/autofs start
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /localmnt
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /localmnt failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /exit14
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /exit14 failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /bugs
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /bugs failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /exit15
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /exit15 failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /mts
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /mts failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /bldmnt
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /bldmnt failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /exit26
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /exit26 failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /scripts
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /scripts failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: mount_autofs_indirect: failed to read map for /mts-cm
Dec 13 19:30:37 vdc-vm2 automount[22293]: handle_mounts: mount of /mts-cm failed!
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_do_mount: failed to startup mount
Dec 13 19:30:37 vdc-vm2 automount[22293]: master_read_master: no mounts in table

What's causing this failure?

Edited by epretorious
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...