Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!ucsd!orion.cf.uci.edu!uci-ics!gateway!PARIS.ICS.UCI.EDU!nagel@PARIS.ICS.UCI.EDU From: nagel@PARIS.ICS.UCI.EDU (Mark Nagel) Newsgroups: news.software.nntp Subject: using fakesyslog Message-ID: <29391.606340366@paris.ics.uci.edu> Date: 19 Mar 89 19:52:46 GMT Sender: news@paris.ics.uci.edu Reply-To: nagel@ics.UCI.EDU Organization: University of California, Irvine - Dept of ICS Lines: 15 I have to use fakesyslog on one of our news servers since the syslog routines do not work (Sequent Symmetry Dynix 3.0.12). Anyhow, they work OK, except there is no file locking done on the fakesyslog file. I've tried to do this, once just by using flock on the open fakesyslog file descriptor; other times I've tried more complex methods. In any event, I can't seem to get the *%&^ thing to lock. This causes log messages to get interspersed with one another. I can just turn off logging, but it is nice to get those reports once a week. If anyone has fixed this (or if anyone knows how to get the syslog routines to function properly on the Symmetry), I'd appreciate it. Thanks in advance! Mark Nagel @ UC Irvine, Department of Information and Computer Science +----------------------------------------+ ARPA: nagel@ics.uci.edu | Six plus six equals fourteen for large | UUCP: ucbvax!ucivax!nagel | values of six -- Dave Ackerman |