Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
Retired
»
1.2.3-PRERELEASE-TESTING snapshots - RETIRED
»
system logging bug?
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: system logging bug? (Read 3642 times)
0 Members and 1 Guest are viewing this topic.
danswartz
Hero Member
Offline
Posts: 1158
system logging bug?
«
on:
November 29, 2009, 02:55:46 pm »
I want to log my pfsense gateway to my central linux server. So I went to Status => System logs => Settings and put the IP of the linux server. Works fine. Until and unless I reboot the pfsense, then no more syslog. I go to the settings page and it is still shown as enabled. I click on the Save button and see this appear on the remote syslog server:
Nov 29 14:14:10 gateway syslogd: restart
Nov 29 14:14:10 gateway syslogd: kernel boot file is /boot/kernel/kernel
And from that point on, messages flow like they should. There are no messages in /var/log/system.log that are enlightening. I tried rebooting the gateway and fired up tcpdump, matching on syslog. No packets. I then did the 'click on the save button' deal and saw syslog messages in the remote log, and seen by tcpdump. I am port forwarding UDP/514 from a specific host to the same syslog server, but that doesn't seem to be relevant, since restarting the syslogd is what "fixes" this. Any ideas?
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12862
Re: system logging bug?
«
Reply #1 on:
November 29, 2009, 07:52:55 pm »
It would be interesting to see the contents of /var/etc/syslog.conf in both the broken and working states.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
danswartz
Hero Member
Offline
Posts: 1158
Re: system logging bug?
«
Reply #2 on:
November 29, 2009, 07:57:55 pm »
okay, i'll get that asap.
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: system logging bug?
«
Reply #3 on:
November 29, 2009, 10:17:13 pm »
okay, good news, bad news. there is no difference in the config file, but i think i know what is going wrong. since my home office is currently wireless to the pfsense, i can't see the console when this happens, so i tried an experiment: i created a virtualbox VM and installed a 1.2.3RC3 on it, and then set it to syslog to the same linux box. see messages. reboot the VM. no messages. look at the virtualbox console while this is happening. we are starting syslog too early, before even the LAN has been configured, as i then see a message from syslog (not in the console, but in the pfsense syslog) that says "network unreachable". it seems as if once this has happened, syslog is borked, and needs to be bounced. should i open a ticket?
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12862
Re: system logging bug?
«
Reply #4 on:
November 29, 2009, 10:29:25 pm »
yeah, that would be the best thing to do at this point. Be sure to include all of that detail.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
danswartz
Hero Member
Offline
Posts: 1158
Re: system logging bug?
«
Reply #5 on:
November 29, 2009, 11:02:32 pm »
Ticket 196 opened.
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: system logging bug?
«
Reply #6 on:
November 30, 2009, 01:30:48 pm »
Chris has reproduced this and is investigating.
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12862
Re: system logging bug?
«
Reply #7 on:
November 30, 2009, 01:37:29 pm »
So I saw. He posted a message to the developer's list asking for input.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
danswartz
Hero Member
Offline
Posts: 1158
Re: system logging bug?
«
Reply #8 on:
November 30, 2009, 01:47:24 pm »
Ah, okay. Something is clearly wrong, since if the subnet is not visible, you should get ENETDOWN, which syslogd treats as transitory, rather than ENETUNREACH, which is fatal. I even tried booting a VM and taking all the interfaces offline and pinging the same host, and I do in fact get ENETDOWN, so this is odd, to put it mildly
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12862
Re: system logging bug?
«
Reply #9 on:
November 30, 2009, 01:57:14 pm »
That is odd. I wonder if it comes to life if you just kill -HUP it rather than restarting.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
danswartz
Hero Member
Offline
Posts: 1158
Re: system logging bug?
«
Reply #10 on:
November 30, 2009, 02:03:16 pm »
No idea, probably, if HUP entails rereading the config file.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...