Am Dienstag, den 27.11.2007, 10:54 +0100 schrieb Rainer Gerhards:
[...]
> Your help is deeply appreciated!
Short: won't work out of the box on RHEL5.1.
Long:
Download of RPM to RHEL5.1, installed libmudflap and libmudflabp-devel,
build and installed rsyslog, did not install the mysql-package.
Felt annoyed when I realised that the package moved /etc/rsyslog.conf
to /etc/rsyslog.conf.rpmnew and copied a new configuration
to /etc/rsyslog.conf. Changed back to my old configuration.
Did "/sbin/rsyslogd -n -o -r514 -m 0". The daemon starts and that's it.
Killed it, did "/opt/rsyslog/sbin/rsyslogd -n -o -r514 -m 0" (the
"original 1.19.10") and it logged fine. So both the command-line and the
config seem to be valid. But the modified rsyslog+mudflap just sits
there in a loop, waiting for something to happen (according to strace).
open("/etc/hosts", O_RDONLY) = 8
fcntl(8, F_GETFD) = 0
fcntl(8, F_SETFD, FD_CLOEXEC) = 0
fstat(8, {st_mode=S_IFREG|0644, st_size=234, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2aaaaaaad000
read(8, "# Do not remove the following li"..., 4096) = 234
read(8, "", 4096) = 0
close(8) = 0
munmap(0x2aaaaaaad000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=135025, ...}) = 0
mmap(NULL, 135025, PROT_READ, MAP_PRIVATE, 8, 0) = 0x2aaaaae7e000
close(8) = 0
open("/lib64/libnss_dns.so.2", O_RDONLY) = 8
read(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\17\0\0\0\0\0
\0"..., 832) = 832
futex(0x2aaaaacea840, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted
system call)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x2aaaaacea840, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted
system call)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x2aaaaacea840, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted
system call)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x2aaaaacea840, FUTEX_WAIT, 2, NULL
Last lines indicate some DNS-problem and in fact adding "-x" to the
commandline helps. Now I'm waiting for the next crash to send my
output^.
--
CU,
Patrick.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog