This is a discussion on Unable to lock mailbox: No locks available within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> me again. not my day today. I mounted a remote mailbox to /var/spool/mail on a local machine using mount. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| me again. not my day today. I mounted a remote mailbox to /var/spool/mail on a local machine using mount. now i can read the mail in the mailboxes via vi or a text editor but as soon as i try to read it using 'mail' it pauses for a while then comes back with "Unable to lock mailbox: No locks available" I have write access to that files so whats going on? Google was no help here |
| |||
| Darren wrote: > me again. not my day today. I mounted a remote mailbox to /var/spool/mail > on a local machine using mount. now i can read the mail in the mailboxes > via vi or a text editor but as soon as i try to read it using 'mail' it > pauses for a while then comes back with "Unable to lock mailbox: No locks > available" I have write access to that files so whats going on? Google was > no help here out of curiosity, what kind of 'remote' connection is that? nfs? |
| |||
| Le Fri, 03 Jun 2005 14:52:55 +0000, Darren a écrit*: > me again. not my day today. Ouch, we can see that ! Some days just never end ... > I mounted a remote mailbox to /var/spool/mail on > a local machine using mount. now i can read the mail in the mailboxes via vi > or a text editor but as soon as i try to read it using 'mail' it pauses for > a while then comes back with "Unable to lock mailbox: No locks available" Have you been recently playing with NFS ? Is it that your "remote mailbox" is NFS'd ? Then you have what happens recurrently in these kind of installations ... That's one of the reasons POP3 and IMAP are there :-) > I > have write access to that files so whats going on? Google was no help here Mmm, you Google is b0rken then Anyway, maybe you could try to see with 'lsof' if some clients are not too greedy. |
| |||
| "Dominik L. Borkowski" <dom@vbi.vt.edu> wrote in message news:d7ps85$20j$1@solaris.cc.vt.edu... > Darren wrote: > > > me again. not my day today. I mounted a remote mailbox to /var/spool/mail > > on a local machine using mount. now i can read the mail in the mailboxes > > via vi or a text editor but as soon as i try to read it using 'mail' it > > pauses for a while then comes back with "Unable to lock mailbox: No locks > > available" I have write access to that files so whats going on? Google was > > no help here > > out of curiosity, what kind of 'remote' connection is that? nfs? Didn't i say? *looks up* Damned I forgot to mention. Yes its nfs |
| |||
| "Loki Harfagr" <loki@DarkDesign.free.fr> wrote in message news:42a08179$0$16146$626a14ce@news.free.fr... > Le Fri, 03 Jun 2005 14:52:55 +0000, Darren a écrit : > > > me again. not my day today. > > Ouch, we can see that ! Some days just never end ... > > > I mounted a remote mailbox to /var/spool/mail on > > a local machine using mount. now i can read the mail in the mailboxes via vi > > or a text editor but as soon as i try to read it using 'mail' it pauses for > > a while then comes back with "Unable to lock mailbox: No locks available" > > Have you been recently playing with NFS ? > Is it that your "remote mailbox" is NFS'd ? > > Then you have what happens recurrently in these kind of > installations ... That's one of the reasons POP3 and IMAP > are there :-) I use them bu default but tbh I wanted to play with nfs to get it working > > > I > > have write access to that files so whats going on? Google was no help here > > Mmm, you Google is b0rken then > It seems to be b-rken quite a lot these days or is it my typing? > Anyway, maybe you could try to see with 'lsof' if some clients > are not too greedy. Aren't they always > |
| |||
| Le Fri, 03 Jun 2005 17:08:06 +0000, Darren a écrit*: > > "Loki Harfagr" <loki@DarkDesign.free.fr> wrote in message > news:42a08179$0$16146$626a14ce@news.free.fr... >> Le Fri, 03 Jun 2005 14:52:55 +0000, Darren a écrit : >> >> > me again. not my day today. .... >> > I mounted a remote mailbox to /var/spool/mail on >> > a local machine using mount. now i can read the mail in the mailboxes > via vi >> > or a text editor but as soon as i try to read it using 'mail' it pauses > for >> > a while then comes back with "Unable to lock mailbox: No locks > available" >> >> Have you been recently playing with NFS ? >> Is it that your "remote mailbox" is NFS'd ? >> >> Then you have what happens recurrently in these kind of >> installations ... That's one of the reasons POP3 and IMAP >> are there :-) > I use them bu default but tbh I wanted to play with nfs to get it working Yes, I was joking :-) >> Mmm, you Google is b0rken then >> > It seems to be b-rken quite a lot these days or is it my typing? Could be, coulbe, though I made the joke while pasting this link (found by gl0OgeinG), and it didn't print Hope it'll help you ? http://www.cs.wits.ac.za/~jon/help/u...r/nolocks.html >> Anyway, maybe you could try to see with 'lsof' if some clients >> are not too greedy. > Aren't they always Half as much as our PHBs ;-) The lsof is to use just in case. I'd bet your actual problem is more related to using 'mail' (especially if after VI) and not having your NFS set to such bold :-) What does your NFS says about 'sync' ? And, any old time, NFS is great but it can be really bitchy, especially when using database and mail, really demanding apps ... G00d lucK, and keep moving !-) |
| |||
| Darren wrote: >> out of curiosity, what kind of 'remote' connection is that? nfs? > Didn't i say? *looks up* Damned I forgot to mention. Yes its nfs what options are used for exporting/mounting it? |
| |||
| "Loki Harfagr" <loki@DarkDesign.free.fr> wrote in message news:42a092ae$0$23475$626a14ce@news.free.fr... > Le Fri, 03 Jun 2005 17:08:06 +0000, Darren a écrit : > > > > > "Loki Harfagr" <loki@DarkDesign.free.fr> wrote in message > > news:42a08179$0$16146$626a14ce@news.free.fr... > >> Le Fri, 03 Jun 2005 14:52:55 +0000, Darren a écrit : > >> > >> > me again. not my day today. > ... > >> > I mounted a remote mailbox to /var/spool/mail on > >> > a local machine using mount. now i can read the mail in the mailboxes > > via vi > >> > or a text editor but as soon as i try to read it using 'mail' it pauses > > for > >> > a while then comes back with "Unable to lock mailbox: No locks > > available" > >> > >> Have you been recently playing with NFS ? > >> Is it that your "remote mailbox" is NFS'd ? > >> > >> Then you have what happens recurrently in these kind of > >> installations ... That's one of the reasons POP3 and IMAP > >> are there :-) > > I use them bu default but tbh I wanted to play with nfs to get it working > > Yes, I was joking :-) Sorry, I must get my sense of humour repaired > > >> Mmm, you Google is b0rken then > >> > > It seems to be b-rken quite a lot these days or is it my typing? > > Could be, coulbe, though I made the joke while pasting this link > (found by gl0OgeinG), and it didn't print > > Hope it'll help you ? > http://www.cs.wits.ac.za/~jon/help/u...r/nolocks.html did the trick. i used the -f option and it ran ok so i aliased it. > > >> Anyway, maybe you could try to see with 'lsof' if some clients > >> are not too greedy. > > Aren't they always > > Half as much as our PHBs ;-) > > The lsof is to use just in case. I'd bet your actual problem is > more related to using 'mail' (especially if after VI) and not > having your NFS set to such bold :-) Nah. I Vi'd because i couldn't mail mind you i got an access error when i rebooted about no execution of portmap so i chmodded it and it fixed that so when i typed mail i got the error instantly instead of after a delay. > What does your NFS says about 'sync' ? it mention no sync or async was specified. > > And, any old time, NFS is great but it can be really bitchy, > especially when using database and mail, really demanding apps .. perhaps i'll stick to pop and imap for mail then > > G00d lucK, and keep moving !-) I have to or the bullets would hit me. |
| |||
| what do you mean? the exports? they ere exported read and write "Dominik L. Borkowski" <dom@vbi.vt.edu> wrote in message news:d7qa4g$qgv$1@solaris.cc.vt.edu... > Darren wrote: > > > >> out of curiosity, what kind of 'remote' connection is that? nfs? > > Didn't i say? *looks up* Damned I forgot to mention. Yes its nfs > > what options are used for exporting/mounting it? |
| ||||
| On Fri, 03 Jun 2005 20:25:03 GMT, "Darren" <darren@notathome.net> wrote: > > What does your NFS says about 'sync' ? > it mention no sync or async was specified. Check that, it _is_ needed these days, but I forget default Just peeked, I have 'sync' specifed in etc/exports, also enable NFS TCP option if you compile your own kernels. Not that I've benchmarked it, seems a better idea than the default NFS over UDP. --Grant. |