Gossamer Forum
Home : Products : DBMan : Installation :

Can not Write to the default.db file

Quote Reply
Can not Write to the default.db file
http://www.interlog.com/~demelo/cgi/dbman/db.cgi

Everything seems to be working fine except when I attempt to write to the default.db file.

I get the following error & the default.db file get cleared (set to 0 bytes).

CGI ERROR
==========================================
Error Message : unable to get exclusive lock on ./default.db.
Reason: Operation not supported

I have checked the permision on default.db and it is as follows
-rw-rw-rw- default.db

I have made all the dbman files available for viewing in the following link
http://www.interlog.com/~demelo/cgi/dbman/

they are the default names with a .txt extension. (i.e. to view db.cgi it would be db.cgi.txt)

If anyone can give some clue as to what I have done wrong I would be very thank full.

Onofre De Melo
Quote Reply
Re: Can not Write to the default.db file In reply to
Are you on a server that uses Windows? If so, you need to set $db_use_flock to 0 in your default.cfg file.



------------------
JPD
Quote Reply
Re: Can not Write to the default.db file In reply to
The server for my sight is UNIX based.

I did try the suggestion & it worked.

Thank you for your help.

Onofre