|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Mark Watts (m.watts
eris.qinetiq.com)
Date: Tue Oct 23 2007 - 03:18:42 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Whenever crond runs a job from /etc/crontab on one of my systems, I get the following error:
Oct 23 05:40:12 ukmawwbackup01 postfix/postdrop[22246]: warning: uid=0: Illegal seek
Oct 23 06:40:12 ukmawwbackup01 postfix/sendmail[22244]: fatal: root(0): queue file write error
Oct 23 06:40:12 ukmawwbackup01 crond[22239]: (root) MAIL (mailed 32619273 bytes of output but got status 0x004b )
If I send a mail from the command line, using "mail" as root sending to root (which is alised to the address seen below), it works:
Oct 22 11:42:58 ukmawwbackup01 postfix/pickup[22128]: C46FC43B840: uid=0 from=<root>
Oct 22 11:42:58 ukmawwbackup01 postfix/cleanup[22156]: C46FC43B840: message-id=<20071022104258.C46FC43B840
ukmawwbackup01.mgmt.qinetiq-tim.net>
Oct 22 11:42:58 ukmawwbackup01 postfix/qmgr[22130]: C46FC43B840: from=<root
ukmawwbackup01.mgmt.qinetiq-tim.net>, size=510, nrcpt=1 (queue active)
Oct 22 11:42:58 ukmawwbackup01 postfix/cleanup[22156]: CB35643B83F: message-id=<20071022104258.C46FC43B840
ukmawwbackup01.mgmt.qinetiq-tim.net>
Oct 22 11:42:58 ukmawwbackup01 postfix/qmgr[22130]: CB35643B83F: from=<root
ukmawwbackup01.mgmt.qinetiq-tim.net>, size=682, nrcpt=1 (queue active)
Oct 22 11:42:58 ukmawwbackup01 postfix/local[22158]: C46FC43B840: to=<root
ukmawwbackup01.mgmt.qinetiq-tim.net>, orig_to=<root>, relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=2.0.0, status=se
nt (forwarded as CB35643B83F)
Oct 22 11:42:58 ukmawwbackup01 postfix/qmgr[22130]: C46FC43B840: removed
Oct 22 11:42:59 ukmawwbackup01 postfix/smtp[22159]: CB35643B83F: to=<m.watts
eris.qinetiq.com>, orig_to=<root>, relay=128.98.2.2[128.98.2.2]:25, delay=0.23, delays=0/0.02/0.01/0.2, dsn=2.0.0, stat
us=sent (250 ok 1193049760 qp 8301)
Oct 22 11:42:59 ukmawwbackup01 postfix/qmgr[22130]: CB35643B83F: removed
Postfix (2.3.8) is not running chrooted according to master.cf; postconf -n is as follows:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
global_config_directory = /etc/postfix
html_directory = /usr/share/doc/postfix-2.3.8/html
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.8/README_FILES
relayhost = 128.98.2.2
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
unknown_local_recipient_reject_code = 450
Any ideas as to why crond mail is failing like this?
Mark.
--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Key: http://keyserver.veridis.com:11371/search?q=0x455420ED
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQBHHa5jBn4EFUVUIO0RAks0AJ94btBNH3+TqY9bgmpUcDBBeo8RbgCdH4nb
K9cWFUWX1jGO0UWELfjpPVM=
=D6iu
-----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]