Failed To Open Log File /var/log/httpd/suexec_log
In theory nothing should write to that folder, unless you are installing Unix tools. alfmanuel, Apr 26, 2005 #6 mmcbee Guest 0 I guess I spoke to soon, I created a new shared domain and now that domain will not work within the cgi-bin, drtooth, May 19, 2004 #1 BasicArtStudios Guest Check the right logs You can find the error_logs of each domain in its directory statistic, like: ll /home/httpd/vhosts/yourdomain.com/statistics/logs/ Maybe you find something there. Learn a little patience. Check This Out
S Jul13 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 19215 0.0 0.2 74492 4300 ? Thanks Log in or register to post comments #2 Fri, 06/14/2013 - 14:05 andreychek Howdy, Hmm, if you rename the script from "request" to "request.cgi" -- and then access /cgi-bin/request.cgi -- Which log file? I chmod'ed i chown'ed Why still doesn't work? -- http://mail.python.org/mailman/listinfo/python-list carlosnepomuceno at outlook Jun4,2013,4:04AM Post #19 of 127 (4664 views) Permalink RE: Apache and suexec issue that wont let me run my python http://www.linuxspy.info/2471/roundcube-failed-to-open-log-file-varloghttpdsuexec_log/
Sheesh! All rights reserved. Nobody is in the root group except root.
If I read the message right, this again is Dacoverride so not enough ACL permissions to fork (executable) /usr/sbin/suexec. # ls -l /usr/sbin/suexec -r-x--x---. 1 root apache 18464 Apr 30 2012 Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... https://www.virtualmin.com/node/28115 You are currently viewing LQ as a guest.
It's strange that it runs in /var/www/cgi-bin but not in the user's own cgi-bin directory. I have already seen this Alan thank you and tried the command i mentioned but with no successfull result whatsoever. -- http://mail.python.org/mailman/listinfo/python-list paul at subsignal Jun2,2013,4:51AM Post #8 of 127 (4635 views) Permalink on my php page, i've : exec("/home/magasin/cgi-bin/request blablabla") that always return a string 0; if i test on plesk server, the result is : string(2753) "!0!! Actually, you can't expect that EVER.
You have to change your httpd.conf to assign the correct user or change the owner of the log file to nobody. Of course, there will be times when the version in the repo is just too old, but that's never been the case for me with Apache. Not sure why it was required to register php-cgi though? httpd has probably been upgraded by 'make install'. > Oh, apparently suexec prints its config if you run suexec -V, so include > that output if you still have problems. >
UTC+3, ο χρήστης Carlos Nepomuceno έγραψε: > send the output of the following command: > ps aux|grep httpd root [at] niko [/home/nikos/www/data/apps]# ps aux | grep httpd root 19194 0.0 0.2 his comment is here When you see a newsgroup that gets only a handful of posts a month, you can NOT expect up-to-the-minute responses. My guess based on very minimal Googling on the topic is you should change the group of /var/log/httpd/suexec.log to apache. UTC+3, ο χρήστης Chris Angelico έγραψε: > >> You posted it FIFTEEN HOURS AGO on a low-traffic forum. >> Sheesh!
Just for my own clarity I verified the permissions of the logfile: # ls -l /var/log/httpd/suexec.log -rw-r--r--. 1 root apache 2175 Oct 19 11:48 /var/log/httpd/suexec.log And the user/ group IDs: # Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Please if someoen is expreinces with linux just help me out here a but. -- http://mail.python.org/mailman/listinfo/python-list alain at dpt-info Jun1,2013,2:03AM Post #6 of 127 (4642 views) Permalink Re: Apache and suexec issue that http://itivityglobal.com/failed-to/move-uploaded-file-failed-to-open-stream-no-such-file-or-directory.html One more step Please complete the security check to access www.linuxspy.info Why do I have to complete a CAPTCHA?
Thanks!! Having a problem logging in? Given his experience levels, installing httpd from source is > recipe for disaster.
I think this is enough time for to get an answer, i dont think so meone would answer from there but if you know some other list i can sk this
Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. i'm still confused about what is: '/var/log/httpd' and what is '/usr/local/Apache' Is seems like this is the same service runnign twice under different names. -- http://mail.python.org/mailman/listinfo/python-list nikos.gr33k at gmail Jun4,2013,3:17AM Post #16 of Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. I then tried again turning on more information which revealed: time->Thu Nov 8 14:35:48 2012 type=PATH msg=audit(1352381748.637:24): item=0 name="/var/log/httpd/suexec.log" type=CWD msg=audit(1352381748.637:24): cwd="/var/www/php-fcgi-scripts/hakre" type=SYSCALL msg=audit(1352381748.637:24): arch=c000003e syscall=2 success=no \ exit=-13 a0=7f2b07a12276 a1=441
This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. I realize that you're not supposed to modify httpd.include, however, like I say, it was an emergency. Log in or register to post comments #9 Sat, 06/15/2013 - 05:44 MrGreen FOUND SOLUTION : the request is a GLIBC file. navigate here UTC+3, ο χρήστης Alain Ketterlin έγραψε: > http://httpd.apache.org/docs/2.2/suexec.html > Read this and check your setup to see if it matches.