Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Problem with apache server

by derby (Abbot)
on May 12, 2017 at 10:22 UTC ( #1190126=note: print w/replies, xml ) Need Help??


in reply to Problem with apache server

Geez ... the number of non-answers here is not helpful. This could be a problem with your perl script -- does it try to write to /var/log/www/cgi_log -- or with your apache config. The main problem is either your cgi script or the apache server itself is trying to write to /var/log/www/cgi_log but the process does not have permission to write there. Check:

  • does your cgi-script write to /var/log/www/cgi_log .. if so, you cannot write there. Work with your apache admin to figure out where you can write (hint -- just write to STDERR and a properly config-ed apache will write to the proper log)
  • does your apache conf use /var/log/www/cgi_log as one of its' logs (look for CustomLog, ErrorLog, RewriteLog, etc) .. if so, then check what user your apache process runs as and ensure it has perms to write to /var/log/www/cgi_log or change your log to some place the running apache user can write to
  • and if /var/log/www/cgi_log is the *place* ... check its' permission and change them so the apache process user can write to it (I've had situations in the past where some off-line process would erroneously change permission on files it shouldn't have).

-derby

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2022-01-27 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (71 votes). Check out past polls.

    Notices?