Communications and Wireless
1756758 Members
2899 Online
108852 Solutions
New Discussion

Re: limits on flock by any firewalls

 
vasundhara
Frequent Advisor

limits on flock by any firewalls

We have a script trying to lock a file which is present on nfs mounted file system. We are usinf flock() command of perl, in exclusive lock mode. Due to some firewalls present in the other system ( on which the file is really present), flock is failing. Can anyone help me to find out the firewall / how can I find the problem. We don't have any idea whether any one has set a firewall on that system.
For clear idea,

Script which is using flock() is present on SYS1.
File to be locked(F1) is present on SYS2

Thanks in advance.
vj
1 REPLY 1
Ron Kinner
Honored Contributor

Re: limits on flock by any firewalls

Don't see how a firewall which lets NFS work could keep you from locking a file. Suspect it may simply be a permission issue. Whatever process is running the script may not have permission to write to the lock file.

Ron