LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-25-2005, 02:07 PM   #1
zahoo
Member
 
Registered: Nov 2004
Location: EU, HUNGARY, Budapest
Distribution: Debian SID
Posts: 40

Rep: Reputation: 15
Cannot send mail due to exim log file permission


Hi,

I got exim now for more than two years running on my server without any problem. But last week when I updated my packages (I'm using Debian unstable) something could happen.
I just realised that I cannot send mail via pine and it keeps giving an error message without any comment just a bunch of numbers and letters.
I checked around the exim and mail log files and I found this:

"2-22 06:28:29 1D3SXd-0003i1-00 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=8
Feb 22 06:28:29 iguana exim[14261]: exim: could not open panic log - aborting: original error above"

So I checked the permissions of the /var/log/exim/mainlog file and I found it to be set "root" as owner. So I changed it to be "mail" the owner and left anything else unchanged and this way I could send mails again.

I thought I solved the problem the only thing I didn't understand what did change the owner of the file. BUT the next they it all started again... Cannot send mail... The owner of mainlog was the root again. I played this game for three days so I got no idea what's going on.

Any suggestion?

Thanks
 
Old 11-02-2005, 08:58 PM   #2
redgren
Member
 
Registered: Nov 2004
Distribution: Debian,Homebrew
Posts: 54

Rep: Reputation: 15
I know this is pretty old, but did you ever figure this out? I just hit this issue and fixed it the same way, but have no idea how it was working for the past 2 years and all of sudden stopped working.



Thanks

rg
 
Old 11-02-2005, 10:48 PM   #3
ahedler
Member
 
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 99

Rep: Reputation: 17
We ran across something at work on some SuSE boxes where there's a process that checks certain files/dirs against a config file, and changes permissions back to match the config file if they'd changed. I don't know if that includes ownership, but it could. I'm sorry I can't remember what the process was or the name of the config file, but hopefully this will give you something to start with.

-Alan
 
Old 11-03-2005, 11:42 AM   #4
redgren
Member
 
Registered: Nov 2004
Distribution: Debian,Homebrew
Posts: 54

Rep: Reputation: 15
Thanks.. I'll look into that...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Critical Boot Problem due to Exim LQboy Debian 2 04-25-2005 02:10 PM
how to get exim to send email? SciYro Linux - Software 4 09-08-2004 07:26 PM
[EXIM] I can send mail without giving a password? Akropolis Linux - Networking 0 06-09-2004 01:21 PM
Permission denied @ /var/log/mail Thorsten Linux - Software 1 11-03-2003 06:44 PM
exim/mutt - local user can't send mail to isp lea Linux - Software 1 12-12-2002 07:31 AM

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

All times are GMT -5. The time now is 06:17 PM.

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