[IRCServices Coding] lockfile problem..
Aragon Gouveia
aragon at phat.za.net
Sun Feb 23 02:42:03 PST 2003
Hi,
Just upgraded to 5.0.11. My previous problems have been solved, but now
something else is not working..
If I kill ircservices' uplink it tries to write to its databases but fails
with this log entry:
[Feb 23 12:35:43 2003] warning: unable to lock data directory, not updating databases: Undefined error: 0
[Feb 23 12:35:43 2003] Read error from server: Connection reset by peer
Looking in the libdir there's a .lock file with no permissions:
---------- 1 blabber irc 0 Feb 23 12:35 .lock
Starting it all up again and trying the same thing results in failure of
course:
[Feb 23 12:29:42 2003] warning: data directory is locked, not updating databases
Lockfile needs to be removed manually...
When performing a manual update via operserv this doesn't happen. Neither
when shutting down ircservices gracefully. Only when the uplink dies
unexpectedly.
Regards,
Aragon