Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2003 10:18:51 -0600
From:      <Jack.W.Parks@alltel.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Periodic Scripts - Configuration problem?
Message-ID:  <E48E8C0EEF927044A086E4A4BB228CFE09BC5E@litexch7.alltel.com>

next in thread | raw e-mail | index | archive | help
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@skrap-node.skrap.net instead of root@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.=20

skrapnode# uname -a
FreeBSD skrapnode.skrap.net 5.2-BETA FreeBSD 5.2-BETA #0: Sun Nov 23
00:01:14 CST 2003
root@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=20
192.168.1.200           skrapnode.skrap.net.
skrapnode#=20

skrapnode# more /etc/rc.conf=20

# -- 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=3D"192.168.1.1"
hostname=3D"skrapnode.skrap.net"
ifconfig_fxp0=3D"inet 192.168.1.200  netmask 255.255.255.0"
kern_securelevel_enable=3D"NO"
linux_enable=3D"YES"
sendmail_enable=3D"YES"
sshd_enable=3D"YES"
usbd_enable=3D"YES"
skrapnode#=20

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E48E8C0EEF927044A086E4A4BB228CFE09BC5E>