Starman P wrote: > > Hi All > Thanks for your responses. > But even after doing the following: > 1. edited /etc/sysconfig/syslog file and changed > SYSLOGD_OPTIONS="-m 0" to SYSLOGD_OPTIONS="-r -m 0" > 2. saved that file > 3. /etc/rc.d/init.d/syslog restart > and then checked /syslog/nortel_8600 file, but nothing is coming to that > file. That file has rwx for everyone > Can anyone really help me on this, your help is greatly appreciated > > thanks a lot > Pran > > >From: Cokey <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: [EMAIL PROTECTED] > >Subject: Re: syslog on red hat 7.3 > >Date: Mon, 22 Jul 2002 18:23:31 -0400 > > > >J Bacher wrote: > > > > > > At 04:30 PM 7/22/2002 +0000, you wrote: > > > >Hi All > > > >I am trying to setup syslog on red hat 7.3 for a nortel 8600. 8600 was > > > >configured to send logs to another server before, but that server has > >been > > > >replaced with another another new linux box. and 8600 was sending logs > >to > > > >previous syslog server > > > >Now, i did the following: > > > >1 Edited /ets/syslog.conf file and added the following line: > > > > local6.debug /syslog/nortel_8600 > > > >2. I created /syslog/nortel_8600 file and has permission as 666 > > > >3. stopped the syslogd by doing following: > > > > I. kill -9 pid_of_syslogd > > > > II. syslogd > > > >4. After that i verified that syslogd is working by checking ps-ef\grep > >-i > > > >syslog > > > >5. But when i check the /syslog/nortel_8600, the file size is 0 > > > > > > > >Any body can help me out here, what i am doing wrong?? > > > > > > You have to tell syslog to accept remote connections. > > > > > > edit the /etc/rc.d/init.d/syslog file > > > > > > change SYSLOGD_OPTIONS="-m 0" to SYSLOGD_OPTIONS="-r -m 0". > > > > > > save it and do a "./syslog restart" (no quotes). > > > > > > >Actually, in 7.3 the correct place to change the syslog options is > >in the /etc/sysconfig/syslog file. If this file is present, the > >SYSLOGD_OPTIONS will be ignored. > > > >Best > > > >Cokey > > > >-- Well, first do a 'ps ax' and see what parameters syslog is using. Should look something like:
10840 ? S 0:12 syslogd -m 0 -r Then you might check your /var/log/messages file to see if by some chance the Nortel messages are just getting to the wrong file. Further, I might suggest commenting out the local6... lines in the /etc/syslog.conf file and just test to see if the Nortel messages are getting across at all. Once you find them in the std messages file, you can work on getting them into a seperate file. I can't help you there as I haven't gotten it working yet. Best Cokey -- ------------------------------------------------------------------ F. 'Cokey' de Percin, DBA Email: CSC (formerly Mynd) Work - [EMAIL PROTECTED] Columbia, South Carolina Home - [EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list