Summary: | consecutive ssh commands from a CGI timeout | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | John E <jeismeie> |
Component: | Core | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0.49 | ||
Target Milestone: | --- | ||
Hardware: | Sun | ||
OS: | Solaris |
Description
John E
2004-04-28 14:08:00 UTC
Hmm. Does the script writes somehting to stderr (i.e. a lot of stuff)? All the script does is connect to another server with ssh and execute the command uname. Works for me here with a few simple tests. Is there anything else unique about your setup John? -Paul Querna No special setup for either Linux RH 8.0 or Solaris 8 and I see the CGI not completing on apache 2.x but working on 1.3.x ??? Is there anything special to put in the conf files for ssh's executed from a CGI? Why do I see a difference on success (or not) depending on what major revision I use as the server? thanks As Andre pointed out, this is almost certainly the cgi-stderr issue. See bug 22030. Trap the stderr on the script to /dev/null and rerun it verify. (ie, name your script script2.cgi, then create script1.cgi that looks like #!/bin/sh /path/to/script2.cgi 2>/dev/null and run script1.cgi from the web.) Hi All, just tried 2.0.50 on RH 8.0 with success with no chagnes to the script that was failing. thanks for the fix in 2.0.50. John |