[syslog-ng]Syslog-ng v1.4.11, libol 0.2.21, Slackware Linux 7.1, Not Logging

Jon Todaro entity73@earthlink.net
Mon, 7 May 2001 08:08:28 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C0D6CC.E5C46620
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit


An strace of syslog-ng is included.


Jon Todaro

-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu]On Behalf Of Balazs Scheidler
Sent: Monday, May 07, 2001 2:50 AM
To: syslog-ng@lists.balabit.hu
Subject: Re: [syslog-ng]Syslog-ng v1.4.11, libol 0.2.21, Slackware Linux
7.1, Not Logging

On Sun, May 06, 2001 at 12:29:05PM -0500, Jon Todaro wrote:
> I am trying to get syslog-ng running. I am using the stock
> syslog-ng.conf.RedHat config file, and syslog-ng starts, but will not
> autocreate the files, and it also wont log at all. If I run syslog-ng
in -d
> mode. This is some of the output it shows me when I telnet in from another
> client.

an strace dump of syslog-ng would be a bit more helpful.

--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng

------=_NextPart_000_0000_01C0D6CC.E5C46620
Content-Type: text/plain;
	name="strace.out.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="strace.out.txt"

execve("/usr/sbin/syslog-ng", ["syslog-ng"], [/* 30 vars */]) =3D 0      =
                  =20
brk(0)                                  =3D 0x8059524                    =
                  =20
open("/etc/ld.so.preload", O_RDONLY)    =3D -1 ENOENT (No such file or =
directory)          =20
open("/etc/ld.so.cache", O_RDONLY)      =3D 3                            =
                  =20
fstat(3, {st_mode=3DS_IFREG|0644, st_size=3D20848, ...}) =3D 0           =
                      =20
old_mmap(NULL, 20848, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0x40014000       =
                  =20
close(3)                                =3D 0                            =
                  =20
open("/lib/libnsl.so.1", O_RDONLY)      =3D 3                            =
                  =20
fstat(3, {st_mode=3DS_IFREG|0755, st_size=3D75500, ...}) =3D 0           =
                      =20
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2709\0"..., =
4096) =3D 4096        =20
old_mmap(NULL, 84136, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =3D=20
0x4001a000               =20
mprotect(0x4002b000, 14504, PROT_NONE)  =3D 0                            =
                  =20
old_mmap(0x4002b000, 8192, PROT_READ|PROT_WRITE,=20
MAP_PRIVATE|MAP_FIXED, 3, 0x10000) =3D 0x40
02b000                                                                   =
                =20
old_mmap(0x4002d000, 6312, PROT_READ|PROT_WRITE,=20
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,=20
0) =3D 0x4002d000                                                        =
                  =20
close(3)                                =3D 0                            =
                  =20
open("/lib/libc.so.6", O_RDONLY)        =3D 3                            =
                  =20
fstat(3, {st_mode=3DS_IFREG|0755, st_size=3D1013224, ...}) =3D 0         =
                      =20
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\206"..., =
4096) =3D 4096       =20
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,=20
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =3D 0x4002f000=20
old_mmap(NULL, 954492, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =3D=20
0x40030000              =20
mprotect(0x40112000, 28796, PROT_NONE)  =3D 0                            =
                  =20
old_mmap(0x40112000, 16384, PROT_READ|PROT_WRITE,=20
MAP_PRIVATE|MAP_FIXED, 3, 0xe1000) =3D 0x4
0112000                                                                  =
                =20
old_mmap(0x40116000, 12412, PROT_READ|PROT_WRITE,=20
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,
 0) =3D 0x40116000                                                       =
                  =20
close(3)                                =3D 0                            =
                  =20
mprotect(0x40030000, 925696, PROT_READ|PROT_WRITE) =3D 0                 =
                  =20
mprotect(0x40030000, 925696, PROT_READ|PROT_EXEC) =3D 0                  =
                  =20
munmap(0x40014000, 20848)               =3D 0                            =
                  =20
personality(PER_LINUX)                  =3D 0                            =
                  =20
getpid()                                =3D 26738                        =
                  =20
brk(0)                                  =3D 0x8059524                    =
                  =20
brk(0x8059574)                          =3D 0x8059574                    =
                  =20
brk(0x805a000)                          =3D 0x805a000                    =
                  =20
open("/etc/syslog-ng/syslog-ng.conf", O_RDONLY) =3D 3                    =
                  =20
brk(0x805f000)                          =3D 0x805f000                    =
                  =20
ioctl(3, TCGETS, 0xbffff734)            =3D -1 ENOTTY (Inappropriate =
ioctl for device)     =20
read(3, "\noptions { dir_perm(0755); perm("..., 8192) =3D 1260           =
                  =20
read(3, "", 6932)                       =3D 0                            =
                  =20
read(3, "", 8192)                       =3D 0                            =
                  =20
ioctl(3, TCGETS, 0xbffff208)            =3D -1 ENOTTY (Inappropriate =
ioctl for device)     =20
close(3)                                =3D 0                            =
                  =20
fork()                                  =3D 26739                        =
                  =20
rt_sigaction(SIGTERM, {0x8049a0c, [], SA_RESTART|0x4000000}, {SIG_DFL}, =
8) =3D=20
0           =20
pause()                                 =3D ? ERESTARTNOHAND (To be =
restarted)             =20
--- SIGTERM (Terminated) ---                                             =
                =20
rt_sigaction(SIGTERM, {0x8049a0c, [], SA_RESTART|0x4000000}, {0x8049a0c, =
[],=20
SA_RESTART|0x
4000000}, 8) =3D 0                                                       =
                  =20
sigreturn()                             =3D ? (mask now [])              =
                  =20
_exit(0)                                =3D ?                            =
                  =20
                                                                         =
                =20
[root@bone:/root]                                                        =
                =20

------=_NextPart_000_0000_01C0D6CC.E5C46620--