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 8260 times)

KernelKat

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #15 on: August 07, 2020, 09:16:27 pm »
Quote from: erickufrin 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.
What are your other settings looking like? I have mine disabled but syslog-ng still won't start. Ar you using anything else like IPS/IDS or other 3rd party or is this a vanillia install? Trying to figure out what is breaking mine.
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #16 on: August 08, 2020, 02:55:40 am »
Its holding steady right now since this morning.

I use a remote syslog server.... Most everything is pretty vanilla at the moment because I am battling a multi-wan issue and wanted to "start over".
Logged

KernelKat

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #17 on: August 10, 2020, 08:43:37 pm »
Quote from: erickufrin on August 08, 2020, 02:55:40 am
Its holding steady right now since this morning.

I use a remote syslog server.... Most everything is pretty vanilla at the moment because I am battling a multi-wan issue and wanted to "start over".

I may just have to reinstall vanilla and go from there. shurg. idk what else to try and do at this point.
Logged

gpb

  • Full Member
  • ***
  • Posts: 234
  • Karma: 13
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #18 on: August 10, 2020, 10:16:57 pm »
Quote from: KernelKat on August 10, 2020, 08:43:37 pm
I may just have to reinstall vanilla and go from there. shurg. idk what else to try and do at this point.

Do you actually have a remote syslog server set up?  If so do you have anything being routed to it?  I have one running on an Rpi with one logging target for logged firewall rules.  Aside from that I too am mostly vanilla...I use NUT (UPS support), NTP server, Shaper, vnStat, and this shouldn't matter, but disabled all network acceleration (which should be default).
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 #19 on: August 11, 2020, 05:19:04 am »
Quote from: gpb on August 10, 2020, 10:16:57 pm
Quote from: KernelKat on August 10, 2020, 08:43:37 pm
I may just have to reinstall vanilla and go from there. shurg. idk what else to try and do at this point.

Do you actually have a remote syslog server set up?  If so do you have anything being routed to it?  I have one running on an Rpi with one logging target for logged firewall rules.  Aside from that I too am mostly vanilla...I use NUT (UPS support), NTP server, Shaper, vnStat, and this shouldn't matter, but disabled all network acceleration (which should be default).

Yea, that I do. It's been getting all my logs from other devices before going to splunk so that aspect I know works. Think I might just go back to 20.1 or try rolling back some of my snapshots first see what results I get.
Logged

CraigS

  • Newbie
  • *
  • Posts: 25
  • Karma: 2
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #20 on: August 12, 2020, 09:04:15 pm »
Hi KernelKat,

Resetting the logfiles seemed to fix it.

I can now start syslog-ng again.

OPNSense 20.7

Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #21 on: August 12, 2020, 09:58:51 pm »
There is also a patch which comes with 20.7.1 tomorrow, maybe this will fix it
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

gpb

  • Full Member
  • ***
  • Posts: 234
  • Karma: 13
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #22 on: August 12, 2020, 09:59:16 pm »
Quote from: CraigS on August 12, 2020, 09:04:15 pm
Hi KernelKat,

Resetting the logfiles seemed to fix it.

I can now start syslog-ng again.

OPNSense 20.7

That likely explains why I don't have the issue because I also did this (via command line deleted all log files) trying to debug the logging target issue in RC1 (fixed in 20.7).  Good find!
Logged
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: Syslog-ng constantly crashing
« Reply #23 on: August 13, 2020, 08:35:04 am »
This is strange, I re-enabled circular logging in order to test if clearing the logs fixed the problem and it didn't. The syslogd service started and the syslog-ng one remained stopped - it was the other way around when circular logging was disabled.


I was then reading the text for the log file size and decided to increase it - I changed it to 10240 as I have the room, and after saving then once again clearing the logs now both syslogd and syslogd-ng are running.
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