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

[LDM #OUD-611004]: logs not writing



Patrick,

Not logging is a problem that must be fixed.

> Installed the latest ldm on 3 of the machines tonight and itâs purring
> along just fineâ with the only caveat that log files are not writingâ
> rather than touch anything since itâs working, I just thought it might be
> prudent to show you the output from one of your help desk messages.. Iâm
> guessing this might be a debian specific type of issue like we had before:
> 
> Normal install / configure with logging to local0
> 
> Fyi debian wheezy
> 
> address@hidden:/etc/selinux$ uname -a
> Linux 5sat 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux
> 
> address@hidden:~/var/logs$ ps -ef | grep syslog
> root      3203     1  0 10:54 ?        00:00:00 /usr/sbin/rsyslogd -c5
> ldm      78720 72265  0 18:47 pts/0    00:00:00 grep syslog
> 
> address@hidden:~/var/logs$ ls -l $HOME/bin/hupsyslog
> -rwsr-xr-x 1 root ldm 12396 Aug 31 16:28 /home/ldm/bin/hupsyslog

Good.

> address@hidden:~/var/logs$ grep LOG_LDM $HOME/include/ldmconfig.h
> grep: /home/ldm/include/ldmconfig.h: No such file or directory

Try "grep LOG_LDM $HOME/src/config.h".

> address@hidden:~/var/logs$ grep local /etc/*syslog.conf
> $ModLoad imuxsock # provides support for local system logging
> local0.none     -/var/log/syslog
> local0.none     -/var/log/debug
> local0.none     -/var/log/messages
> local0.*        /home/ldm/var/logs/ldmd.log
> 
> address@hidden:~/var/logs$ test -f /etc/selinux/config && grep ^SELINUX= 
> /etc/selinux/config

Try "getenforce".

> address@hidden:~/var/logs$ cd /etc/selinux
> address@hidden:/etc/selinux$ ls
> semanage.conf
> 
> address@hidden:~/var/logs$ ls -la
> total 8
> drwxr-xr-x 2 ldm ldm 4096 Aug 31 16:52 .
> drwxr-xr-x 5 ldm ldm 4096 Aug 31 16:29 ..
> -rw-r--r-- 1 ldm ldm    0 Aug 31 16:52 ldmd.log
> 
> address@hidden:~/var/logs$ date
> Mon Aug 31 18:55:50 CDT 2015

You might have to restart your system logging daemon in order get LDM logging 
to work.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OUD-611004
Department: Support LDM
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.