* Re: AutoFS problem
@ 2004-05-28 7:42 Giovanni Romanenghi
0 siblings, 0 replies; 9+ messages in thread
From: Giovanni Romanenghi @ 2004-05-28 7:42 UTC (permalink / raw)
To: Ian Kent; +Cc: autofs
My entries LDAP
This is USER LDAP
dn: uid=giovanni, ou=People, o=test.it, dc=test,dc=it
vacationStartDate: 20030827220000Z
mailAutoReplyTextInternal;lang-en: descrizione interna
pwdMustChange: 2147483647
mail: giovanni.romanenghi@test.it
uid: giovanni
pwdCanChange: 2147483647
mailAutoReplyText;lang-it: descrizione del testo
mailAutoReplyTimeout: 0
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: inetUser
objectClass: inetSubscriber
objectClass: ipUser
objectClass: nsManagedPerson
objectClass: inetmailuser
objectClass: inetlocalmailrecipient
objectClass: userpresenceprofile
objectClass: shadowAccount
objectClass: account
objectClass: posixAccount
objectClass: sambaaccount
uidNumber: 10162
sn: romanenghi
mailUserStatus: active
gidNumber: 223
mailDeliveryOption: mailbox
primaryGroupID: 1021
userPassword:: e2NyeXB0fWlGNUdCSk1ZbmlSaEk=
nswmExtendedUserPrefs: meDraftFolder=Drafts
nswmExtendedUserPrefs: meSentFolder=Sent
nswmExtendedUserPrefs: meTrashFolder=Trash
nswmExtendedUserPrefs: meInitialized=true
nswmExtendedUserPrefs: meColorSet=3
mailAutoReplyMode: reply
lmPassword: 62CF8F22A6498F12AAD3B435B51404EE
mailHost: mail.test.it
rid: 21324
vacationEndDate: 20030828220000Z
cn: giovanni romanenghi
acctFlags: [U ]
logofftime: 2147483647
pabURI: ldap://ldap.test.it:389/ou=giovanni,ou=people,o=test.it,dc=test
,dc=it,o=pab
mailAutoReplyText;lang-en: descrizione esterna
homeDirectory: /home/giovanni
givenName: giovanni
displayName: giovanni romanenghi
pwdLastSet: 1084871308
inetUserStatus: active
dataSource: SunOne Messaging Server 5.2
ntPassword: C64865C3C02BB87123092D866496D8A4
kickoffTime: 2147483647
loginShell: /bin/bash
logonTime: 2147483647
This is entries for autofs
dn: ou=auto.master, o=test.it, dc=test,dc=it
ou: auto.master
objectClass: top
objectClass: automountMap
dn: cn=/u, ou=auto.master, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: ldap ldap.test.it:ou=auto.u,o=test.it,dc=test,dc=it
cn: /u
dn: cn=/home, ou=auto.master, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it
cn: /home
dn: cn=/prova, ou=auto.master, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
cn: /prova
dn: ou=auto.home, o=test.it, dc=test,dc=it
ou: auto.home
objectClass: top
objectClass: automountMap
dn: cn=giovanni, ou=auto.home, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: -fstype=nfs,hard,intr 192.168.1.162:/tmp/tmp/giovanni
cn: giovanni
dn: ou=auto.prova, o=test.it, dc=test,dc=it
ou: auto.prova
objectClass: top
objectClass: automountMap
dn: cn=giovanni, ou=auto.prova, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: -fstype=autofs,hard,intr 192.168.1.162:/var/prova
cn: giovanni
dn: ou=auto.u, o=test.it, dc=test,dc=it
ou: auto.u
objectClass: top
objectClass: automountMap
dn: cn=giovanni, ou=auto.u, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: -fstype=nfs,hard,intr 192.168.1.162:/tmp/u
cn: giovanni
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <000501cbdd83$5e9a35d0$1bcea170$@admin@uea.ac.uk>]
* Re: autofs problem
[not found] <000501cbdd83$5e9a35d0$1bcea170$@admin@uea.ac.uk>
@ 2011-03-13 1:29 ` Ian Kent
2011-03-14 10:09 ` hpc.admin
[not found] ` <000101cbe22f$df5d3900$9e17ab00$@admin@uea.ac.uk>
0 siblings, 2 replies; 9+ messages in thread
From: Ian Kent @ 2011-03-13 1:29 UTC (permalink / raw)
To: hpc.admin; +Cc: autofs
On Tue, 2011-03-08 at 11:24 +0000, hpc.admin@uea.ac.uk wrote:
> Hello,
>
> I am experiencing autofs problems with my Centos 5.5 system. Upon boot, the
> mount fails with the following error messages (created by passing the -d
> option in the automount):
>
> Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15
> Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15
> switching /home from 1 to 5
> Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path
> /home
> Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368
> path /home
> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid 1090562368
> path /home stat 0
> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp
> 1090562368 finished, switching from 5 to 7
> Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home
> Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background
> mode. New PID=7258.
> Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0
> Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home
> Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
> /var/run/autofs.fifo-home
> Mar 8 10:38:19 cn024 automount[6395]: shut down path /home
> Mar 8 10:38:19 cn024 automount[6395]: autofs stopped
> Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version
> 5.0.1-0.rc2.143.el5, master map auto.master
> Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01
> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading
> master files auto.master
> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init gathered
> global options: (null)
> Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file):
> read entry /home
> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home
> Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name
> /var/run/autofs.fifo-home
> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading map file
> /etc/auto.home
> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init gathered
> global options: rw,intr
> Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failed to
> create ioctl fd for autofs path /home
> Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /home failed!
> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup
> mount
> Mar 8 10:38:28 cn024 automount[7334]: no mounts in table
>
> The error messages to note are the last four lines. When I restart the
> daemon, the automount works, but fails after a day or two. The version of
> autofs I am using is:
What makes you think these are the same problem?
Did you check to see if /home was already mounted when it failed?
What is in your /etc/sysconfig/autofs?
>
> Name : autofs Relocations: (not relocatable)
> Version : 5.0.1 Vendor: CentOS
> Release : 0.rc2.143.el5_5.6
>
> Any help will be greatly appreciated. Thanks in advance.
>
> ----------
> Wadud Miah
> High Performance Computing Systems Developer
> Research Computing Services, University of East Anglia
> Telephone: 01603 593856
>
> Information Services
> ----------
>
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: autofs problem
2011-03-13 1:29 ` autofs problem Ian Kent
@ 2011-03-14 10:09 ` hpc.admin
[not found] ` <000101cbe22f$df5d3900$9e17ab00$@admin@uea.ac.uk>
1 sibling, 0 replies; 9+ messages in thread
From: hpc.admin @ 2011-03-14 10:09 UTC (permalink / raw)
To: 'Ian Kent', hpc.admin; +Cc: autofs
Hello Ian,
Thank you for your reply. The contents of /etc/sysconfig/autofs are:
[root@head00 ~]# grep -v '^#' /etc/sysconfig/autofs
TIMEOUT=300
BROWSE_MODE="no"
USE_MISC_DEVICE="yes"
[root@head00 ~]#
When the machine boots up, it completely fails to mount /home/<username>; it
just complains that /home/<username> doesn't exist. The contents of
/var/log/messages then show the message given below, thus I assume that they
are related. Do let me know if you require further information. Googling
around for the error message hasn't been very successful :-(
Thanks for your help,
Wadud.
>-----Original Message-----
>From: hpc.admin-bounces@uea.ac.uk [mailto:hpc.admin-bounces@uea.ac.uk] On
>Behalf Of Ian Kent
>Sent: Sunday, March 13, 2011 1:29 AM
>To: hpc.admin@uea.ac.uk
>Cc: autofs@linux.kernel.org
>Subject: Re: [autofs] autofs problem
>
>On Tue, 2011-03-08 at 11:24 +0000, hpc.admin@uea.ac.uk wrote:
>> Hello,
>>
>> I am experiencing autofs problems with my Centos 5.5 system. Upon boot,
the
>> mount fails with the following error messages (created by passing the -d
>> option in the automount):
>>
>> Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15
>> Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15
>> switching /home from 1 to 5
>> Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path
>> /home
>> Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368
>> path /home
>> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid
1090562368
>> path /home stat 0
>> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp
>> 1090562368 finished, switching from 5 to 7
>> Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home
>> Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background
>> mode. New PID=7258.
>> Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0
>> Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home
>> Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
>> /var/run/autofs.fifo-home
>> Mar 8 10:38:19 cn024 automount[6395]: shut down path /home
>> Mar 8 10:38:19 cn024 automount[6395]: autofs stopped
>> Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version
>> 5.0.1-0.rc2.143.el5, master map auto.master
>> Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01
>> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading
>> master files auto.master
>> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
gathered
>> global options: (null)
>> Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file):
>> read entry /home
>> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home
>> Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name
>> /var/run/autofs.fifo-home
>> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading map
file
>> /etc/auto.home
>> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
gathered
>> global options: rw,intr
>> Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failed
to
>> create ioctl fd for autofs path /home
>> Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /home
failed!
>> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup
>> mount
>> Mar 8 10:38:28 cn024 automount[7334]: no mounts in table
>>
>> The error messages to note are the last four lines. When I restart the
>> daemon, the automount works, but fails after a day or two. The version of
>> autofs I am using is:
>
>What makes you think these are the same problem?
>Did you check to see if /home was already mounted when it failed?
>What is in your /etc/sysconfig/autofs?
>
>>
>> Name : autofs Relocations: (not relocatable)
>> Version : 5.0.1 Vendor: CentOS
>> Release : 0.rc2.143.el5_5.6
>>
>> Any help will be greatly appreciated. Thanks in advance.
>>
>> ----------
>> Wadud Miah
>> High Performance Computing Systems Developer
>> Research Computing Services, University of East Anglia
>> Telephone: 01603 593856
>>
>> Information Services
>> ----------
>>
>>
>>
>> _______________________________________________
>> autofs mailing list
>> autofs@linux.kernel.org
>> http://linux.kernel.org/mailman/listinfo/autofs
>
>
>
>_______________________________________________
>Hpc.admin mailing list
>Hpc.admin@uea.ac.uk
>http://www.uea.ac.uk/mailman21/listinfo/hpc.admin
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <000101cbe22f$df5d3900$9e17ab00$@admin@uea.ac.uk>]
* Re: autofs problem
[not found] ` <000101cbe22f$df5d3900$9e17ab00$@admin@uea.ac.uk>
@ 2011-03-14 14:59 ` Ian Kent
2011-03-14 15:08 ` Ian Kent
0 siblings, 1 reply; 9+ messages in thread
From: Ian Kent @ 2011-03-14 14:59 UTC (permalink / raw)
To: hpc.admin; +Cc: autofs
On Mon, 2011-03-14 at 10:09 +0000, hpc.admin@uea.ac.uk wrote:
> Hello Ian,
>
> Thank you for your reply. The contents of /etc/sysconfig/autofs are:
>
> [root@head00 ~]# grep -v '^#' /etc/sysconfig/autofs
> TIMEOUT=300
> BROWSE_MODE="no"
> USE_MISC_DEVICE="yes"
> [root@head00 ~]#
>
> When the machine boots up, it completely fails to mount /home/<username>; it
> just complains that /home/<username> doesn't exist. The contents of
> /var/log/messages then show the message given below, thus I assume that they
> are related. Do let me know if you require further information. Googling
> around for the error message hasn't been very successful :-(
Failing to open a control file handle on an automount is fatal.
I don't know why that's happening.
We would probably need to add some log prints to get more information.
>
> Thanks for your help,
> Wadud.
>
> >-----Original Message-----
> >From: hpc.admin-bounces@uea.ac.uk [mailto:hpc.admin-bounces@uea.ac.uk] On
> >Behalf Of Ian Kent
> >Sent: Sunday, March 13, 2011 1:29 AM
> >To: hpc.admin@uea.ac.uk
> >Cc: autofs@linux.kernel.org
> >Subject: Re: [autofs] autofs problem
> >
> >On Tue, 2011-03-08 at 11:24 +0000, hpc.admin@uea.ac.uk wrote:
> >> Hello,
> >>
> >> I am experiencing autofs problems with my Centos 5.5 system. Upon boot,
> the
> >> mount fails with the following error messages (created by passing the -d
> >> option in the automount):
> >>
> >> Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15
> >> Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15
> >> switching /home from 1 to 5
> >> Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path
> >> /home
> >> Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368
> >> path /home
> >> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid
> 1090562368
> >> path /home stat 0
> >> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp
> >> 1090562368 finished, switching from 5 to 7
> >> Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home
> >> Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background
> >> mode. New PID=7258.
> >> Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0
> >> Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home
> >> Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
> >> /var/run/autofs.fifo-home
> >> Mar 8 10:38:19 cn024 automount[6395]: shut down path /home
> >> Mar 8 10:38:19 cn024 automount[6395]: autofs stopped
> >> Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version
> >> 5.0.1-0.rc2.143.el5, master map auto.master
> >> Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01
> >> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading
> >> master files auto.master
> >> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
> gathered
> >> global options: (null)
> >> Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file):
> >> read entry /home
> >> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home
> >> Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name
> >> /var/run/autofs.fifo-home
> >> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading map
> file
> >> /etc/auto.home
> >> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
> gathered
> >> global options: rw,intr
> >> Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failed
> to
> >> create ioctl fd for autofs path /home
> >> Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /home
> failed!
> >> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup
> >> mount
> >> Mar 8 10:38:28 cn024 automount[7334]: no mounts in table
> >>
> >> The error messages to note are the last four lines. When I restart the
> >> daemon, the automount works, but fails after a day or two. The version of
> >> autofs I am using is:
> >
> >What makes you think these are the same problem?
> >Did you check to see if /home was already mounted when it failed?
> >What is in your /etc/sysconfig/autofs?
> >
> >>
> >> Name : autofs Relocations: (not relocatable)
> >> Version : 5.0.1 Vendor: CentOS
> >> Release : 0.rc2.143.el5_5.6
> >>
> >> Any help will be greatly appreciated. Thanks in advance.
> >>
> >> ----------
> >> Wadud Miah
> >> High Performance Computing Systems Developer
> >> Research Computing Services, University of East Anglia
> >> Telephone: 01603 593856
> >>
> >> Information Services
> >> ----------
> >>
> >>
> >>
> >> _______________________________________________
> >> autofs mailing list
> >> autofs@linux.kernel.org
> >> http://linux.kernel.org/mailman/listinfo/autofs
> >
> >
> >
> >_______________________________________________
> >Hpc.admin mailing list
> >Hpc.admin@uea.ac.uk
> >http://www.uea.ac.uk/mailman21/listinfo/hpc.admin
>
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: autofs problem
2011-03-14 14:59 ` Ian Kent
@ 2011-03-14 15:08 ` Ian Kent
0 siblings, 0 replies; 9+ messages in thread
From: Ian Kent @ 2011-03-14 15:08 UTC (permalink / raw)
To: hpc.admin; +Cc: autofs
On Mon, 2011-03-14 at 22:59 +0800, Ian Kent wrote:
> On Mon, 2011-03-14 at 10:09 +0000, hpc.admin@uea.ac.uk wrote:
> > Hello Ian,
> >
> > Thank you for your reply. The contents of /etc/sysconfig/autofs are:
> >
> > [root@head00 ~]# grep -v '^#' /etc/sysconfig/autofs
> > TIMEOUT=300
> > BROWSE_MODE="no"
> > USE_MISC_DEVICE="yes"
> > [root@head00 ~]#
> >
> > When the machine boots up, it completely fails to mount /home/<username>; it
> > just complains that /home/<username> doesn't exist. The contents of
> > /var/log/messages then show the message given below, thus I assume that they
> > are related. Do let me know if you require further information. Googling
> > around for the error message hasn't been very successful :-(
>
> Failing to open a control file handle on an automount is fatal.
> I don't know why that's happening.
>
> We would probably need to add some log prints to get more information.
Where does the map come from, is it network based?
If it is and you use NetworkManager, have you checked to see if
automount is starting up during NetworkManager initialization?
In the log you show why do we see automount shutting down, then starting
up, you say the problem is at boot but the example log doesn't show an
error at boot?
And, did you check if /home was already mounted after the shutdown and
before that startup in the log.
>
> >
> > Thanks for your help,
> > Wadud.
> >
> > >-----Original Message-----
> > >From: hpc.admin-bounces@uea.ac.uk [mailto:hpc.admin-bounces@uea.ac.uk] On
> > >Behalf Of Ian Kent
> > >Sent: Sunday, March 13, 2011 1:29 AM
> > >To: hpc.admin@uea.ac.uk
> > >Cc: autofs@linux.kernel.org
> > >Subject: Re: [autofs] autofs problem
> > >
> > >On Tue, 2011-03-08 at 11:24 +0000, hpc.admin@uea.ac.uk wrote:
> > >> Hello,
> > >>
> > >> I am experiencing autofs problems with my Centos 5.5 system. Upon boot,
> > the
> > >> mount fails with the following error messages (created by passing the -d
> > >> option in the automount):
> > >>
> > >> Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15
> > >> Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15
> > >> switching /home from 1 to 5
> > >> Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path
> > >> /home
> > >> Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368
> > >> path /home
> > >> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid
> > 1090562368
> > >> path /home stat 0
> > >> Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp
> > >> 1090562368 finished, switching from 5 to 7
> > >> Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home
> > >> Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background
> > >> mode. New PID=7258.
> > >> Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0
> > >> Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home
> > >> Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
> > >> /var/run/autofs.fifo-home
> > >> Mar 8 10:38:19 cn024 automount[6395]: shut down path /home
> > >> Mar 8 10:38:19 cn024 automount[6395]: autofs stopped
> > >> Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version
> > >> 5.0.1-0.rc2.143.el5, master map auto.master
> > >> Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01
> > >> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading
> > >> master files auto.master
> > >> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
> > gathered
> > >> global options: (null)
> > >> Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file):
> > >> read entry /home
> > >> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home
> > >> Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name
> > >> /var/run/autofs.fifo-home
> > >> Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading map
> > file
> > >> /etc/auto.home
> > >> Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
> > gathered
> > >> global options: rw,intr
> > >> Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failed
> > to
> > >> create ioctl fd for autofs path /home
> > >> Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /home
> > failed!
> > >> Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup
> > >> mount
> > >> Mar 8 10:38:28 cn024 automount[7334]: no mounts in table
> > >>
> > >> The error messages to note are the last four lines. When I restart the
> > >> daemon, the automount works, but fails after a day or two. The version of
> > >> autofs I am using is:
> > >
> > >What makes you think these are the same problem?
> > >Did you check to see if /home was already mounted when it failed?
> > >What is in your /etc/sysconfig/autofs?
> > >
> > >>
> > >> Name : autofs Relocations: (not relocatable)
> > >> Version : 5.0.1 Vendor: CentOS
> > >> Release : 0.rc2.143.el5_5.6
> > >>
> > >> Any help will be greatly appreciated. Thanks in advance.
> > >>
> > >> ----------
> > >> Wadud Miah
> > >> High Performance Computing Systems Developer
> > >> Research Computing Services, University of East Anglia
> > >> Telephone: 01603 593856
> > >>
> > >> Information Services
> > >> ----------
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> autofs mailing list
> > >> autofs@linux.kernel.org
> > >> http://linux.kernel.org/mailman/listinfo/autofs
> > >
> > >
> > >
> > >_______________________________________________
> > >Hpc.admin mailing list
> > >Hpc.admin@uea.ac.uk
> > >http://www.uea.ac.uk/mailman21/listinfo/hpc.admin
> >
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
^ permalink raw reply [flat|nested] 9+ messages in thread
* autofs problem
@ 2011-03-08 11:24 hpc.admin
0 siblings, 0 replies; 9+ messages in thread
From: hpc.admin @ 2011-03-08 11:24 UTC (permalink / raw)
To: autofs; +Cc: hpc.admin
Hello,
I am experiencing autofs problems with my Centos 5.5 system. Upon boot, the
mount fails with the following error messages (created by passing the -d
option in the automount):
Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15
Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15
switching /home from 1 to 5
Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path
/home
Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368
path /home
Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid 1090562368
path /home stat 0
Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp
1090562368 finished, switching from 5 to 7
Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home
Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background
mode. New PID=7258.
Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0
Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home
Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
/var/run/autofs.fifo-home
Mar 8 10:38:19 cn024 automount[6395]: shut down path /home
Mar 8 10:38:19 cn024 automount[6395]: autofs stopped
Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version
5.0.1-0.rc2.143.el5, master map auto.master
Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01
Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading
master files auto.master
Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init gathered
global options: (null)
Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file):
read entry /home
Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home
Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name
/var/run/autofs.fifo-home
Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading map file
/etc/auto.home
Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init gathered
global options: rw,intr
Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failed to
create ioctl fd for autofs path /home
Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /home failed!
Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup
mount
Mar 8 10:38:28 cn024 automount[7334]: no mounts in table
The error messages to note are the last four lines. When I restart the
daemon, the automount works, but fails after a day or two. The version of
autofs I am using is:
Name : autofs Relocations: (not relocatable)
Version : 5.0.1 Vendor: CentOS
Release : 0.rc2.143.el5_5.6
Any help will be greatly appreciated. Thanks in advance.
----------
Wadud Miah
High Performance Computing Systems Developer
Research Computing Services, University of East Anglia
Telephone: 01603 593856
Information Services
----------
^ permalink raw reply [flat|nested] 9+ messages in thread
* AutoFS problem
@ 2004-05-26 15:07 Giovanni Romanenghi
2004-05-28 2:14 ` Ian Kent
2004-05-28 14:23 ` raven
0 siblings, 2 replies; 9+ messages in thread
From: Giovanni Romanenghi @ 2004-05-26 15:07 UTC (permalink / raw)
To: autofs
[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]
I configure my sun java desktop to authenticate with ldap server ( Sun Java System Directory server 5.1 Sp3) and I configure autofs to mount user home directory at logon and it works .
My problem is that the clients don't mount other file systems that aren't home directory.
All file systems that the workstation must mount are configured on ldap server.
When I connect from my workstation with my user giovanni , I view my home directory but the autofs doesn't mount the disk /u and /prova.
The nfs server is ok because i can mount all share from my workstation manually.
My /etc/exports:
/tmp/tmp (rw,sync,no_root_squash)
/tmp/u (rw,sync,no_root_squash)
/var/prova (rw,sync,no_root_squash)
/etc/init.d/autofs status:
Configured Mount Points:
------------------------
/usr/sbin/automount /u ldap ldap.:.it:ou=auto.u,o=test.it,dc=test,dc=it
/usr/sbin/automount /home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it
/usr/sbin/automount /prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
Active Mount Points:
--------------------
/usr/sbin/automount /u ldap ldap.test.it:ou=auto.u,o=test.it,dc=test,dc=it
/usr/sbin/automount /home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it
/usr/sbin/automount /prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
This is my df -k:
/dev/hda1 10490084 5951992 4538092 57% /
/dev/hda4 5694860 4495668 1199192 79% /backup
shmfs 127868 0 127868 0% /dev/shm
/tmp/tmp/giovanni 10490084 5951992 4538092 57% /home/giovanni
I install this version of autofs:
autofs-3.1.7-731
Any Ideas?
TIA
Giovanni
P.S. I attach the export of LDAP.
[-- Attachment #2: master.ldif --]
[-- Type: application/octet-stream, Size: 1488 bytes --]
dn: ou=auto.master, o=test.it, dc=test,dc=it
ou: auto.master
objectClass: top
objectClass: automountMap
dn: cn=/u, ou=auto.master, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: ldap ldap.test.it:ou=auto.u,o=test.it,dc=test,dc=it
cn: /u
dn: cn=/home, ou=auto.master, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it
cn: /home
dn: cn=/prova, ou=auto.master, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
cn: /prova
dn: ou=auto.home, o=test.it, dc=test,dc=it
ou: auto.home
objectClass: top
objectClass: automountMap
dn: cn=giovanni, ou=auto.home, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: -fstype=nfs,hard,intr 192.168.1.162:/tmp/tmp/giovanni
cn: giovanni
dn: ou=auto.prova, o=test.it, dc=test,dc=it
ou: auto.prova
objectClass: top
objectClass: automountMap
dn: cn=giovanni, ou=auto.prova, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: -fstype=autofs,hard,intr 192.168.1.162:/var/prova
cn: giovanni
dn: ou=auto.u, o=test.it, dc=test,dc=it
ou: auto.u
objectClass: top
objectClass: automountMap
dn: cn=giovanni, ou=auto.u, o=test.it, dc=test,dc=it
objectClass: automount
objectClass: top
automountInformation: -fstype=nfs,hard,intr 192.168.1.162:/tmp/u
cn: giovanni
[-- Attachment #3: Type: text/plain, Size: 140 bytes --]
_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: AutoFS problem
2004-05-26 15:07 AutoFS problem Giovanni Romanenghi
@ 2004-05-28 2:14 ` Ian Kent
2004-05-28 14:23 ` raven
1 sibling, 0 replies; 9+ messages in thread
From: Ian Kent @ 2004-05-28 2:14 UTC (permalink / raw)
To: Giovanni Romanenghi; +Cc: autofs
On Wed, 26 May 2004, Giovanni Romanenghi wrote:
> I configure my sun java desktop to authenticate with ldap server ( Sun Java System Directory server 5.1 Sp3) and I configure autofs to mount user home directory at logon and it works .
>
> My problem is that the clients don't mount other file systems that aren't home directory.
>
> All file systems that the workstation must mount are configured on ldap server.
>
> When I connect from my workstation with my user giovanni , I view my home directory but the autofs doesn't mount the disk /u and /prova.
>
> The nfs server is ok because i can mount all share from my workstation manually.
> My /etc/exports:
> /tmp/tmp (rw,sync,no_root_squash)
> /tmp/u (rw,sync,no_root_squash)
> /var/prova (rw,sync,no_root_squash)
>
> /etc/init.d/autofs status:
> Configured Mount Points:
> ------------------------
> /usr/sbin/automount /u ldap ldap.:.it:ou=auto.u,o=test.it,dc=test,dc=it
> /usr/sbin/automount /home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it
> /usr/sbin/automount /prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
>
> Active Mount Points:
> --------------------
> /usr/sbin/automount /u ldap ldap.test.it:ou=auto.u,o=test.it,dc=test,dc=it
> /usr/sbin/automount /home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it
> /usr/sbin/automount /prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
>
>
> This is my df -k:
> /dev/hda1 10490084 5951992 4538092 57% /
> /dev/hda4 5694860 4495668 1199192 79% /backup
> shmfs 127868 0 127868 0% /dev/shm
> /tmp/tmp/giovanni 10490084 5951992 4538092 57% /home/giovanni
>
>
> I install this version of autofs:
> autofs-3.1.7-731
>
> Any Ideas?
What does one of your LDAP entries look like please.
Ian
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: AutoFS problem
2004-05-26 15:07 AutoFS problem Giovanni Romanenghi
2004-05-28 2:14 ` Ian Kent
@ 2004-05-28 14:23 ` raven
1 sibling, 0 replies; 9+ messages in thread
From: raven @ 2004-05-28 14:23 UTC (permalink / raw)
To: Giovanni Romanenghi; +Cc: autofs
On Wed, 26 May 2004, Giovanni Romanenghi wrote:
> When I connect from my workstation with my user giovanni , I view my home directory but the autofs doesn't mount the disk /u and /prova.
>
OK I've looked at your LDAP entries and I still don't know what you expect
to happen.
So what is it you are trying to achieve?
What do you expect to be mounted?
and what do you expect to cause it to mount?
Ian
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-03-14 15:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28 7:42 AutoFS problem Giovanni Romanenghi
[not found] <000501cbdd83$5e9a35d0$1bcea170$@admin@uea.ac.uk>
2011-03-13 1:29 ` autofs problem Ian Kent
2011-03-14 10:09 ` hpc.admin
[not found] ` <000101cbe22f$df5d3900$9e17ab00$@admin@uea.ac.uk>
2011-03-14 14:59 ` Ian Kent
2011-03-14 15:08 ` Ian Kent
-- strict thread matches above, loose matches on Subject: below --
2011-03-08 11:24 hpc.admin
2004-05-26 15:07 AutoFS problem Giovanni Romanenghi
2004-05-28 2:14 ` Ian Kent
2004-05-28 14:23 ` raven
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.