Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: problem with creation of db file

by dorko (Parson)
on Oct 12, 2002 at 02:14 UTC ( #204718=note: print w/replies, xml ) Need Help??


in reply to problem with creation of db file

When i click a submit on the form for a guest book the cgi script dies and leaves a message on the web server error log(Apache running on linux) that i can't open dbm file. While i execute the same program on the command line it executes and creates a db file.
I'd take a look at permissions. Apache often runs as "nobody". I'm guessing that "nobody" doesn't have permission to create and / or read the files in question while the user you use test the script does have the permissions to create and read the files.

I hope this helps.

Cheers!

Brent

-- Yeah, I'm a Delt.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://204718]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (1)
As of 2018-05-24 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?