Re: [socklog-unix] socklog: fatal: bind(): operation not supported

"Charles M. Gerungan" <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
On 28-mrt-2006, at 22:14, Charles M. Gerungan wrote:

> I've just installed socklog, and /var/log/socklog/main/current is  
> filling up with a continuous stream of the same error:
>
> 	socklog: fatal: bind(): operation not supported
>
> What might be the cause of this?

Here's an strace:

root@coruscant /var/svc.d/socklog-unix # chpst -Unobody strace -o  
strace socklog unix /dev/log
socklog: fatal: bind(): operation not supported
root@coruscant /var/svc.d/socklog-unix # cat strace
execve(0xbfbfe84c, [0xbfbfed38], [/* 0 vars */]) = 0
mmap(0, 3920, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0) = 0x28070000
munmap(0x28070000, 3920)                = 0
__sysctl([...], 0x2806cc58, 0xbfbfeaf4, NULL, 0) = 0
mmap(0, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) =  
0x28070000
issetugid(0)                            = 0
open("/etc/libmap.conf", O_RDONLY)      = -1 ENOENT (No such file or  
directory)
open("/var/run/ld-elf.so.hints", O_RDONLY) = 3
read(3, "LD_TRACE_LOADED_OBJECTS_FMT1\0\t%o"..., 128) = 128
lseek(3, 128, SEEK_SET)                 = 128
read(3, "/lib:/usr/lib:/usr/lib/compat:/u"..., 71) = 71
close(3)                                = 0
access("/lib/libc.so.5", F_OK)          = 0
open("/lib/libc.so.5", O_RDONLY)        = 3
fstat(3, {st_mode=0, st_size=0, ...})   = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\327"...,  
4096) = 4096
mmap(0, 892928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_NOCORE, 3, 0) =  
0x28078000
mprotect(0x28138000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x28138000, 4096, PROT_READ|PROT_EXEC) = 0
mmap(0x28139000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,  
3, 0xc0000) = 0x28139000
mmap(0x2813e000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
MAP_ANON, -1, 0) = 0x2813e000
close(3)                                = 0
mmap(0, 272, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0) = 0x28152000
munmap(0x28152000, 272)                 = 0
mprotect(0x28078000, 790528, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap(0, 22024, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0) = 0x28152000
munmap(0x28152000, 22024)               = 0
mprotect(0x28078000, 790528, PROT_READ|PROT_EXEC) = 0
syscall_416(0x4, 0xbfbfec40, 0xbfbfec20) = 0
sigprocmask(SIG_BLOCK, NULL, [])        = 0
syscall_416(0x4, 0xbfbfec20, 0)         = 0
sysarch(0x1, 0xbfbfec50)                = 17
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 3
unlink("")                              = -1 ENOENT (No such file or  
directory)
umask(0)                                = 022
bind(3, {sa_family=0x9c /* AF_??? */, sa_data="\7\0\0^\t\0\0\243\7\0\0 
\215\7\0"}, 106) = -1 EOPNOTSUPP (Operation not supported)
write(2, "socklog: fatal: bind(): operatio"..., 48) = 48
exit(111)                               = ?

-- 
Regards, Charles.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.