Hey everyone,
If anyone could help me with this problem, I'd greatly appreciate it.
Whenever I try to start swat (from the command-line by invoking
/usr/sbin/swat), it sits there for a very long time as if it's running,
but any attempt to use telnet to the port or point my browser at it
results in nothing, as if swat were just not running. Firewalling is no
issue, I've disabled it. Swat ultimately dies after a few minutes
giving no output to the console other than "Alarm clock". What does
this error message mean?
I've tried running swat with -d 10 and "strace /usr/sbin/swat -o myfile"
hoping that the output will mean more to someone else than it does to
me. I've seen other people with this problem googling around, but no
solution, and I can't seem to figure it out on my own.
Thanks in advance for the help,
bit
"/usr/sbin/swat -d 10" output:
[2008/03/07 19:18:12, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/03/07 19:18:12, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/03/07 19:18:12, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/03/07 19:18:12, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/03/07 19:18:12, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/03/07 19:18:12, 2] lib/interface.c:add_interface(81)
added interface ip=10.0.0.1 bcast=10.255.255.255 nmask=255.0.0.0
[2008/03/07 19:18:12, 2] lib/interface.c:add_interface(81)
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2008/03/07 19:18:12, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2008/03/07 19:18:12, 5] printing/print_cups.c:cups_cache_reload(71)
reloading cups printcap cache
[2008/03/07 19:18:12, 10] printing/print_cups.c:cups_server(51)
cups server left to default localhost
[2008/03/07 19:18:12, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2008/03/07 19:18:12, 7] param/loadparm.c:lp_servicenumber(4343)
lp_servicenumber: couldn't find mybox
[2008/03/07 19:18:12, 8] param/loadparm.c:add_a_service(2446)
add_a_service: Creating snum = 6 for mybox
[2008/03/07 19:18:12, 10] param/loadparm.c:hash_a_service(2493)
hash_a_service: hashing index 6 for service name mybox
[2008/03/07 19:18:12, 3] param/loadparm.c:lp_add_printer(2618)
adding printer service mybox
[2008/03/07 19:18:12, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2008/03/07 19:18:12, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Socket operation on non-socket
[2008/03/07 19:18:12, 0] lib/access.c:check_access(328)
[2008/03/07 19:18:12, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Socket operation on non-socket
Denied connection from (0.0.0.0)
"strace /usr/sbin/swat -o myfile" output:
munmap(0xb738c000, 4096) = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
time([1204938394]) = 1204938394
getpid() = 31787
rt_sigaction(SIGPIPE, {0x411140, [], SA_RESTORER, 0x35fec8}, {SIG_IGN},
8) = 0
send(4, "<27>Mar 7 20:06:34 swat[31787]:"..., 96, 0) = 96
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
geteuid32() = 0
write(3, " getpeername failed. Error was "..., 63) = 63
time(NULL) = 1204938394
time([1204938394]) = 1204938394
getpid() = 31787
rt_sigaction(SIGPIPE, {0x411140, [], SA_RESTORER, 0x35fec8}, {SIG_IGN},
8) = 0
send(4, "<27>Mar 7 20:06:34 swat[31787]:"..., 89, 0) = 89
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
geteuid32() = 0
write(3, "[2008/03/07 20:06:34, 0] lib/acc"..., 56) = 56
getpeername(1, 0xbfff9e10, [16]) = -1 ENOTSOCK (Socket operation
on non-socket)
time(NULL) = 1204938394
time([1204938394]) = 1204938394
getpid() = 31787
rt_sigaction(SIGPIPE, {0x411140, [], SA_RESTORER, 0x35fec8}, {SIG_IGN},
8) = 0
send(4, "<27>Mar 7 20:06:34 swat[31787]:"..., 94, 0) = 94
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
geteuid32() = 0
write(3, "[2008/03/07 20:06:34, 0] lib/uti"..., 61) = 61
time([1204938394]) = 1204938394
getpid() = 31787
rt_sigaction(SIGPIPE, {0x411140, [], SA_RESTORER, 0x35fec8}, {SIG_IGN},
8) = 0
send(4, "<27>Mar 7 20:06:34 swat[31787]:"..., 96, 0) = 96
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
geteuid32() = 0
write(3, " getpeername failed. Error was "..., 63) = 63
time([1204938394]) = 1204938394
getpid() = 31787
rt_sigaction(SIGPIPE, {0x411140, [], SA_RESTORER, 0x35fec8}, {SIG_IGN},
8) = 0
send(4, "<27>Mar 7 20:06:34 swat[31787]:"..., 69, 0) = 69
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
geteuid32() = 0
write(3, " Denied connection from (0.0.0"..., 36) = 36
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb738c000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb738b000
read(0, 0xb738c000, 1024) = ? ERESTARTSYS (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
+++ killed by SIGALRM +++
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba