CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Server Support
  weird logwatch problem

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  nieberad
      nieberad
weird logwatch problem
#1
Peeking in the Member Window
Joined: 2011/5/25
From
Posts: 14
I got an error last night when attempting to send the logwatch email from one of my servers:

postdrop: warning: uid=0: Illegal seek
sendmail: fatal: root(0): queue file write error

I've tried adjusting the sending size limit for postfix and verified I have plenty of free space on the partition (81GB). This server has many functions, including being a mail relay for Exchange, and we are able to receive email as normal. Seems the big answer is to adjust the size limit for receiving email, but thats of no use.

Thanks.
Posted on: 2012/4/23 14:17
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: weird logwatch problem
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Did you increase message_size_limit in /etc/postfix/main.cf and restart postfix?
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/23 15:34
Create PDF from Post Print
Top
  •  nieberad
      nieberad
Re: weird logwatch problem
#3
Peeking in the Member Window
Joined: 2011/5/25
From
Posts: 14
Sure did, set it to 100MB as a test, but quickly reverted back after it still failed.
Posted on: 2012/4/23 20:31
Create PDF from Post Print
Top
  •  milosb
      milosb
Re: weird logwatch problem
#4
Professional Board Member
Joined: 2009/1/18
From 44°49′14″N 20°27′44″E
Posts: 661
I may have missed something, but I must admit I fail to see what makes you think this may be related to the size of the message? Indeed, logwatch e-mail notification can be bulky (if it contains for example, a big portion of a maillog)... However, I still doubt this could be the issue.

Is this error message you've posted from the /var/log/maillog or from elsewhere? Where did you try to send the message to - to localhost or to outside?
_________________
Milos
Posted on: 2012/4/23 21:50
Create PDF from Post Print
Top
  •  nieberad
      nieberad
Re: weird logwatch problem
#5
Peeking in the Member Window
Joined: 2011/5/25
From
Posts: 14
Quote:

milosb wrote:
I may have missed something, but I must admit I fail to see what makes you think this may be related to the size of the message? Indeed, logwatch e-mail notification can be bulky (if it contains for example, a big portion of a maillog)... However, I still doubt this could be the issue.

Is this error message you've posted from the /var/log/maillog or from elsewhere? Where did you try to send the message to - to localhost or to outside?


It's because of a robot spamming our FTP server attempting logins and flooding the logs with failed attempts, thus making the log massive in size. I wanted to try to block this IP, as its been attempted before.
Posted on: 2013/3/1 14:00
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com