RIM Server
[1/5] from: ryanc::iesco-dms::com at: 31-May-2001 16:00
I havent been able to connect to the RIM server for the last
hour, is anyone else having this problem?
--Ryan
[2/5] from: larry:ecotope at: 31-May-2001 16:20
Hi Ryan
Yeah, RIM has been dead for a few hours. The service-db file is corrupted
resulting in an invalid string. The lookup.r cgi script returns the
service-db file for all cmds.
-Larry
----- Original Message -----
From: "Ryan Cole" <[ryanc--iesco-dms--com]>
To: <[rebol-list--rebol--com]>
Sent: Thursday, May 31, 2001 4:00 PM
Subject: [REBOL] RIM Server
I havent been able to connect to the RIM server for the last
hour, is anyone else having this problem?
--Ryan
[3/5] from: philb:upnaway at: 1-Jun-2001 7:57
Hi Ryan,
I cant connect either .... (00:54 gmt)
Cheers Phil
-- Origional Message --
I havent been able to connect to the RIM server for the last
hour, is anyone else having this problem?
--Ryan
[4/5] from: carl:rebol at: 1-Jun-2001 2:15
It's fixed now.
I'll need to serialize post-script.r one of these days. Looks like a CGI
file access collision, judging from the corruption pattern.
-Carl
[5/5] from: deadzaphod:programmer at: 1-Jun-2001 2:34
here's the code I use to avoid collisions with my CGI scripts, I've been
using it for about 6 months now and it seems to work well.
try-get-filelock: func [ file ] [ not error? try [ make-dir rejoin [
%file-lock- file "/" ] ] ]
free-filelock: func [ file ] [ delete rejoin [ %file-lock- file "/" ]
return ]
get-filelock: func [ file retries /local retry ] [
retry: 0
while [not try-get-filelock file] [
wait 0.5
if (retry: retry + 1) > retries [ return false ]
]
return true
]
; Cal Dixon
; -><-