BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old February 16th, 2004, 03:56 AM
c444l c444l is offline
contains a pressurised widget
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: NC USA
Posts: 401 c444l User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 41 sec
Reputation Power: 5
Send a message via AIM to c444l Send a message via Yahoo to c444l
no mail to root after dump/restore

i moved freeBSD from a 20 GB drive to a 40 GB drive. To accomplish this, I installed freeBSD on the 40 GB drive, then did a dump/restore of each partition from the 20 to the 40.

almost everything, to the best of my knowledge, works just the same as before. the exception to this is that when i log in as root, i am not receiving those daily mails. this is distressing.

is something disabled that i need to re-enable?

Reply With Quote
  #2  
Old February 16th, 2004, 09:13 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Check /etc/periodic.conf to make sure you have the variables set correctly (the daily_* variables). Also check your mail is actually being delivered correctly, perhaps send a test mail to the affected account(s).

Reply With Quote
  #3  
Old February 16th, 2004, 10:33 AM
c444l c444l is offline
contains a pressurised widget
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: NC USA
Posts: 401 c444l User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 41 sec
Reputation Power: 5
Send a message via AIM to c444l Send a message via Yahoo to c444l
Quote:
Originally Posted by munkfish
Check /etc/periodic.conf to make sure you have the variables set correctly (the daily_* variables). Also check your mail is actually being delivered correctly, perhaps send a test mail to the affected account(s).


root can receive mail no problem. however, i do not have a periodic.conf. I am running on 5.2, if that makes a difference.

my crontab, for you reading pleasure:

Code:
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour    mday    month   wday    who     command
#
*/5     *       *       *       *       root    /usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11    *       *       *       *       operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0       *       *       *       *       root    newsyslog
#
# Perform daily/weekly/monthly maintenance.
1       3       *       *       *       root    periodic daily
15      4       *       *       6       root    periodic weekly
30      5       1       *       *       root    periodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,31    0-5     *       *       *       root    adjkerntz -a


hmmmm... and.. my clock isn't right anymore.. i have to use date after every boot to correct it.

so.. something didn't copy right with the cron stuff? what to do?

Reply With Quote
  #4  
Old February 16th, 2004, 10:42 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Copy /etc/defaults/periodic.conf to /etc/periodic.conf and then modify it as you want. The variable that determines where the output goes is daily_output, so modify that to the user you want the output from the daily periodic runs to go. Remember though there has to be *some* output from the daily periodic run otherwise you won't get any mail - you need to set all the other daily_* variables to decide what periodic checks on a daily basis.

Read the manpage for periodic for more info.

As for the clock problem, make sure the clock is set correctly in the BIOS.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > no mail to root after dump/restore


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway