Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Just another Perl shrine
 
PerlMonks  

Re: Strange File Not Found Error

by Chmrr (Vicar)
on Jun 14, 2001 at 19:04 UTC ( [id://88572]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Strange File Not Found Error

My guess, in a word, would be permissions. The webserver is probably running as the "nobody" user or equivalent, which has very few privileges. Make sure that the w.stat file is chmod'd so as to be world-readable. The easiest way to do this is:

chmod +r w.stat

Update: As xphase_work states, $! normally spits out the more useful "Permission Denied" message in such cases. And FourPlay assures me that the directories and file in question are readable. $Chmrr->bark("wrong tree"); Perhaps the distinguished AM is on the right track?

Update 2: Looks like the most excellent tye found the problem. Give the man a ++!

 
perl -e 'print "I love $^X$\"$]!$/"#$&V"+@( NO CARRIER'

Replies are listed 'Best First'.
Re: Re: Strange File Not Found Error
by xphase_work (Pilgrim) on Jun 14, 2001 at 19:06 UTC
    I thought that was the problem, but I checked on my Solaris 2.7 system, and $! for perl 5.6 gives a Permission Denied error if the permissions are wrong. Is that just my system?

    -xPhase

      Possibly so, or it's possible I just stuck my foot in my mouth. It's still the first thing I'd check.

       
      perl -e 'print "I love $^X$\"$]!$/"#$&V"+@( NO CARRIER'

Re: Re: Strange File Not Found Error
by FouRPlaY (Monk) on Jun 14, 2001 at 19:15 UTC
    Excellent thought. I forgot to mention that I tried not only the file, but each directory leading up to it. There all world readable.



    FouRPlaY
    Learning Perl or Going To die() Trying

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://88572]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.