Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8021 Posts in 1850 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: lock files do not exist  (Read 340 times)
0 Members and 1 Guest are viewing this topic.
Aaron
Guest
« on: November 06, 2006, 03:34:00 PM »

I'm running on a Windows 2000 server, using IE to view my site. I've recently migrated to a new service plan/domain with my web host.

I have uploaded all files in ASCII mode, and changed the permissions on the Calendarscript directory to read/write/delete for all users.

When I attempt to open calendar.pl, the page displays this message:

----
ERROR:
Database Lock file [d:\Customers\user1272089\www\cgi-bin\/calendarscript/calendars.lock] does not exist or is not writeable!
----

When I run the debug.pl script I receive a dozen or so messages like the following:

----
•The file does not exist | d:\Customers\user1272089\www\cgi-bin\/calendarscript/users.lock
----

The other messages are the same, related to other files - permissions.lock, calendars.lock, etc. All relate to .lock files, which (I think) must be generated by the server, as they don't appear to be part of the installation package.

My best guess is that the server can't generate the lock files it needs due to a permissions issue. I've experimented with the $BASE_DIR path, as well as with the path to perl, but I get the same results. My web host has been of limited assistance.

Any suggestions or ideas about how to resolve this would be most appreciated.

Thanks,

Aaron

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 219

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: November 06, 2006, 04:27:00 PM »

** changed the permissions on the Calendarscript directory to read/write/delete for all users. **

There's no such thing, maybe read/write/execute??

BTW. That is not allowed on all server setups, check the host's CGI FAQs. If you're hosted on a Windows? server, you can not set file or directory permissions yourself, only the server administrator can.

** My best guess is that the server can't generate the lock files it needs due to a permissions issue. **

That would be my guess.

** My web host has been of limited assistance. **

Than you might want to consider looking for another?

JMO

Dan O.

------------------

Logged
Aaron
Guest
« Reply #2 on: November 07, 2006, 05:53:00 PM »

After extensive conversations with my web host tech support, they created 0-byte lockfiles with the proper names and placed them in the proper directories.

The scripts run properly now, and debug.pl gives no errors. I don't know whether that is the right solution or not, but it *seems* to have solved the problem...

Unless of course it creates other headaches down the road. We'll see I guess.

Aaron

Logged
Pages: [1]   Go Up
Print
Jump to: