OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Syslog-ng constantly crashing
« previous next »
  • Print
Pages: [1] 2

Author Topic: Syslog-ng constantly crashing  (Read 8261 times)

KernelKat

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Syslog-ng constantly crashing
« on: August 04, 2020, 10:30:16 pm »
This afternoon I can't get syslog-ng to come back online to forward to splunk. I've tried disabling syslog, upgrading to the latest version. Any other ideas? All I am seeing is core dumps.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #1 on: August 05, 2020, 06:05:29 am »
Can you Upload them somewhere?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

KernelKat

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #2 on: August 05, 2020, 07:07:27 pm »
How do I pull the core dumps? I feel so stupid I didn't even think about that.
Logged

gpb

  • Full Member
  • ***
  • Posts: 234
  • Karma: 13
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #3 on: August 05, 2020, 08:03:14 pm »
Not 100% sure but I have a syslog-ng.core file in /usr/.  Guessing that's it.

EDIT: not "/usr"..."/var/db".
« Last Edit: August 05, 2020, 09:28:37 pm by gpb »
Logged
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

KernelKat

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #4 on: August 05, 2020, 08:44:41 pm »
Quote from: mimugmail on August 05, 2020, 06:05:29 am
Can you Upload them somewhere?
Uploaded!

Quote from: gpb on August 05, 2020, 08:03:14 pm
Not 100% sure but I have a syslog-ng.core file in /usr/.  Guessing that's it.
Found it. /var/db

https://filebin.net/ew8rz8m7gxkdcf4s




Logged

gpb

  • Full Member
  • ***
  • Posts: 234
  • Karma: 13
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #5 on: August 05, 2020, 09:28:06 pm »
Sorry 'bout that...I updated my post to reflect that...why I put "usr" I have no idea.  :/
Logged
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

pilotboy72

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #6 on: August 05, 2020, 09:49:58 pm »
Quote from: KernelKat on August 04, 2020, 10:30:16 pm
This afternoon I can't get syslog-ng to come back online to forward to splunk. I've tried disabling syslog, upgrading to the latest version. Any other ideas? All I am seeing is core dumps.


I'm seeing the same thing.  I can't seem to start the syslog-ng service.  This is what I see in the logs when I try to start the service:
kernel: pid 78934 (syslog-ng), jid 0, uid 0: exited on signal 11 (core dumped)


 I have a core file for this attempt to start syslog-ng.  Let me know if there is someplace I should upload it.
Logged

KernelKat

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #7 on: August 06, 2020, 02:23:04 am »
Quote from: pilotboy72 on August 05, 2020, 09:49:58 pm
Quote from: KernelKat on August 04, 2020, 10:30:16 pm
This afternoon I can't get syslog-ng to come back online to forward to splunk. I've tried disabling syslog, upgrading to the latest version. Any other ideas? All I am seeing is core dumps.


I'm seeing the same thing.  I can't seem to start the syslog-ng service.  This is what I see in the logs when I try to start the service:
kernel: pid 78934 (syslog-ng), jid 0, uid 0: exited on signal 11 (core dumped)


 I have a core file for this attempt to start syslog-ng.  Let me know if there is someplace I should upload it.

You can  upload to any online fil host site and then post link here ;)
Logged

rackenthogg

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #8 on: August 06, 2020, 08:22:03 am »
I have the same problem after upgrade to 20.7. Syslog-ng cannot start, restarts won't help, the error message is always the same:  kernel: pid xxxx (syslog-ng), jid 0, uid 0: exited on signal 11 (core dumped)

Coredump attached:
https://filebin.net/b08o90rzoo9sfsxk
Logged

clopmz

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #9 on: August 06, 2020, 08:22:33 am »
Same problem here. Syslog-ng always crashing when is configured to send remote logs.
Logged

mfpck

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 5
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #10 on: August 06, 2020, 02:36:09 pm »
same here - but it also not always is able to even come up during booting...
Logged

KernelKat

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #11 on: August 06, 2020, 05:47:44 pm »

Keep posting those core dumps all maybe we will find some solutions :)

Has anyone tried removing syslog-ng and then reinstalling the same or different version? I'm not well versed in BSD so I'm still learning.
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #12 on: August 07, 2020, 10:43:24 am »
I'm seeing the same, did try to reinstall syslog-ng and it seemed to work:


Quote
2020-08-06T13:26:42   pkg-static[60590]: syslog-ng327 reinstalled: 3.27.1_1 -> 3.27.1_1



But I just needed to reboot the firewall and it syslog-ng crashes on start again:


Quote
2020-08-07T10:32:51   kernel: pid 93417 (syslog-ng), jid 0, uid 0: exited on signal 11 (core dumped)



I'd upload the core dump, but I need it to be secure as a brief look at the file I already see some information I'd rather not see on public servers e.g. FQDN of the firewall, so who knows what else is buried in the file
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #13 on: August 07, 2020, 07:43:59 pm »
Same problem here. syslog-ng not working.
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #14 on: August 07, 2020, 07:51:33 pm »
Once I disable "circular logging" syslog-ng is able to start and I am seeing log events now.

I dont know what the remifications of disabling that are? Can anyone shed light?

FWIW once disabling circular logging, syslogd now shows as being stopped.
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Syslog-ng constantly crashing
 

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