Re: no such file or directory

2000-11-30 Thread newsreader

Actucally 'file' has always been  '/full/path/to/file' because
my path in most of my scripts are empty and
I have the taintcheck on.  Besides they were working under
mod_perl for a full week.
 
It's weird that I can now make them work by converting every dbmopen to tie.
It seems that perl suddenly decides not to like dbmopen function any more.
This function still works for other scripts not running as
httpd though.


On Thu, Nov 30, 2000 at 07:45:45AM +, G.W. Haywood wrote:
 Hi there,
 
 On Wed, 29 Nov 2000 [EMAIL PROTECTED] wrote:
 
  I have this mysterious problem of my mod_perl scripts
  giving errors like no such file or directory
  when I know for a fact that files and directory are there.
 
  dbmopen %A,'file',0644 
 
 Try 
 
 dbmopen %A,'/full/path/to/file',0644 
 
 73,
 Ged.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




no such file or directory

2000-11-29 Thread newsreader


Hi People

I have this mysterious problem of my mod_perl scripts
giving errors like no such file or directory
when I know for a fact that files and directory are there.

The files are berkeley db file.  The problems first show
up in the midst of doing multiple recompiling and reinstallation
of mod_perl and apache.  They mysteriously disappeared after repeatedly invoking
the scripts.  However today I attempted changed one of my supposedly 
obselete dbmopen functions to tie functions and they came right back.

So I immediately reinstall  the old version. The problems is still
there

All I did was change
dbmopen %A,'file',0644 

to 
use DB_File;
tie %A,'file.db'

They work fine on the command line. I have mod_perl 1.24_01 apache 1.3.14 linux
2.2.17.  I can post more info if necessary

Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: no such file or directory

2000-11-29 Thread G.W. Haywood

Hi there,

On Wed, 29 Nov 2000 [EMAIL PROTECTED] wrote:

 I have this mysterious problem of my mod_perl scripts
 giving errors like no such file or directory
 when I know for a fact that files and directory are there.

   dbmopen %A,'file',0644 

Try 

dbmopen %A,'/full/path/to/file',0644 

73,
Ged.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]