Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489528 - app-admin/rsyslog-7.2.7 - rsyslogd fails to write log entries?
Summary: app-admin/rsyslog-7.2.7 - rsyslogd fails to write log entries?
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 02:00 UTC by kbaegis
Modified: 2014-05-20 13:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info for rsyslog (rsyslog.log,4.71 KB, text/plain)
2013-10-28 16:10 UTC, kbaegis
Details
rsyslogd -n -d 2>&1 >rsyslogd.log (rsyslogd.log,201.52 KB, text/plain)
2013-10-28 16:21 UTC, kbaegis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kbaegis 2013-10-27 02:00:33 UTC
rsyslogd 7.2.7, compiled with:
        FEATURE_REGEXP:                         Yes
        FEATURE_LARGEFILE:                      No
        GSSAPI Kerberos 5 support:              No
        FEATURE_DEBUG (debug build, slow code): No
        32bit Atomic operations supported:      Yes
        64bit Atomic operations supported:      Yes
        Runtime Instrumentation (slow code):    No
        uuid support:                           Yes

And postgresql support.  

Issue is that when run via cli database inserts work flawlessly.  When run from the init script updates do not make it into the database and silently fail.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-28 02:50:09 UTC
1) Please post your `emerge --info' output in a comment.
2) Does rsyslogd actually start properly?
Comment 2 kbaegis 2013-10-28 16:10:24 UTC
Created attachment 362136 [details]
emerge --info for rsyslog

Here's the requested emerge log.
Comment 3 kbaegis 2013-10-28 16:21:06 UTC
Created attachment 362140 [details]
rsyslogd -n -d 2>&1 >rsyslogd.log

Here's the output from rsyslogd without running it through the /etc/init.d script.
Comment 4 Ultrabug gentoo-dev 2013-11-06 13:39:38 UTC
Hi,

Maybe you should compare the command line ran by the init script and use the same with the -d and -n options to debug this issue.

I have never used rsyslog with pgsql so I'm a bit clueless.

Also, did you try with latest rsyslog ?
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2014-02-21 11:01:29 UTC
Hi,

there was recently a bug report for the ompgsql module in the rsyslog mailing list: http://thread.gmane.org/gmane.comp.sysutils.rsyslog/12959

Sounds like that could be the same bug you experienced because when using "-n" rsyslog won't fork so this error won't be triggered (the same thing you noticed).

This was fixed in v7.4.10 - not yet in tree. See bug 501978.
Comment 6 Ultrabug gentoo-dev 2014-05-20 13:16:11 UTC
Thx @Thomas D.

Please reopen if you still have the problem with newer rsyslog >=7.4.10