Skip to contentSkip to conversation

frontpage sucks

DISCUSSION [email protected] 2 participants 2 messages Aug 21, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I have *SEARCHED* and *SEARCHED* the net and can't find anything that touches on my problem.

I have a cluster of 2 servers that mount an nfs share from a 3rd. All 3 machines are using 2.4.18 kernels and are redhat. They are also using nfs-utils 3.3. I have mod-frontpage compiled into apache 1.3.26 and frontpage works perfectly when the files are locally stored on any of the 2 servers, but when it is in the nfs share, the frontpg.lck and service.lck files cannot be locked by frontpage. I decompiled shtml.exe (the stupid frontpage binary that publishes, etc.) and it seems to use fcntl to lock files.

The test lock program that compiles with nfs-utils 3.3 works fine on these files, but frontpage cannot lock the files.

I heard of someone using symlinks on these files to local files on the servers like /_vti_bin/frontpg.lck -> /tmp/frontpg.lck, but this doesn't work for me, it's like they aren't even there. I just keep getting a popup box when trying to connect to frontpage which is usually what happens when service.lck is unavailable. BUT, if I use a symlink in the nfs share and point it to a file in /tmp/test.html I can call it up in a browser just fine off of a symlink in a domain's docroot like t.html -> /tmp/test.html

I have nfslock,nfs and portmapper running on all machines, there are no errors about file locking except when I turn off nfslock I get this in /var/log/messages, this is obviously a frontpage error

Aug 20 20:29:00 w2a kernel: lockd: cannot monitor xx.xx.xx.xx
Aug 20 20:29:00 w2a kernel: lockd: failed to monitor xx.xx.xx.xx
Aug 20 20:29:00 w2a Microsoft FrontPage Server Extensions: 
http://cubes-test-cluster.com - Error #20001 Message: Cannot open file 
"service.c$
Aug 20 20:29:00 w2a Microsoft FrontPage Server Extensions:    (OS Error #37 

Message: No locks available) (userid 500)

How can I get frontpage to lock these files over nfs?

Any information would be GREATLY appreciated.

Thanks

Signature · 13 lines
cube whidden

"Out the ethernet port, through the linux firewall, down the cable modem, 
off the T3,  past the frame-relay...nothing but Net!"


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == nfs <[email protected]> writes:

> I have *SEARCHED* and *SEARCHED* the net and can't find > anything that touches on my problem.

How about checking the NFS list archives?

     > Aug 20 20:29:00 w2a kernel: lockd: cannot monitor xx.xx.xx.xx
     > Aug 20 20:29:00 w2a kernel: lockd: failed to monitor

You are not running rpc.statd. It has to be running on the server *and* the client.

Cheers,
Trond

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs