OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • syslog-ng message every minute, trying to connect to orphaned interface
« previous next »
  • Print
Pages: [1]

Author Topic: syslog-ng message every minute, trying to connect to orphaned interface  (Read 1492 times)

Burschi

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
syslog-ng message every minute, trying to connect to orphaned interface
« on: December 16, 2020, 08:06:36 pm »
So i was in the process converting my internal net to VLAN only networks, with the last step of disabling/unassigning my native LAN interface (igb2, 192.168.10.254). After doing so i found messages from syslog-ng, repeating every minute:
Code: [Select]
syslog-ng Error binding socket; addr='AF_INET(192.168.10.254:0)', error='Can\'t assign requested address (49)'
syslog-ng Initiating connection failed, reconnecting; time_reopen='60'


After fiddling around looking for forgotten references to the old if in the config i found out that the reason was in some config file not available through gui:

Code: [Select]
/usr/local/etc/syslog-ng.conf.d/legacy-remote.conf

network("192.168.10.220" transport("udp") port(514) ip-protocol(4) localip(192.168.10.254));


where .220 is my syslog protocol server and .10.254 is the old if address. Changing that to the new ips solved the problem.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13702
  • Karma: 1178
    • View Profile
Re: syslog-ng message every minute, trying to connect to orphaned interface
« Reply #1 on: December 18, 2020, 02:19:24 pm »
Should be fixed via syslog-ng in 20.7.6 and up?


Cheers,
Franco
Logged

Burschi

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: syslog-ng message every minute, trying to connect to orphaned interface
« Reply #2 on: February 06, 2021, 03:21:53 pm »
I don´t know if this solves the problem too, i found it by trial-and-error and thought someone might have the same problem.

Sorry for being late to reply.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13702
  • Karma: 1178
    • View Profile
Re: syslog-ng message every minute, trying to connect to orphaned interface
« Reply #3 on: February 06, 2021, 04:08:57 pm »
I haven't heard this issue again after 20.7.6 so far... either fix is fine for me ;)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • syslog-ng message every minute, trying to connect to orphaned interface
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2