aak
(usa Ubuntu)
Enviado em 01/02/2012 - 09:24h
Olá Julio!
Obrigado pela atenção. Rodei o comando e tive o resultado abaixo:
andrekageyama@akageyama:~$ strace saned
execve("/usr/sbin/saned", ["saned"], [/* 43 vars */]) = 0
brk(0) = 0x8a23000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7815000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=82341, ...}) = 0
mmap2(NULL, 82341, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7800000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsane.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}@\24{TTEXTO}{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=26100, ...}) = 0
mmap2(NULL, 29112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x583000
mmap2(0x589000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x589000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/libavahi-common.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}\220\"{TTEXTO}{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=50916, ...}) = 0
mmap2(NULL, 53768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x658000
mmap2(0x664000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x664000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/libavahi-client.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}\240'{TTEXTO}{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=71452, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77ff000
mmap2(NULL, 74208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2f9000
mmap2(0x30a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0x30a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}p\222\1{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1544392, ...}) = 0
mmap2(NULL, 1554968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9fa000
mmap2(0xb70000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x176) = 0xb70000
mmap2(0xb73000, 10776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb73000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}`\n{TTEXTO}{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=13940, ...}) = 0
mmap2(NULL, 16504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfe1000
mmap2(0xfe4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xfe4000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}\200[{TTEXTO}{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=124745, ...}) = 0
mmap2(NULL, 107016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x615000
mmap2(0x62c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16) = 0x62c000
mmap2(0x62e000, 4616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x62e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libdbus-1.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}\220M{TTEXTO}{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=292132, ...}) = 0
mmap2(NULL, 295364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000
mmap2(0x157000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x46) = 0x157000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}\3{TTEXTO}\1{TTEXTO}{TTEXTO}{TTEXTO}\260\30{TTEXTO}{TTEXTO}004{TTEXTO}{TTEXTO}{TTEXTO}"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30684, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77fe000
mmap2(NULL, 33364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x473000
mmap2(0x47a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x47a000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77fd000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb77fd6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x47a000, 4096, PROT_READ) = 0
mprotect(0x157000, 4096, PROT_READ) = 0
mprotect(0x62c000, 4096, PROT_READ) = 0
mprotect(0xfe4000, 4096, PROT_READ) = 0
mprotect(0xb70000, 8192, PROT_READ) = 0
mprotect(0x30a000, 4096, PROT_READ) = 0
mprotect(0x664000, 4096, PROT_READ) = 0
mprotect(0x589000, 4096, PROT_READ) = 0
mprotect(0x8058000, 4096, PROT_READ) = 0
mprotect(0x37a000, 4096, PROT_READ) = 0
munmap(0xb7800000, 82341) = 0
set_tid_address(0xb77fd728) = 4552
set_robust_list(0xb77fd730, 0xc) = 0
futex(0xbfb22f6c, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbfb22f6c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, b77fd6c0) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x61a530, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x61a5b0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="akageyama", ...}) = 0
brk(0) = 0x8a23000
brk(0x8a44000) = 0x8a44000
open("./saned.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/sane.d/saned.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1052, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7814000
read(3, "# saned.conf\n# Configuration for"..., 4096) = 1052
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7814000, 4096) = 0
time(NULL) = 1328095155
open("/etc/localtime", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2001, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2001, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7814000
read(3, "TZif2{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}{TTEXTO}{TTEXTO}\3{TTEXTO}{TTEXTO}{TTEXTO}{TTEXTO}"..., 4096) = 2001
_llseek(3, -29, [1972], SEEK_CUR) = 0
read(3, "\nBRT3BRST,M10.3.0/0,M2.3.0/0\n", 4096) = 29
close(3) = 0
munmap(0xb7814000, 4096) = 0
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
send(3, "<31>Feb 1 09:19:15 saned[4552]:"..., 93, MSG_NOSIGNAL) = 93
dup(1) = 4
open("/dev/null", O_RDWR) = 5
close(0) = 0
close(1) = 0
close(2) = 0
dup2(5, 0) = 0
dup2(5, 1) = 1
dup2(5, 2) = 2
close(5) = 0
rt_sigaction(SIGALRM, {0x804ba50, [ALRM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x804ba50, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
getpeername(4, 0x80592c0, [128]) = -1 ENOTSOCK (Socket operation on non-socket)
time(NULL) = 1328095155
send(3, "<31>Feb 1 09:19:15 saned[4552]:"..., 96, MSG_NOSIGNAL) = 96
time(NULL) = 1328095155
send(3, "<31>Feb 1 09:19:15 saned[4552]:"..., 69, MSG_NOSIGNAL) = 69
time(NULL) = 1328095155
send(3, "<31>Feb 1 09:19:15 saned[4552]:"..., 47, MSG_NOSIGNAL) = 47
exit_group(0) = ?
andrekageyama@akageyama:~$
Confesso que não entendi muita coisa, mas pelo que pude notar superficialmente, está faltando um diretório. O comando está apontando para um diretório que não existe no SysOp. E aí pode estar a causa da falha, pois com a atualização da versão do Ubuntu, esse diretório pode ter sido apagado.
Estive pensando em fazer uma instalação limpa, do zero, sem atualização sobreposta. Mas não sei se resolverá o problema.
Abraço!
julio_hoffimann escreveu:
Oi André,
Esse também seria meu palpite, não tenho experiência com essas configurações. Talvez o comando
strace seja útil para descobrir algo mais. Basta prefixar strace aos comandos e todas as chamadas ao sistema operacional serão impressas na tela.
$ strace ls
Boa sorte!