home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10123 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  5.8 KB

  1. Xref: sparky comp.sys.hp:10123 comp.unix.questions:10790 comp.unix.wizards:3823 comp.unix.admin:4913 comp.mail.uucp:1757 comp.mail.misc:2933
  2. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!klaava!hkarhune
  3. From: hkarhune@hydra.Helsinki.FI (Heikki Karhunen)
  4. Newsgroups: comp.sys.hp,comp.unix.questions,comp.unix.wizards,comp.unix.admin,comp.mail.uucp,comp.mail.misc
  5. Subject: Re: /usr/mail/glenr.lock not creatable after 10 tries
  6. Message-ID: <HKARHUNE.92Sep7102237@hydra.Helsinki.FI>
  7. Date: 7 Sep 92 08:22:37 GMT
  8. References: <1992Sep6.155328.11649@aruba.uucp>
  9. Sender: news@klaava.Helsinki.FI (Uutis Ankka)
  10. Organization: Department of Theoretical Physics, University of Helsinki,
  11.     Finland
  12. Lines: 108
  13. In-Reply-To: glenr@aruba.UUCP's message of 6 Sep 92 15: 53:28 GMT
  14.  
  15. In article <1992Sep6.155328.11649@aruba.uucp> glenr@aruba.UUCP (Glen Reesor) wrote:
  16. > I'm using the ftpmail server at decwrl.  When I request large files it usually
  17. > takes a few tries to get all parts.  Up until now I just thought that some
  18. > site along the way was dropping them.  But the other day I noticed a number
  19. > of bounced messages going *back* to decwrl, so it appears that it is
  20. > *my* site dropping parts.  My system configuration is:
  21. > Network of HP9000/730's running HPUX 8.07.  All machines share a single
  22. > /usr/mail directory using NFS.  The machine that /usr/mail actually resides
  23. > on is our UUCP machine.  My account is not on the UUCP machine, thus the mail
  24. > will be routed from the UUCP machine to my machine using SMTP.
  25. > I've configured sendmail to mail a copy of all bounced headers to postmaster,
  26. > and this is what I get:
  27. > --------------------------------------cut--------------------------------------
  28. > From MAILER-DAEMON@onyx Sat Sep  5 21:27 EDT 1992
  29. > Received: from ruby by onyx with SMTP
  30. >         (16.8/16.2) id AB20350; Sat, 5 Sep 92 21:26:49 -0400
  31. > Date: Sat, 5 Sep 92 13:32:58 -0700
  32. > From: Mail Delivery Subsystem <MAILER-DAEMON@onyx>
  33. > Return-Path: <MAILER-DAEMON@onyx>
  34. > Subject: Returned mail: Can't create output
  35. > To: Postmaster@onyx
  36. > Status: RO
  37. >    ----- Transcript of session follows -----
  38. > mail: /usr/mail/glenr.lock not creatable after 10 tries
  39. > 550 <glenr@onyx>... Can't create output
  40. >   ----- Message header follows -----
  41. > --------------------------------------cut--------------------------------------
  42. > onyx is the machine that my account is on and ruby is the UUCP machine.  I've
  43. > RTFM'ed and can't find any reference to "Can't create output".  Since I don't
  44. > understand the in's and out's of mail lock files all I can postulate is that
  45. > more than one piece of mail is trying to be delivered at once.  This 
  46. > particular mail bounced on Saturday in the evening, so there was no mail
  47. > other than from decwrl coming to me.
  48. > So.....is it a problem with NFS mounting /usr/mail?  Or is sendmail tripping
  49. > over itself because of the volume of mail coming to me all at once?
  50.  
  51. This sounds very similar to one problem I had this summer. And no, I
  52. didn't find any solution to it, but here is what I discovered.
  53.  
  54. We have at work several Apollos that co-exist very nicely with each
  55. other. Now, we got a HP 9000/710 on loan from HP (they obviously
  56. wanted us to buy it, but that is another story altogether).
  57.  
  58. My home directory is in Apollo, but I mainly used the HP, because I
  59. was supposed to try it out and to see that it too co-existed with the
  60. rest of the boat anchors hanging around the net.
  61.  
  62. As the only way to share HP-UXen and Apollo's filesystem is via NFS,
  63. that is exactly what we did (by the way, we run Domain/OS 10.4 on the
  64. Apollos with NFS 2.3 and the HP-UX was around 8.07).
  65.  
  66. I configured my own environment so that my home directory (among other
  67. things) was mounted via NFS from the Apollo cluster. I also mounted
  68. HP's /usr/mail to our mail handling Apollo's /usr/spool/mail.
  69.  
  70. Now begins the fun part. I could use Elm (2.3 PL11, not the one HP
  71. supplies as I use Elm 2.3 in Apollos too and HP's Elm didn't
  72. understand all the elmrc switchery) in HP to read and send my mail.
  73. But.  Whenever I logged in as root (or even a normal user), I had to
  74. wait about 20 seconds after the copyright texts while mail was
  75. checking whether I had any mail. It invariably failed with: 'mail:
  76. can't lock /usr/mail/<username> after 10 tries'.
  77.  
  78. I digged around this for a while, and it seems that mail (when invoked
  79. with -e or otherwise) creates a lock file, /usr/mail/<username>.lock
  80. in the mail directory. For some reason it couldn't create one when the
  81. /usr/mail was NFS mounted from Apollo.
  82.  
  83. Actually, it _did_ create something... Namely a file called
  84. /usr/mail/root.lock, the length of which was 0 and all the protection
  85. bits were clear. I tested Apollo's mail (the sys5.3 variety) and its'
  86. lockfile was some bytes long and its' protection was r+w for owner (I
  87. think, not sure about this anymore :) ).
  88.  
  89. I had more or less synchronized the GIDs and UIDs in both machines (I
  90. didn't do 'em all, the HP was on loan, after all...) and the NFS
  91. mounting was done with default options.
  92.  
  93. I _know_ that Apollo's NFS 2.3 is not fully functional (lacks lockd
  94. among other things) and HP will ship version 3.0 anytime-real-soon-now, 
  95. but by the previous problem the glitch might be in HP's NFS. Comments?
  96.  
  97. > If I can get this worked out, FTP mail may actually be semi-painless!  Any
  98. > suggestions or solutions would be greatly appreciated.  
  99. > Please e-mail.  I will summarize if there is interest.
  100.  
  101. Hope someone can unravel this... I'd sure like to know how...
  102.  
  103. > -- 
  104. > Glen Reesor                       |Internet Style: aruba!glenr@uu2.psi.com
  105. > Systems Administrator, Project Zed|UUCP     : ...!uunet!uu2.psi.com!aruba!glenr
  106.  
  107.     Heikki Karhunen
  108.  
  109. /-----------------------------+-----------------------------------------\
  110. | hkarhune@hydra.helsinki.fi  | There is always a job for a theoretical |
  111. | Heikki.Karhunen@helsinki.fi | physicist -- at least in theory.        |
  112. \-----------------------------+-----------------------------------------/
  113.