LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-12-2011, 02:05 AM   #1
powerxcat
LQ Newbie
 
Registered: Aug 2009
Posts: 13

Rep: Reputation: 0
Apache retruned "Timeout waiting for output from CGI script"


Hello guys,

I have some trouble in Apache.

There are two Bugzilla services on my server.

When I use the Reset Password function to reset my password, I got this error:
Code:
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, bugzilla@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

And I also check the error.log, the following error showed:

Code:
Timeout waiting for output from CGI script /www/bugzilla/wwwroot/token.cgi
Premature end of script headers: token.cgi
Any ideas?

Thanks in advance...
 
Old 12-12-2011, 02:10 AM   #2
powerxcat
LQ Newbie
 
Registered: Aug 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Config:

<Directory /www/bugzilla/wwwroot>
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit FileInfo Indexes
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin bugzilla@mydomain.com
SetEnvIf Request_URI \.(jpg|gif|js|txt|ico|css|zip|swf)$ dontlog
DocumentRoot /www/bugzilla/wwwroot
ServerName bugzilla.mydomain.com
ErrorLog "|/usr/sbin/rotatelogs /www/bugzilla/logs/%Y_%m.error.log 86400 480"
CustomLog "|/usr/sbin/rotatelogs /www/bugzilla/logs/%Y_%m_%d.access.log 3600 480" combined env=!dontlog
</VirtualHost>
<Directory /www/bugzilla_1/wwwroot>
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit FileInfo Indexes
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin bugzilla@mydomain.com
SetEnvIf Request_URI \.(jpg|gif|js|txt|ico|css|zip|swf)$ dontlog
DocumentRoot /www/bugzilla_1/wwwroot
ServerName bugzilla_1.mydomain.com
ErrorLog "|/usr/sbin/rotatelogs /www/bugzilla_1/logs/%Y_%m.error.log 86400 480"
CustomLog "|/usr/sbin/rotatelogs /www/bugzilla_1/logs/%Y_%m_%d.access.log 3600 480" combined env=!dontlog
</VirtualHost>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "Waiting for device sda1 to appear (timeout 1 min)" Rottiehound Linux - Desktop 10 10-07-2010 08:56 AM
When called from cgi script/apache user: "ldap_bind: Can't contact LDAP server (-1)" redhydralisk Linux - Networking 2 04-29-2010 01:26 PM
stuck at PPPOE "Timeout waiting for PADO packets" :-( GerianneMcC Linux - Networking 4 04-06-2008 07:45 PM
"timeout waiting for PADO packets" error in pppoe germansailor Linux - Networking 1 04-10-2007 10:01 AM
ADSL Not working with DSL-300G. Error: "pppoe: timeout waiting for PADO packets" bitshifter Debian 1 01-15-2004 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration