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

[LDM #OGW-773612]: LDM is not logging



Evan,

> [Here is the output:
> 
> ldm@ldm-v:~$ ps -ef | grep syslog
> syslog    4822     1  0 Dec15 ?        00:00:27 /sbin/syslogd -u syslog
> ldm       5760  5756  0 Dec15 ?        00:00:41 /usr/bin/pulseaudio
> --log-target=syslog
> ldm      23922 15116  0 13:59 pts/1    00:00:00 grep syslog
> ldm@ldm-v:~$ ls -l $HOME/bin/hupsyslog
> -rwsr-xr-x 1 root ldm 7252 2008-11-24 16:46 /home/ldm/bin/hupsyslog
> ldm@ldm-v:~$ grep LOG_LDM $HOME/include/ldmconfig.h
> #define LOG_LDM LOG_LOCAL0
> ldm@ldm-v:~$ echo $ULOG_FACILITY_OVERRIDE
> 
> ldm@ldm-v:~$ ls -l /etc/*syslog.conf
> -rw-r--r-- 1 root root 1663 2008-11-24 16:21 /etc/syslog.conf
> ldm@ldm-v:~$ grep local /etc/*syslog.conf
> mail,news.none,local0.none              -/var/log/messages
> local0.debug

It appears from the command "grep local /etc/*syslog.conf", that
you don't have an entry in the syslog(8) configuration file that
tells the logging daemon where to put messages from the "local0"
facility.  The file needs to have an entry like

local0.debug<tab>/home/ldm/logs/ldmd.log

where "<tab>" denotes one or more tab characters.  See
<http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/preinstallation.html#syslog.conf>
for more information.

> ldm@ldm-v:~$ test -f /etc/selinux/config && grep ^SELINUX=
> /etc/selinux/config mount
> ldm@ldm-v:~$
> ]

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OGW-773612
Department: Support LDM
Priority: Normal
Status: Closed