• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Odd logging problem

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 1.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    damucksta
    last edited by May 19, 2013, 8:53 PM

    Hi

    Sorry if this is a donut question: following a restart, logging appears to have stopped completely. Some logs seem to end with pages of '^@' characters, and other logs are just silent. I've tried deleting and recreating the log files, restarting the box, but nothing. Obviously, no logging makes finding a problem difficult.

    Any ideas? Thanks.

    (using 2.0.3)

    1 Reply Last reply Reply Quote 0
    • D
      damucksta
      last edited by May 19, 2013, 10:19 PM

      Still trawling without success, but noticed 'clog exited on signal 11 (core dumped)' appears sporadically on console on local monitor on pfsense box.

      Not sure if this is of any help

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by May 20, 2013, 5:07 PM

        How did you "recreate" log logs?

        They are supposed to have lots of null characters, they are binary circular log files, the are not plain text logs.

        They are read with the clog command, such as "clog /var/log/system.log"

        Usually that clog crash means that the logs were not created with a clog format.

        Use the "clear log" button on a log tab to clean and re-create the log file properly.

        Click Save on the Log Settings tab to restart the syslog process which usually will get logs going again.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D
          damucksta
          last edited by May 20, 2013, 5:44 PM

          @jimp:

          How did you "recreate" log logs?

          They are supposed to have lots of null characters, they are binary circular log files, the are not plain text logs.

          They are read with the clog command, such as "clog /var/log/system.log"

          Usually that clog crash means that the logs were not created with a clog format.

          Use the "clear log" button on a log tab to clean and re-create the log file properly.

          Click Save on the Log Settings tab to restart the syslog process which usually will get logs going again.

          Thanks very much. I'd actually worked this out at stupid o clock this morning - i.e. that i was being an idiot and assuming the logs were plain text, not binary. On the upside, I now know about clog and a lot more about pfsense, so 10 hours of banging my head against a brick wall wasn't entirely wasted!

          Thanks again - the key point to other users if they are stupid like me, is to not manually kill and recreate the log file to clear it! Use the pfsense gui and manually check it's logging using 'clog [filename]' rather than vi.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received