HDrider has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks. For some time now I have been quietly lurking and absorbing knowledge from the masters gathered here. I've used that knowledge to create a search engine for our library. Everything seems to work fine except when several people try to access it at once. Then they get the following error:
Software error: Cannot open h:/crc/cgi-bin/jsearch/database/files: at H:\crc\cgi-bin\jsearch\jsearch.cgi line 54.
The line in question is this:
tie %f_file_db, $dbm_package, $F_FILE_DB_FILE, O_RDONLY, 0755 or die "Cannot open $F_FILE_DB_FILE: $!";
The engine uses DB_File for database access.
The file(s)in question are files created by an indexing program.
I'm running Perl version 5.005_03 on an NT 4.0,IE 4.0, serv pak 6, server. It seems to be a rights issue but everything seems correct at the server level.
Any ideas?
Hope I've given you enough info.
HDrider
Work to Ride and Ride to Work
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File rights?
by kschwab (Vicar) on Apr 30, 2001 at 19:42 UTC | |
by HDrider (Initiate) on Apr 30, 2001 at 21:26 UTC | |
by kschwab (Vicar) on Apr 30, 2001 at 22:39 UTC | |
by HDrider (Initiate) on Apr 30, 2001 at 23:47 UTC | |
|
Re: File rights?
by astanley (Beadle) on Apr 30, 2001 at 19:14 UTC | |
by HDrider (Initiate) on Apr 30, 2001 at 21:23 UTC | |
|
Re: File rights?
by tilly (Archbishop) on May 01, 2001 at 01:46 UTC |