Help: "lock not creatable"

Help: "lock not creatable"

Post by Brad Knowl » Fri, 17 Nov 1995 04:00:00




> Our mail server is an HP-UX machine running HP's tweaked version of BSD  
> sendmail 5.65. At least that's what it appears to be.  If anyone knows  
> exactly what to call the sendmail that comes with HP-UX 9.04 I'd love to  
> know.

It's called "HP sendmail".  They've hacked on it far too much for it to be
called anything else, IMO.  Fortunately, they are re-targeting to sendmail
8.7+, from which they will presumably diverge and ultimately end up with
another version of sendmail that is so different from Eric's version that
it will be, once again, known as "HP sendmail".

Quote:> ANYWAY, every now and then, when somebody does a cvs commit and  
> notification is sent to a large number of users, I get the following  
> error:

> mail: /usr/mail/username.lock not creatable after 10 tries
> /usr/mail/username.lock: Interrupted system call
> 550 <user1>,<username>,<user2>... Can't create output

I believe that this is an HP rmail bug, and there is a patch available for
it.  In fact, I was recently told what this patch was (I want to say
PHNE_2703, but don't bet on it), although you should be able to find it
with a search of their patch web site
(<URL:http://mayfield.support.hp.com/>, I believe).

At the very least, this patch is supposed to be able to let you see what
the real bug is, as opposed to getting the "Interrupted system call"
error.

--

            The comp.mail.sendmail FAQ is located at:
 <ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/sendmail-faq>

 
 
 

Help: "lock not creatable"

Post by Brian K Smi » Fri, 17 Nov 1995 04:00:00





>>>mail: /usr/mail/username.lock not creatable after 10 tries
>>>/usr/mail/username.lock: Interrupted system call
>>>550 <user1>,<username>,<user2>... Can't create output

The culprit is /etc/csh.login modify the lines to look like this:

        if ( -s /usr/mail/$user ) echo  "You have mail."
#       if ( -f /bin/mail ) then
#               mail -e                         # notify if mail.
#
#               if ( $status == 0 ) echo  "You have mail."
#       endif

The mail -e is vastly annoying.  Similar things can be done for
the system sh profile.

Brian

 
 
 

Help: "lock not creatable"

Post by Michael Haberl » Sat, 18 Nov 1995 04:00:00



: : Can anyone diagnose this problem?

: : Our mail server is an HP-UX machine running HP's tweaked version of BSD  
: : sendmail 5.65. At least that's what it appears to be.  If anyone knows  
: : exactly what to call the sendmail that comes with HP-UX 9.04 I'd love to  
: : know.

..

: : mail: /usr/mail/username.lock not creatable after 10 tries
...

Been there, fixed that. Install sendmail 8.7.1, and use procmail instead
of the HP /bin/rmail. Takes care of that.

Add the lines

define(`LOCAL_MAILER_PATH', /usr/local/bin/procmail)dnl
define(`LOCAL_MAILER_ARGS',procmail -a $h -d $u )dnl

to your site.mc. No more bounces, or kernel tweaking.

Michael Haberler
EUnet Austria

 
 
 

1. "WARNING: Privilege separation user \"sshd\" does not exist" - error

I know that I should be able to find the answer somewhere onthe web, but, *sighs*, I can't seem to find it..

I guess with openssh-3.4p1, I need to create a 'sshd' user (uid-501, group=other),

from /etc/passwd:

sshd:*:501:1:,,,:/home/sshd:/usr/bin/sh

I am doing a new "Compile" of openssh-3.4p1 on my HPUX (11.0) box ..configure, make, make install and then I get this error message: What does it mean?

...

Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh2/ssh_host_key.
Your public key has been saved in /etc/ssh2/ssh_host_key.pub.
The key fingerprint is:

Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh2/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh2/ssh_host_dsa_key.pub.
The key fingerprint is:

Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh2/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh2/ssh_host_rsa_key.pub.
The key fingerprint is:

        id sshd || \
                echo "WARNING: Privilege separation user \"sshd\" does not exist"
uid=501(sshd) gid=1(other)

thanks in advance,

steve

2. Modem brand

3. HPUX10.10: "tmpnam()" call in diff3: "could not open temporary diff file"

4. Can't delete R-O directories?

5. When does "Enter" not equal "Enter"?

6. TTF Font comparer needed

7. HELP: files "hp-ux" and "SYSBCKUP" deleted on HP 7000

8. music

9. cleaning bad "w" "who" "rwho" entries

10. Correction: "dsm" an Xt problem, not Motif -- still not working

11. Help Needed - Posix shell complains "sh: There is not enough memory available now."

12. Who can help: "Not enough space" when starting nfsd

13. HP/UX - user.lock not creatable after 10 tries