> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Brian Dorling
> Sent: Wednesday, November 23, 2011 1:17 PM
> To: [email protected]
> Subject: Re: [rsyslog]Ominous "Called LogError, msg: Could not create tcp
> listener, ignoring port 10514" message
> 
> Rainer Gerhards <rgerhards <at> hq.adiscon.com> writes:
> 
> >
> > Probably a debug log of the startup phase would be useful. Does it
> > work without dropping privileges?
> >
> > rainer
> On port 10514 it does not work, but on port 514 it seesm to work Ok as
root.
> 
> Not 100% sure if port 10514 is really free:

In the debug log, I see error 98, which I think usually is "port is already
in use".

> 
> zotac-sda1:root@zotac: netstat -nap | grep 514
> tcp        0      0 0.0.0.0:10514           0.0.0.0:*               LISTEN
> 16615/sh
> tcp        0      0 0.0.0.0:514             0.0.0.0:*               LISTEN
> 18750/rsyslogd
> tcp6       0      0 :::10514                :::*                    LISTEN
> 16615/sh
> tcp6       0      0 :::514                  :::*                    LISTEN
> 18750/rsyslogd
> udp        0      0 0.0.0.0:514             0.0.0.0:*
> 18750/rsyslogd
> udp    70224      0 0.0.0.0:10514           0.0.0.0:*
> 16615/sh
> udp6       0      0 :::514                  :::*
> 18750/rsyslogd
> udp6       0      0 :::10514                :::*
> 16615/sh
> 
> Still, 514 as non-root does not work  when permissions are dropped.
> I guess port 10514 is a red-herring maybe?
> 
> Do you want a startup log for port 514 as non-root?

Yes, please. Note that versions prior to 6 did not have really proper priv
drop code, but what you try should work....

Rainer

> Cheers
> 
> 
> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/

Reply via email to