Gossamer Forum
Home : Products : DBMan : Installation :

Internal error - flock?

Quote Reply
Internal error - flock?
This is the error I am getting.

CGI ERROR
==========================================
Error Message : fatal error: flock() unimplemented on this platform at auth.pl line 144.

Script Location : c:/inetpub/wwwroot/cgi-bin/dbman/db.cgi
Perl Version : 5.006
Setup File : default.cfg
Session ID : admin.96778300644220


Can anyone give me some advice on this?

Thanks,

Mike

Quote Reply
Re: Internal error - flock? In reply to
If you are using Windows 9.x server, then flock does not work as stated in the following instructions in the default.cfg file:

In Reply To:

Should be used, but won't work on Win95.


It won't work in Windows 98 either. Only Windows NT, Linux, Unix, and other servers, but NOT Windoz 9.x. I am not sure about Windows 2000...yet its OS configurations are quite similar to Windows NT, its closest cousin, so I assume that it will work in that as well.

Regards,

Eliot Lee


Quote Reply
Re: Internal error - flock? In reply to
What exactly is "flock"? How can I disable it so i can get past this?

Any clue? Thanks for the quick reply.

Mike

Quote Reply
Re: Internal error - flock? In reply to
Flock is a method of locking files during writing periods, so that the files will not become corrupted with multiple authors accessing the same records.

Official Definition:

And to disable it, you turn off the $db_use_flock variable in the default.cfg near the text that I provided you before, like the following:

Code:

$db_use_flock = 0;


0 = OFF
1 = ON

Regards,

Eliot Lee

Quote Reply
Re: Internal error - flock? In reply to
Thanks man, got it to work. Appreciate the help.

Mike

Quote Reply
Re: Internal error - flock? In reply to
You're welcome....

BTW: There are many Threads in this forum and the rest of the support forums that discuss flock.

Regards,

Eliot Lee