Periodic Scripts - Configuration problem?

Jack.W.Parks at alltel.com Jack.W.Parks at alltel.com
Tue Dec 2 08:18:56 PST 2003


I recently change the hostname of my FreeBSD host to remove a hyphen
from the name (i.e. skrap-node to skrapnode)  Since then, all of the
periodic output scripts send their mail output to
root at skrap-node.skrap.net instead of root at skrapnode.skrap.net.  Only the
mail delivery failures make it to my inbox.  Mail works fine for all
users, this just affects the periodic scripts.

I have tried grep'ing for the incorrect hostname in the
/etc/periodic/blah... But haven't found anything. 

skrapnode# uname -a
FreeBSD skrapnode.skrap.net 5.2-BETA FreeBSD 5.2-BETA #0: Sun Nov 23
00:01:14 CST 2003
root at skrapnode.skrap.net:/usr/obj/usr/src/sys/GENERIC  i386

skrapnode# more /etc/hosts
127.0.0.1               localhost.skrap.net localhost
192.168.1.200           skrapnode.skrap.net skrapnode 
192.168.1.200           skrapnode.skrap.net.
skrapnode# 

skrapnode# more /etc/rc.conf 

# -- sysinstall generated deltas -- # Sat Nov 22 10:46:24 2003
# Created: Sat Nov 22 10:46:24 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.1.1"
hostname="skrapnode.skrap.net"
ifconfig_fxp0="inet 192.168.1.200  netmask 255.255.255.0"
kern_securelevel_enable="NO"
linux_enable="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
skrapnode# 

Jack W. Parks IV
Sr. Network Engineer
ALLTEL Communications
jack.w.parks-at-alltel.com
Work: 501-905-5961
Cell: 501-680-3341
 


More information about the freebsd-questions mailing list