Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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.



-- Yeah, I'm a Delt.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2018-02-25 22:07 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (315 votes). Check out past polls.