Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

no locks available

SOLVED
Go to solution
Bob Davis
Occasional Advisor

no locks available

Hi,

I'm seeing this error in my log file:

(hostname) sendmail[1599]: NOQUEUE: SYSERR(root): db_map_open: cannot lock /etc/mail/aliases.db
(hostname) sendmail[1599]: NOQUEUE: SYSERR(root): cannot lockf(/etc
/mail/aliases.db, fd=7, type=1, omode=37777777777, euid=0): No locks available

Can anyone help?
Thanks,
3 REPLIES
harry d brown jr
Honored Contributor

Re: no locks available

Bob,

I've never seen that error message, but maybe it's related to the number of semaphores? You can safely bump the semaphores up, but it does require a reboot.

live free or die
harry
Live Free or Die
Helen French
Honored Contributor
Solution

Re: no locks available

Hi,

This can be a kernel parameter issue. Increase the value of ninode, nfile, nproc and nflocks. Check this out:

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=eb57e7c907136e3981/screen=ckiDisplayDocument?docId=200000039545511

HTH,
Shiju

Life is a promise, fulfill it!
Bob Davis
Occasional Advisor

Re: no locks available

I believe that the nfile setting is limited by memory, but is there any adverse effect of having these settings too high?