| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I have a question... of course! ![]() I THINK my question is related to suexec... I have a GUI on my server, written in PHP. It has a wrapper program, written in C I think (compiled), that runs a few commands. Now, I recently upgraded my system to Fedora 9 and the latest apache. Suddenly, the wrapper program refuses to work. Strange, since I chmodded/chowned the wrapper as root:apache, 750 u+s. When I click the button that spawns the wrapped process, I see it being executed (when I very quickly run a 'ps auxww'). But it dies instantly... I don't see anything in the logs... Apache doesn't crash, so I dont really have a backtrace or anything to work with. Can anyone tell me how I can make it so I can debug this? Is there a flag I can set or something? Or does anyone perhaps have any pointers as to what to watch out for? Thank you. Frank. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#2
| |||
| |||
| Can you run the program from the server itself? I.e., don't use a web browser or GUI, just go the command line and try to run the program. It sounds like it is running, but failing (or at least failing to do what you expect). Off hand, I'd guess this is a problem with the program, not apache or your configuration. Perhaps the program is trying to access some files or libraries that no longer exist since the upgrade? -Brian --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#3
| |||
| |||
| Hi Brian, thanks for your remark: > Can you run the program from the server itself? I actually did test this, but forgot to mention it. Yes, I did run it manually, and it does what it is supposed to do. So that's not it. It really is the combo apache+running this program... --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#4
| |||
| |||
| On Thu, Nov 6, 2008 at 4:35 PM, Frank Kimbell <raqnerd@gmail.com> wrote: > Hi Brian, > > thanks for your remark: >> Can you run the program from the server itself? > > I actually did test this, but forgot to mention it. > Yes, I did run it manually, and it does what it is supposed to do. > So that's not it. It really is the combo apache+running this program... SELinux? -- Eric Covener covener@gmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#5
| |||
| |||
| > SELinux? Nope: SELINUX=disabled --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#6
| |||
| |||
| On 6 Nov 2008, at 19:25, Frank Kimbell wrote: > I THINK my question is related to suexec... Does suexec of something trivial work? If not, what's in the suexec log? Does it work if you turn off selinux? -- Nick Kew --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#7
| |||
| |||
| > Does suexec of something trivial work? If not, what's in > the suexec log? I don't really see a suexec log? Where do I find this? In the general apache logs, I don't see anything... that's the whole annoying part! > Does it work if you turn off selinux? It is, and was, off; always. (I don't like it) --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#8
| |||
| |||
| Hi, could anyone point me to a log file or suexec or something? The standard apache error log shows nothing about my problem. .... --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.