Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-14-2004, 12:16 PM   #1
LQ Newbie
Registered: Feb 2004
Location: Boston, MA
Distribution: Centos
Posts: 27

Rep: Reputation: 15
httpd: Unclean shutdown of previous Apache run

The httpd has been dying and needs to be restarted, every couple of days. The system is used for teaching and lots of student error messages get logged to error_log

I am not sure if it is an apache problem, php, or to many errors being logged.

These are the error messages that stood out in the error_log.

[warn] pid file /usr/local/apache2/logs/ overwritten -- Unclean shutdown of previous Apache run?
[notice] Apache/2.0.48 (Unix) configured -- resuming normal operations

These error messages are also present.

[error] [client] Premature end of script headers: category_id_script.cgi, referer: httpxxxxx/students/xxxxxx/view.htm

[error] [client] dumped core = 0, referer httpxxxxx/cgi-bin/students/xxxxxx/

System info:
Apache 2.0
mysql 3.23.58

I have searched for information regarding these error messages, but have not come up anything, since I do not know which application is causing me the problem.

Any help would be appreciated, thanks
Old 04-14-2004, 02:08 PM   #2
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
[error] [client] Premature end of script headers: category_id_script.cgi, referer: httpxxxxx/students/xxxxxx/view.htm

This can be circumvented using CGI::Pretty or sending the correct HTML headers with the CGI script.

CGI::Pretty is a perl module. in the CGI class/library.

You may be able to get rid of the errors by shutting down Apache and restarting it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
configuration of httpd.conf to run apache server adityabhat2 Linux - Newbie 2 02-13-2005 12:10 PM
Fedora Core 2 logout causes unclean shutdown Ethan Linux - General 0 10-12-2004 01:57 PM
umount /var device is busy (unclean shutdown) feetyouwell Linux - Software 3 09-13-2004 06:18 PM
Unclean shutdown from power failure... filesystem check errors macisaac Linux - General 4 12-26-2003 07:50 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 AM.

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