Every line in syslog gets written twice!

Every line in syslog gets written twice!

Post by Chris Boyc » Thu, 24 Sep 1998 04:00:00



[we are running OpenServer 5.0.4]

Can anyone think of why the syslogd (or other phenomenon) would
cause every line in /adm/syslog to be written twice?

The only thing we've done recently is double the server's RAM
from 64 to 128 Meg.

I checked /etc/inittab, /etc/syslog.conf, /etc/conf/init.d/* for any
duplicate definitions, etc.  The syslogd is running only once.
This machine was just installed a week ago!!

EVERY line is duped, including the SCO copyrights stuff at boot-up:

Sep 22 17:54:03 psadm                     SCO OpenServer(TM) Release 5
Sep 22 17:54:03 psadm                     SCO OpenServer(TM) Release 5
Sep 22 17:54:03 psadm
Sep 22 17:54:03 psadm
Sep 22 17:54:03 psadm             (C) 1976-1997 The Santa Cruz
Operation, Inc.
Sep 22 17:54:03 psadm             (C) 1976-1997 The Santa Cruz
Operation, Inc.
Sep 22 17:54:03 psadm             (C) 1980-1994 Microsoft Corporation
Sep 22 17:54:03 psadm             (C) 1980-1994 Microsoft Corporation
Sep 22 17:54:03 psadm                         All rights reserved.
Sep 22 17:54:03 psadm                         All rights reserved.
Sep 22 17:54:03 psadm
Sep 22 17:54:03 psadm
Sep 22 17:54:03 psadm                   For complete copyright credits,
Sep 22 17:54:03 psadm                   For complete copyright credits,
Sep 22 17:54:03 psadm              enter "copyrights" at the command
prompt.
Sep 22 17:54:03 psadm              enter "copyrights" at the command
prompt.

Please help if you can...

thanks

Chris

--
______________________________

CHRIS BOYCE
System Administrator
ProTix Inc.
4513 Vernon Blvd
Madison WI  53705-4964 USA

<www.protix.com>

______________________________

 
 
 

Every line in syslog gets written twice!

Post by Jeff Lieberma » Thu, 24 Sep 1998 04:00:00



>[we are running OpenServer 5.0.4]

There's two of you?

Quote:>Can anyone think of why the syslogd (or other phenomenon) would
>cause every line in /adm/syslog to be written twice?

1.  SMP.  Each processor is doing its own thing.  Look for rebellious
processors.
2.  Duplicated syslogd running.  I know you said it's not this but check
again.  Run:
        ps -ef | grep -y "syslog"
3.  Double Vision. See an optomitrist.
4.  I *GUESS* that daemons inherit their environment from somewhere.
Anything in the environment for root that looks fishy?
5.  Mitosis.  The machine is about to split in half and become two new
machines.  Congratulations.
6.  Look in /usr/adm/messages and see if anything is complaining.

Quote:>The only thing we've done recently is double the server's RAM
>from 64 to 128 Meg.

So, put it back to 64MB and see if it's fixed.
If yes, look for problems with:
1.  The "hole" required at 64MB for certain VGA cards to play.
2.  Lack of L2 cache addressing above 64MB in certain chipsets.  See:
  http://developer.intel.com/design/pcisets/applnots/memory.htm
This may also indicate a busted L2 cache.

Wierd...

[x]email  [x]news  [ ]mailing list
--
Jeff Liebermann  150 Felker St #D  Santa Cruz CA 95060
(831)699-0483 pgr (831)426-1240 fax (831)336-2558 home
http://www.cruzio.com/~jeffl   WB6SSY


 
 
 

Every line in syslog gets written twice!

Post by John W. Templ » Thu, 24 Sep 1998 04:00:00




Quote:>Can anyone think of why the syslogd (or other phenomenon) would
>cause every line in /adm/syslog to be written twice?

Show us your syslog.conf and a ps -fe.
--
John W. Temples, III       ||       Providing the first public access Internet
Gulfnet Kuwait             ||            site in the Arabian Gulf region
 
 
 

Every line in syslog gets written twice!

Post by Graham Broadbridg » Tue, 29 Sep 1998 04:00:00



> [we are running OpenServer 5.0.4]
> Can anyone think of why the syslogd (or other phenomenon) would
> cause every line in /adm/syslog to be written twice?

Yep, and I've done it myself ... You're running two instances of syslogd.

Quote:> I checked /etc/inittab, /etc/syslog.conf, /etc/conf/init.d/* for any
> duplicate definitions, etc.  The syslogd is running only once.
> This machine was just installed a week ago!!

Just maybe the machine is also running syslogd from a boot script as well
as from inittab?  Did you check /etc/rc2.d/* ?

Maybe you have entries in /etc/syslog.conf that result in dupe entries
being logged.   Check out your syslog.conf for multiple levels being
logged to the same syslog.

Graham.
--




 
 
 

1. message written twice to syslog..logger

Hi,
I am using logger to send a message to syslog. But when I do it gets
wriiten twice to the var/adm/message file.

$ logger -p notice " test message"

My syslog.conf file look slike this:

 *.info;mail.none       /var/adm/messages
  *.debug               /var/adm/messages
  *.crit                /var/adm/messages
  *.err;auth.notice     /var/adm/messages
  *.info               /var/adm/messages

Have I got a repeating level in their somewhere ??

thanks
PS

2. How usable is "Magic6.3" on Linux PC?

3. Why does screen re-write with *every* new line?

4. Wireless Home Network Hardware Setup

5. writing to mirrored lv takes twice the time compared to writing to non-mirrored lv

6. Client printing

7. Insert a line of text every nth line

8. Is there a any CD recoder for Linux?

9. Syslog question - getting other hosts' syslog messages

10. inserting a blank line after every line - using sed

11. Mosaic shows every picture twice

12. Best way to write plug-ins?

13. Wingz add-ins - how to write