Mail/Postfix errors with abrtd attempting to generate a core
Issue
- Looking to generate an application core to debug an application or service crash occurring in userspace but getting errors with core generation
- Seeing the following messages in
/var/log/messages
with abrtd
Sep 17 04:55:11 drfa144 kernel: myapp.bi[27270]: segfault at 1f8 ip 00007ffac0aee746 sp 00007fff0355e0d0 error 4 in libEmitters_x64.so[7ffac0a9f000+103000]
Sep 17 04:55:11 drfa144 abrt[27282]: /usr/local/myapp/bin/core.27270 fd(-1) is not a regular file with link count 1: Permission denied
Sep 17 04:55:12 drfa144 abrt[27282]: Saved core dump of pid 27270 (/usr/local/myapp/bin/myapp.bin) to /var/spool/abrt/ccpp-2013-09-17-04:55:11-27270 (227688448 bytes)
Sep 17 04:55:12 drfa144 abrtd: Directory 'ccpp-2013-09-17-04:55:11-27270' creation detected
Sep 17 04:55:17 drfa144 abrtd: Sending an email...
Sep 17 04:55:17 drfa144 abrtd: send-mail: fatal: file /etc/postfix/main.cf: parameter mail_owner: unknown user name value: postfix
Sep 17 04:55:17 drfa144 abrtd: Error running '/bin/mailx'
Sep 17 04:55:17 drfa144 abrtd: 'post-create' on '/var/spool/abrt/ccpp-2013-09-17-04:55:11-27270' exited with 1
Sep 17 04:55:17 drfa144 abrtd: Corrupted or bad directory '/var/spool/abrt/ccpp-2013-09-17-04:55:11-27270', deleting
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.