* [gentoo-user] mailx on reboot from within local.start
@ 2006-06-24 0:50 John J. Foster
0 siblings, 0 replies; only message in thread
From: John J. Foster @ 2006-06-24 0:50 UTC (permalink / raw
To: Gentoo User
[-- Attachment #1: Type: text/plain, Size: 2123 bytes --]
Good evening,
I just realized I'm no longer receiving email notification on system
reboots. This quit working between April 23rd and April 27th.
The following lines are in /etc/conf.d/local.start
# Record system restart
echo "System restart on `date +%F` at `date +%R`" >>
/var/log/reboot.log (on one line, of course)
# Send email notification that the system just restarted
source /etc/profile (tried without this too)
/usr/bin/date | /bin/mailx -s "System restarted" garbanzo@festus.150ml.com
I get the following error message when /etc/init.d/local is set to run
in the default runlevel.
send-mail: account default not found: no configuration file available
Can't send mail: sendmail process failed with error code 78
If I restart local, or remove it from default runlevel and start it
manually, there is no error and the email is sent fine.
This is what was installed/upgraded during that timeframe:
Mon Apr 24 12:43:58 2006 >>> kde-base/kdegames-3.5.2
Mon Apr 24 17:34:50 2006 >>> kde-base/kdegraphics-3.5.2
Mon Apr 24 18:04:33 2006 >>> kde-base/kdeedu-3.5.2
Mon Apr 24 18:06:11 2006 >>> kde-base/kde-3.5.2
Tue Apr 25 07:20:24 2006 >>> sys-devel/gcc-config-1.3.13-r2
Tue Apr 25 08:38:20 2006 >>> sys-libs/glibc-2.3.6-r3
Tue Apr 25 08:38:53 2006 >>> app-misc/pax-utils-0.1.11-r1
Tue Apr 25 08:39:32 2006 >>> sys-apps/baselayout-1.12.0_pre18-r1
Tue Apr 25 08:40:18 2006 >>> media-sound/alsa-headers-1.0.11
Tue Apr 25 08:43:24 2006 >>> media-libs/alsa-lib-1.0.11
Tue Apr 25 08:44:24 2006 >>> media-sound/alsa-utils-1.0.11
Tue Apr 25 08:44:53 2006 >>> app-portage/portage-utils-0.1.15
Tue Apr 25 08:45:51 2006 >>> app-editors/nano-1.3.10-r1
Tue Apr 25 08:48:15 2006 >>> sys-fs/xfsprogs-2.7.11
Tue Apr 25 08:48:44 2006 >>> sys-apps/memtest86+-1.65
Tue Apr 25 11:19:29 2006 >>> net-misc/tightvnc-1.2.9-r1
System uses mailx and msmtp.
Any ideas?
Thanks,
festus
--
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
Noam Chomsky
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-24 0:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-24 0:50 [gentoo-user] mailx on reboot from within local.start John J. Foster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox