Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syslog server funciton in osx server?



Edward R Marczak wrote:

On Mar 10, 2007, at 11:12 PM, don montalvo wrote:

is anyone running syslog server on their xserve?

*Everyone* is running syslog on their OS X server. OS X "client", too. To be pedantic, it's actually asl as syslog in disguise.



a couple clients want their macs to route syslog output to their internal xserver. the 10.4 command line instructions for osx server don't work...good thing i backd up the /etc/rc file. ;)

Of course it's a good idea to backup any config file before you go mucking with it. However, you wouldn't adjust this in /etc/rc, but in the launchd plist that fires off syslog:


/System/Library/LaunchDaemons/com.apple.syslogd.plist

I'm sure this has been discussed on this list before, but for the sake of completeness, you need to update the ProgramArguments key to pass in the "-u" switch:

<key>ProgramArguments</key>
         <array>
                 <string>/usr/sbin/syslogd</string>
                 <string>-u</string>
         </array>


That'll make syslogd (asl) listen for remote syslog messages. Something goes a little batty during the nightly job that makes syslog stop listening, so, you should unload and reload it somewhere after that job runs (like in daily.local).


Hope that helps.

yes, you guys have been very helpful...thanks! i got a few responses, all suggesting the same thing. i'll configure in the next couple days and will report back. setting up the clients to pipe to syslog server is pretty straight forward (thanks again for suggestions in the past couple weeks on that one).

thanks,
don

--
don montalvo, nyc
917-559-5713
email@hidden
http://donmontalvo.com
++++++++++++++++++++++++++++++++++++++++++++++
"live is like riding a bicycle. to keep your
balance you must keep moving" -albert einstein

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >syslog server funciton in osx server? (From: don montalvo <email@hidden>)
 >Re: syslog server funciton in osx server? (From: Edward R Marczak <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.