LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2001, 04:10 PM   #1
joseph_k
Member
 
Registered: Aug 2001
Location: North Dakota (USA)
Distribution: Ubuntu
Posts: 43

Rep: Reputation: 15
error rotating /var/log/httpd/access_log


My root account periodically receives the following in an e-mail:

errors occured while rotating /var/log/httpd/access_log

httpd: no process killed
error running postrotate script


I also receive the same message, but with the /var/log/httpd/error_log.

Any idea what might be causing this, and how I can fix it?
 
Old 09-19-2001, 05:56 PM   #2
Aurga
LQ Newbie
 
Registered: Sep 2001
Distribution: Debian - Potato
Posts: 21

Rep: Reputation: 15
have you checked to see if you have a file called: access_log
and: error_log in your /var/log/httpd/ directory?

perhaps they dont exist?
 
Old 09-21-2001, 11:58 AM   #3
joseph_k
Member
 
Registered: Aug 2001
Location: North Dakota (USA)
Distribution: Ubuntu
Posts: 43

Original Poster
Rep: Reputation: 15
both files exist...

Both files exist, but they are empty (size 0 bytes). There are a few other files in this /var/log/httpd folder:

access_log.1 (0 bytes)
access_log.2 (5714)
error_log.1 (0)
error_log.2 (7344)
 
Old 09-21-2001, 03:32 PM   #4
Aurga
LQ Newbie
 
Registered: Sep 2001
Distribution: Debian - Potato
Posts: 21

Rep: Reputation: 15
Im assuming that these files are associated with apache? or am i wrong...

It seems that the files arent being written to properly. Perhaps you should look at the conf file. Perhaps its not accessing the correct files. You may need to specify the path.
 
Old 09-22-2001, 04:28 PM   #5
adirotaru
Member
 
Registered: Sep 2001
Location: Romania, Timisoara
Distribution: Ubuntu 5.04
Posts: 49

Rep: Reputation: 15
error log rotation ...

I saw that you don't have there in /var/log/httpd that access_log and error_log too .
Create twi simple files called access_log and error_log and all will be ok . I think so ..

Regards.
 
Old 09-22-2001, 05:09 PM   #6
Aurga
LQ Newbie
 
Registered: Sep 2001
Distribution: Debian - Potato
Posts: 21

Rep: Reputation: 15
adirotaru,

He said that those files exist, and that there were others files in that directory. He listed the OTHER files.

Or so i assumed.....
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error log in /var/log/messages raymond117 Linux - Security 9 01-26-2005 07:17 AM
Error in /var/log/messages pk21 Linux - General 4 10-25-2002 07:34 AM
Apache Log file (httpd.access_log) question eallen Linux - Networking 2 07-02-2002 10:29 AM
weird mesg. in /var/log/httpd/access_log aimstr8 Linux - General 7 08-16-2001 01:01 PM
/var/log/httpd/error_log:Premature end of script headers! katana Linux - General 0 08-14-2001 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:07 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