On Tue, Jan 31, 2012 at 02:31:35PM +0100, Roger Oberholtzer wrote:
On Tue, 2012-01-31 at 14:19 +0100, Marcus Meissner wrote:
On Tue, Jan 31, 2012 at 02:09:19PM +0100, Roger Oberholtzer wrote:
I am trying to use syslog-ng on an openSUSE 11.2 system. I want to add an information source that is from a device I am integrating. The device sends information on UDP port 22054. When I try to get syslogd-ng to access that port, I get an error. I strace the program and see the following:
bind(6, {sa_family=AF_INET, sin_port=htons(22054), sin_addr=inet_addr("192.168.1.10")}, 16) = -1 EADDRNOTAVAIL (Cannot assign requested address)
which is the error I get when starting the daemon.
My question is: should I be able to use such a high UDP port number here?
FYI, the line in my /etc/syslog-ng/syslog-ng.conf file is:
udp(ip("192.168.1.10") port(22054));
yes.
Does the machine this is on have the 192.168.1.10? Or is this the remote ip?
It is the remote IP. The local machine has 192.168.1.51
the above bind() call tries to bind it locally on the syslog-ng host, so you are probably confusing the config setting. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org