my linux syslog not working
Brian Fahrlander
brian at fahrlander.net
Wed Sep 22 04:30:00 UTC 2004
On Tue, 2004-09-21 at 23:13, jim martin wrote:
> Hi.. I have configured the syslog on the router to log
> to my linux box.
>
> I configured on my router
> logging facility local5
> logging 10.1.1.6
> logging trap info
>
> on my linux FC2 box
> add a entry in /etc/syslog.conf
> local5.* /var/log/routerlog
>
> chmod 777 /var/log/routerlog
> ps -ef | grep
>
> [root at linux root]# ps -ef | grep syslog
> root 23547 1 0 Sep21 ? 00:00:00
> syslogd -m 0 -r
> root 3044 29259 0 12:11 pts/3 00:00:00 grep
> syslog
>
> [root at linux root]# kill -HUP 23547
>
> [root at linux root]# netstat -a | grep syslog
> udp 0 0 *:syslog *:*
>
> There is still no log, Why ? Any one can point out
> what is the error? Seems like the router log is not
> coming in at all :(
Like in a lot of places, try it with no restrictions, then tighten
it to get what you want/need. This of course is the case if you
_haven't_ restarted syslogd ("service syslogd restart").
Try something like this first, to prove the concept, then tune it
down:
*.* / /var/log/routerlog
If you restart it and it starts filling up, then start chosing your
keywords. I don't know any off the top of my head, but they're in the
kernel documentation, surely.
Just don't forget the restart.
--
------------------------------------------------------------------------
Brian Fahrländer Christian, Conservative, and Technomad
Evansville, IN http://www.fahrlander.net
ICQ 5119262
AIM: WheelDweller
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040921/715de9e4/attachment-0001.sig>
More information about the fedora-list
mailing list