Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'remote logging disonnects- HELP' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
remote logging disonnects- HELP
Authored by: bmcgill on Dec 30, '02 09:46:51AM

Remote logging seems to work ok except for one BIG thing. When the syslog restarts nightly (to start a new log file) the connection on port 514 is lost. The only way I've found to resume logging to the remote computer is to restart the server. I've tried restarting the syslogd, just the remote computer, and both - no go. So, at this point, the only way I can keep the remote logging running daily is to reboot the server after every syslog restart. Not exactly efficient! Anyone have any ideas here?



[ Reply to This | # ]
remote logging disonnects- HELP
Authored by: PeterK on May 29, '05 09:48:34PM

Yeah, I also have exactly this problem.



[ Reply to This | # ]
remote logging disonnects- HELP
Authored by: PeterK on May 30, '05 05:02:25AM

In order to fix logging after periodic daily the following SEEMS to work. I cannot recommend this as a solution but it (almost) avoids the need to reboot:
Use the following commands:
launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist

Then go to the System Prefs > Sharing > Firewall > Advanced ... and uncheck and recheck Enalbe Firewall Logging.

The first two commands can be included in daily.local. But I would very much like to know how to do the second at the command line: is there an applescript to do this?



[ Reply to This | # ]