Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Got gdbm store returned -1 error 13 when trying to write!

by dws (Chancellor)
on Jun 27, 2002 at 07:51 UTC ( [id://177651]=note: print w/replies, xml ) Need Help??


in reply to Got gdbm store returned -1 error 13 when trying to write!

Check the protection on your DBM file(s). The file protection needs to be expressed in octal, not decimal.   dbmopen(%DB, "file", 666) ; should be   dbmopen(%DB, "file", 0666);

You might have been able to run this from the command line, but it'll create a file with funky protection bits. Since Apache is typicall run as a different user, they won't have access to the file.

Replies are listed 'Best First'.
Re: Re: Got gdbm store returned -1 error 13 when trying to write!
by perlkid (Novice) on Jun 27, 2002 at 16:51 UTC
    Thanks for the reply that was a good catch on my post, with

    dbmopen(%DB,"file",0666)

    that still giving me the error :(

    -perlkid

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://177651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-26 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found