Forums Index > Mewsoft Products > Auctionawy > Cannot Lock file error
centralpaauction First Post Posted on: 02-09-08 02:38 PM
Cannot Lock file error

Cannot Lock file, server may be busy, please wait a few seconds and try again.
d:/websites/centralpaauction.com/cgi-bin/data/sysconfig.ini:
Line 78, File d:/websites/centralpaauction.com/cgi-bin/configuration.pm


I get this error frequently and I'm not sure why?



Thank You,

Brian
mewsoft Reply #: 1 Posted on: 02-09-08 04:34 PM
Re: Cannot Lock file error

Your server may be slow so 2 sessions are trying to write to the file at the same time. delete also any files in the directory data/lock.

Mewsoft Support
www.mewsoft.com

ctoshack Reply #: 2 Posted on: 02-09-08 05:02 PM
Re: Cannot Lock file error

My experiance with that error was the permissions on the files. Check to make sure you have the proper permissions set up. For a quick test to see if it is your permissions chmod everything to 777. This is if the problem is not intermitant.
centralpaauction Reply #: 3 Posted on: 02-10-08 12:36 AM
Re: Cannot Lock file error

I'll see if anything is lingering around in that folder. Its a brand new server so I would highly doubt it to be a speed problem.

Its also a Windows box but I'll double check the permissions.


Thanks,

Brian
centralpaauction Reply #: 4 Posted on: 02-10-08 06:19 AM
Re: Cannot Lock file error

There were files in the Data/Lock directory so I deleted them. I'll see if this fixes my problems.



Thanks again,

Brian
mewsoft Reply #: 5 Posted on: 02-10-08 10:26 AM
Re: Cannot Lock file error

Files can be left in the lock directory either if your server crashes during the file write operation or you more than one admin session tried to writeto the file and it took more than 15 seconds. AGain that may not happen again of if your server is too slow. Try to access the admin from one browser session and save settings at one time.

Mewsoft Support
www.mewsoft.com

centralpaauction Reply #: 6 Posted on: 02-11-08 03:26 AM
Re: Cannot Lock file error

I haven't had a file lock error since I deleted the files in that directory. Looks like it just got held up there and never was removed.


Thanks,


Brian