Operating System - HP-UX
1837969 Members
3359 Online
110124 Solutions
New Discussion

fcntl lock of pid file failed: Permission denied

 
SOLVED
Go to solution
Brian Lee_4
Regular Advisor

fcntl lock of pid file failed: Permission denied

I am getting the following syslog message but I
don't know what brings it.
Any idea ?

ftpd[29853]: sleeping: fcntl lock of pid file failed: Permission denied
brian lee
5 REPLIES 5
RAC_1
Honored Contributor

Re: fcntl lock of pid file failed: Permission denied

Do you have lock files in /var/spool/locks?

Also what is you nflocks setting in kernel?
Seems that it is hitting the set value, and you may need to increase it.
There is no substitute to HARDWORK
Brian Lee_4
Regular Advisor

Re: fcntl lock of pid file failed: Permission denied

There is nothing in /var/spool/locks directory.

nflocks value is 1200.
brian lee
RAC_1
Honored Contributor

Re: fcntl lock of pid file failed: Permission denied

check the current usage of nflocks with following command. You need to have lsof tool for this. lsof is a tool which lists open files.socetks etc. You may get it at HP porting centre,
lsof | awk 'match("NrRwWuUx",substr($0,31,1))'|wc -l

You may need to increase this parameter. If it is hitting the limit. This sparameter is static and you will have to reboot the machine after changing this. first check if it is hitting the limit.
There is no substitute to HARDWORK
Brian Lee_4
Regular Advisor

Re: fcntl lock of pid file failed: Permission denied

I found "lsof" tool(ddk.misc_tool11_11.1.0.depot) but it was not compatible with my version of HP-UX when I tried to install it.
HP-UX 11i is running on the system.

Could you find it for me ?
brian lee
RAC_1
Honored Contributor
Solution

Re: fcntl lock of pid file failed: Permission denied

Get it from.

http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/

Install and check.
There is no substitute to HARDWORK