LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-12-2003, 12:06 PM   #1
j-me
Member
 
Registered: Jan 2003
Location: des moines, ia
Distribution: suse RH
Posts: 123

Rep: Reputation: 16
/var/spool/mail/root


RH6.2 ; anyone ever moved the /var/spool/mail/root and then not get anymore mail for root. I moved the root file to a hold location since it was so huge thinking it would just get recreated. now I get nothing. I tried to copy the file back but it still does not get any data logged to it.
Any ides?

I know that with RH 8.0 I do not have this problem but upgrading this server is NOT an option.
 
Old 02-12-2003, 01:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
try just touching the file to create an empty but existant file.
 
Old 02-12-2003, 04:12 PM   #3
j-me
Member
 
Registered: Jan 2003
Location: des moines, ia
Distribution: suse RH
Posts: 123

Original Poster
Rep: Reputation: 16
tried that ... didn't work.
#touch /var/spool/mail/root
verified ownership & group
ran a crontab event that directs to /var/spool/mail/root (works on my RH8.0)
nothing logged to /var/spool/mail/root
 
Old 02-12-2003, 04:20 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
i'm lost.. how can upgrading not be an option? since rh62 came out there have been vast amounts of improvements and fixes to apache, sendmail etc.... are you saying that you've not protected yourself against *any* of the well known vulnerabilties??
 
Old 02-12-2003, 04:37 PM   #5
j-me
Member
 
Registered: Jan 2003
Location: des moines, ia
Distribution: suse RH
Posts: 123

Original Poster
Rep: Reputation: 16
be lost no more!
I inherited this system from a guy who retired recently (disability). His last day (2hours in office) I got this short "informative" session (30 minutes) and very little documentation. His final words were that there is a software that they purchased several years ago and it runs on here. Do not upgrade this server things may not work. Well since this handles some important bank transaction daily, i'm heeding his advice. The software had to be "modified" to work and he is the one who modified it and he cannot remember what he did plus the company no longer exists.
(and in 12 months I won't either) (Merger) does that explain why? I did this same scenerio on RH 7.0 with the same results. when i went to RH8.0, i tested it and it worked okay.
What I've done previously was redirect to a file and then email the file to myself every am as kind of a summary report. it impressed management.
I just want to know if i am missing something.

regards!
 
Old 02-14-2003, 07:48 AM   #6
j-me
Member
 
Registered: Jan 2003
Location: des moines, ia
Distribution: suse RH
Posts: 123

Original Poster
Rep: Reputation: 16
Conclusion:
okay, so I learned something w/ RH6.2. I rebooted and it began logging to the /var/spool/mail/root. This is different from RH7.1 which will not.
Also, not sure why but cron quit working during this process.

anyway case solved ... thanks for advice.
 
  


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
/var/spool/mail/root mail message absalon Linux - General 1 07-04-2005 10:08 PM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 04:41 AM
How to read /var/spool/mail/root? neo_in_matrix Linux - Newbie 1 04-04-2005 09:49 PM
?how to make mail go to diff place than /var/spool/mail ctejas Linux - General 0 06-24-2004 01:58 AM
Spam in /var/spool/mail/root Nutska1 Linux - Networking 4 06-11-2004 03:35 PM


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