Set "emit_via = email" (@/etc/yum/yum-cron.conf)<br />
<br />
abrt-server:<br />
--------------------------------------------------------------------------------<br />
abrt_version: 2.1.11<br />
cmdline: /usr/bin/python -tt /usr/sbin/yum-cron<br />
dso_list: python-libs-2.7.5-16.el7.x86_64<br />
executable: /usr/sbin/yum-cron<br />
hostname: host<br />
kernel: 3.10.0-123.6.3.el7.x86_64<br />
last_occurrence: 1412658570<br />
pid: 5997<br />
pkg_arch: noarch<br />
pkg_epoch: 0<br />
pkg_name: yum-cron<br />
pkg_release: 118.el7.centos<br />
pkg_version: 3.4.3<br />
runlevel: N 3<br />
time: Di 30 Sep 2014 04:30:43 CEST<br />
uid: 0<br />
username: root<br />
<br />
sosreport.tar.xz: Binary file, 5586380 bytes<br />
<br />
backtrace:<br />
:message.py:262:set_charset:UnicodeEncodeError: 'ascii' codec can't encode chara<br />
cters in position 290-291: ordinal not in range(128)<br />
:<br />
:Traceback (most recent call last):<br />
: File "/usr/sbin/yum-cron", line 711, in <module><br />
: main()<br />
: File "/usr/sbin/yum-cron", line 708, in main<br />
: base.updatesCheck()<br />
: File "/usr/sbin/yum-cron", line 619, in updatesCheck<br />
: self.emitMessages()<br />
: File "/usr/sbin/yum-cron", line 694, in emitMessages<br />
: map(lambda x: x.sendMessages(), self.emitters)<br />
: File "/usr/sbin/yum-cron", line 694, in <lambda><br />
: map(lambda x: x.sendMessages(), self.emitters)<br />
: File "/usr/sbin/yum-cron", line 227, in sendMessages<br />
: msg = MIMEText(''.join(self.output))<br />
: File "/usr/lib64/python2.7/email/mime/text.py", line 30, in __init__<br />
: self.set_payload(_text, _charset)<br />
: File "/usr/lib64/python2.7/email/message.py", line 226, in set_payload<br />
: self.set_charset(charset)<br />
: File "/usr/lib64/python2.7/email/message.py", line 262, in set_charset<br />
: self._payload = self._payload.encode(charset.output_charset)<br />
:UnicodeEncodeError: 'ascii' codec can't encode characters in position 290-291:<br />
ordinal not in range(128)<br />
:<br />
:Local variables in innermost frame:<br />
:self: <email.mime.text.MIMEText instance at 0x24c1098><br />
:charset: us-ascii<br />
<br />
environ:<br />
:MAILTO=root<br />
:LANG=de_DE.UTF-8<br />
:SHELL=/bin/sh<br />
:XDG_RUNTIME_DIR=/run/user/0<br />
:SHLVL=5<br />
:START_HOURS_RANGE=3<br />
:RANDOM_DELAY=45<br />
:PWD=/<br />
:LOGNAME=root<br />
:USER=root<br />
:HOME=/root<br />
:PATH=/sbin:/bin:/usr/sbin:/usr/bin<br />
:XDG_SESSION_ID=2439<br />
:_=/etc/cron.daily/0yum-daily.cron<br />
<br />
--------------------------------------------------------------------------------<br />
<br />
anacron error output:<br />
<br />
/etc/cron.daily/0yum-daily.cron:<br />
<br />
Traceback (most recent call last):<br />
File "/usr/sbin/yum-cron", line 711, in <module><br />
main()<br />
File "/usr/sbin/yum-cron", line 708, in main<br />
base.updatesCheck()<br />
File "/usr/sbin/yum-cron", line 619, in updatesCheck<br />
self.emitMessages()<br />
File "/usr/sbin/yum-cron", line 694, in emitMessages<br />
map(lambda x: x.sendMessages(), self.emitters)<br />
File "/usr/sbin/yum-cron", line 694, in <lambda><br />
map(lambda x: x.sendMessages(), self.emitters)<br />
File "/usr/sbin/yum-cron", line 227, in sendMessages<br />
msg = MIMEText(''.join(self.output))<br />
File "/usr/lib64/python2.7/email/mime/text.py", line 30, in __init__<br />
self.set_payload(_text, _charset)<br />
File "/usr/lib64/python2.7/email/message.py", line 226, in set_payload<br />
self.set_charset(charset)<br />
File "/usr/lib64/python2.7/email/message.py", line 262, in set_charset<br />
self._payload = self._payload.encode(charset.output_charset)<br />
UnicodeEncodeError: 'ascii' codec can't encode characters in position 287-288: o<br />
rdinal not in range(128)<br />
<br />
--------------------------------------------------------------------------------<br />
<br />
Syslog:<br />
--------------------------------------------------------------------------------<br />
python: detected unhandled Python exception in '/usr/sbin/yum-cron'<br />
--------------------------------------------------------------------------------
↧