Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2018-08-21 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (200 votes). Check out past polls.

    Notices?