CSWrsyslog 5.8.13 does not work with logger command

Dvorak Andreas Andreas.Dvorak at baaderbank.de
Fri Aug 22 13:32:49 CEST 2014


Dear all

I have installed CSWrsyslog VERSION:  5.8.13,REV=2012.09.17 on Solaris 10 10/09 s10s_u8wos_08a SPARC and would like to send messages with the logger command to the syslog server, but rsyslog does not process the message.
The same logger command does work in Redhat 6.

Can somebody please help me?

logger "UNIGW#PROBLEM#4#test#sv2510#Test von Andreas#PWCHANGE#test"

cat /etc/opt/csw/rsyslog.conf
# Use traditional timestamp format
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
# Provides kernel logging support (previously done by rklogd)
#$ModLoad imsolaris
# deduplicate repeated messages
$RepeatedMsgReduction on
# Regeln einbinden
$IncludeConfig /etc/rsyslog.d/*.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                                                 /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none                /var/log/messages
# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure
# Log all the mail messages in one place.
mail.*                                                  -/var/log/maillog
# Log cron stuff
cron.*                                                  /var/log/cron
# Everybody gets emergency messages
*.emerg                                                *
# Save news errors of level crit and higher in a special file.
uucp,news.crit                                          /var/log/spooler
# Save boot messages also to boot.log
local7.*                                                /var/log/boot.log
# Alles was bis hier nicht weggefiltert wurde geht an netcool
*.warning;local5.none;local6.none                             @10.110.10.69

/var/log/messages
Aug 22 13:24:38 sv2510 rsyslogd: imuxsock does not run because we could not aquire any socket
Aug 22 13:24:38 sv2510 rsyslogd: [origin software="rsyslogd" swVersion="5.8.13" x-pid="9276" x-info="http://www.rsyslog.com"] start
Aug 22 13:24:38 sv2510 rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c5 as the first rsyslogd option.
Aug 22 13:24:38 sv2510 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
Aug 22 13:24:38 sv2510 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
Aug 22 13:24:38 sv2510 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock

I have read http://www.rsyslog.com/why-does-imuxsock-not-work-on-solaris/, so I put $ModLoad imsolaris in my config, but it still does not work an I get the same message in /var/log/messages

Best regards
Andreas Dvorak

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140822/a45193b1/attachment.html>


More information about the users mailing list