LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 04-14-2004, 01:16 PM   #1
mfitzpat
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/httpd.pid 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/ABI_query.pl

System info:
RH9
Apache 2.0
mysql 3.23.58
php-4.2.2-17.2

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
mef
 
Old 04-14-2004, 03:08 PM   #2
AutOPSY
Member
 
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 http.pid errors by shutting down Apache and restarting it.
 
  


Reply


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


All times are GMT -5. The time now is 09:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration