[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syslog file



Hi Jim,

Hmmm, I'm not a system administrator, so I don't fully understand the
'ifdef ('LOGHOST'... in the file, but I would wonder about it.  Is LOGHOST
set for user ldm?  I'd try moving the local0.debug line out of that
conditional or ensure that LOGHOST is set for user ldm..

One other thing: I've seen logging fail when the fields in the
local0.debug entry in syslog.conf are not separated by tabs.  I can't tell
from what you sent me if this is the case (mailers tend to mangle stuff),
but do check it out.

I see from your other email that syslogd is running, so I suspect one of
the above two possibilites.  Check these out and let me know what happens.

Btw, as long as you don't have the line 
    local0.none  /var/adm/messages
in the file your ldm messages may be written to the system log
/var/adm/messages.  You might look there and see if there are ldm messages
there.  Once you get logging working, you might want to add this line to
syslog.conf so ldm messages are only written to ldmd.log.  (See
http://www.unidata.ucar.edu/packages/ldm/ldmPreInstallList.html#s8 for the
complete instructions.)

Is your ldm starting now?

Anne
***************************************************
Anne Wilson                     UCAR Unidata Program            
address@hidden                 P.O. Box 3000
                                  Boulder, CO  80307
----------------------------------------------------
Unidata WWW server       http://www.unidata.ucar.edu/
****************************************************

On Fri, 12 Jan 2001, sysadmin-ldm wrote:

> Anne, I'm not too experienced with using this mail program yet. Let's see if 
> this works. Here's a copy of our syslog.conf:
> # if a non-loghost machine chooses to have authentication messages
> # sent to the loghost machine, un-comment out the following line:
> #auth.notice                    ifdef(`LOGHOST', /var/log/authlog, @loghost)
> 
> mail.debug                      ifdef(`LOGHOST', /var/log/syslog, @loghost)
> 
> #
> # non-loghost machines will use the following lines to cause "user"
> # log messages to be logged locally.
> #
> ifdef(`LOGHOST', ,
> user.err                                /dev/sysmsg
> user.err                                /var/adm/messages
> user.alert                              `root, operator'
> user.emerg                              *
> # The following line was added by J.R. Frysinger, 2000-12-22, for LDM.
> local0.debug                            /export/home/ldm/logs/ldmd.log
> )
> 
> And for comparison, here's the path to ldmd.log:
> /etc 18 > ls /export/home/ldm/logs
> ./                 2001011220.stats   ldmbinstats.upc
> ../                2001011221.stats   ldmd.log
> 
> Jim
>