[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #OUD-611004]: logs not writing
- Subject: [LDM #OUD-611004]: logs not writing
- Date: Wed, 02 Sep 2015 17:23:56 -0600
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
>
> ldm@5sat:/etc/selinux$ uname -a
> Linux 5sat 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux
>
> ldm@5sat:~/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
>
> ldm@5sat:~/var/logs$ ls -l $HOME/bin/hupsyslog
> -rwsr-xr-x 1 root ldm 12396 Aug 31 16:28 /home/ldm/bin/hupsyslog
Good.
> ldm@5sat:~/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".
> ldm@5sat:~/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
>
> ldm@5sat:~/var/logs$ test -f /etc/selinux/config && grep ^SELINUX=
> /etc/selinux/config
Try "getenforce".
> ldm@5sat:~/var/logs$ cd /etc/selinux
> ldm@5sat:/etc/selinux$ ls
> semanage.conf
>
> ldm@5sat:~/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
>
> ldm@5sat:~/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