[syslog-ng] HUP does not work
Lumir Unzeitig (DHL CZ)
lumir.unzeitig at dhl.com
Wed Apr 19 15:18:23 CEST 2006
Hi,
I use syslog-ng-1.6.9-1. When the server should be killed by HUP signal
(logrotate ) nothing happens (no time change in process table)
I attached list of HUP action and strace of the action.
The daemon uses pipes() and udp() as the sources.
Do you have any idea?
Thanks for your help.
Regards
Lumir Unzeitig
[root at server root]# ps -ef|grep syslog-n[g]
26 4893 1 0 15:06 ? 00:00:00 /sbin/syslog-ng -p
/var/run/syslog-ng.pid -u syslog-ng -g syslog-ng -C /service/log
[root at server root]# kill -HUP 4893
[root at server root]# ps -ef|grep syslog-n[g]
26 4893 1 0 15:06 ? 00:00:00 /sbin/syslog-ng -p
/var/run/syslog-ng.pid -u syslog-ng -g syslog-ng -C /service/log
[root at server root]# strace kill -HUP 4893
execve("/bin/kill", ["kill", "-HUP", "4893"], [/* 29 vars */]) = 0
uname({sys="Linux", node="server", ...}) = 0
brk(0) = 0x8345000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=77678, ...}) = 0
old_mmap(NULL, 77678, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75e3000
close(3) = 0
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200X\1"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1572440, ...}) = 0
old_mmap(NULL, 1279916, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x51c000
old_mmap(0x64f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x132000) = 0x64f000
old_mmap(0x652000, 10156, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x652000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb75e2000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb75e2500,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb75e3000, 77678) = 0
brk(0) = 0x8345000
brk(0x8366000) = 0x8366000
brk(0) = 0x8366000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb73e2000
close(3) = 0
kill(4893, SIGHUP) = 0
exit_group(0) = ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060419/37942afd/attachment.html
More information about the syslog-ng
mailing list