cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4808 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Sep 14, 2008 9:09 pm Post subject: [samba + cups +win +ps ] cupsaddsmb stressato [risolto] |
|
|
seguendo questa guida sono arrivato al comando:
Code: |
# cupsaddsmb -H localhost -U root -a
|
a quel punto il sistema langue.
dapprima ho pensato che fosse incantato in un loop di autenticazione, poi ho scoperto che sta producendo una caterva di file temporanei:
Code: |
s939 samba # ls /tmp/48b*
/tmp/48b407c403be1 /tmp/48b408fcc3613 /tmp/48b409e6bf294 /tmp/48b40a61c0299 /tmp/48b40bc12820d /tmp/48b40e525507c /tmp/48b4116642831
/tmp/48b4080747938 /tmp/48b40961ebe51 /tmp/48b40a164724c /tmp/48b40af3bb0e1 /tmp/48b40bded6d6f /tmp/48b40e713de1f /tmp/48b411acc585b
/tmp/48b40829cc266 /tmp/48b409af8c93b /tmp/48b40a44a2643 /tmp/48b40b3811168 /tmp/48b40cb5df275 /tmp/48b41106154f5
|
visti dentro, questi son ofile di testo di testo con contenuto attinente alla stampa (simili ai ppd).
ho provato anche a lanciare il programma sotto un strace -f -e open (per più di un'ora) e ho ottenuto questo output ricorrente:
Code: |
...
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/tmp/48cd7c3227ed8", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 5
Process 16101 attached (waiting for parent)
Process 16101 resumed (parent 29697 ready)
[pid 16101] open("/dev/null", O_RDONLY) = 0
[pid 16101] open("/dev/null", O_WRONLY) = 1
[pid 16101] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 16101] open("/lib/libreadline.so.5", O_RDONLY) = 3
[pid 16101] open("/lib/libcap.so.1", O_RDONLY) = 3
[pid 16101] open("/lib/libresolv.so.2", O_RDONLY) = 3
[pid 16101] open("/lib/libnsl.so.1", O_RDONLY) = 3
[pid 16101] open("/lib/libdl.so.2", O_RDONLY) = 3
[pid 16101] open("/usr/lib/libpopt.so.0", O_RDONLY) = 3
[pid 16101] open("/lib/libc.so.6", O_RDONLY) = 3
[pid 16101] open("/lib/libncurses.so.5", O_RDONLY) = 3
[pid 16101] open("/usr/lib64/samba/upcase.dat", O_RDONLY) = 3
[pid 16101] open("/usr/lib64/samba/lowcase.dat", O_RDONLY) = 3
[pid 16101] open("/tmp/48cd7c3227ed8", O_RDONLY) = 4
[pid 16101] open("/etc/samba/smb.conf", O_RDONLY) = 4
[pid 16101] open("/usr/lib64/locale/locale-archive", O_RDONLY) = 4
[pid 16101] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
[pid 16101] open("/usr/lib64/gconv/UTF-16.so", O_RDONLY) = 4
[pid 16101] open("/usr/lib64/gconv/IBM850.so", O_RDONLY) = 4
Process 29697 suspended
[pid 16101] open("/usr/lib64/samba/valid.dat", O_RDONLY) = 4
[pid 16101] open("/var/cache/samba/gencache.tdb", O_RDWR|O_CREAT, 0644) = 4
[pid 16101] open("/dev/urandom", O_RDONLY) = 6
[pid 16101] open("/var/cache/samba/lang_it.tdb", O_RDWR|O_CREAT, 0644) = 7
Process 29697 resumed
Process 16101 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/tmp/48cd7c32394b0", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 5
Process 16103 attached (waiting for parent)
Process 16103 resumed (parent 29697 ready)
[pid 16103] open("/dev/null", O_RDONLY) = 0
[pid 16103] open("/dev/null", O_WRONLY) = 1
[pid 16103] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 16103] open("/lib/libreadline.so.5", O_RDONLY) = 3
[pid 16103] open("/lib/libcap.so.1", O_RDONLY) = 3
[pid 16103] open("/lib/libresolv.so.2", O_RDONLY) = 3
[pid 16103] open("/lib/libnsl.so.1", O_RDONLY) = 3
[pid 16103] open("/lib/libdl.so.2", O_RDONLY) = 3
[pid 16103] open("/usr/lib/libpopt.so.0", O_RDONLY) = 3
[pid 16103] open("/lib/libc.so.6", O_RDONLY) = 3
[pid 16103] open("/lib/libncurses.so.5", O_RDONLY) = 3
[pid 16103] open("/usr/lib64/samba/upcase.dat", O_RDONLY) = 3
[pid 16103] open("/usr/lib64/samba/lowcase.dat", O_RDONLY) = 3
[pid 16103] open("/tmp/48cd7c32394b0", O_RDONLY) = 4
[pid 16103] open("/etc/samba/smb.conf", O_RDONLY) = 4
[pid 16103] open("/usr/lib64/locale/locale-archive", O_RDONLY) = 4
[pid 16103] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
[pid 16103] open("/usr/lib64/gconv/UTF-16.so", O_RDONLY) = 4
[pid 16103] open("/usr/lib64/gconv/IBM850.so", O_RDONLY) = 4
Process 29697 suspended
[pid 16103] open("/usr/lib64/samba/valid.dat", O_RDONLY) = 4
[pid 16103] open("/var/cache/samba/gencache.tdb", O_RDWR|O_CREAT, 0644) = 4
[pid 16103] open("/dev/urandom", O_RDONLY) = 6
^CProcess 29697 resumed
Process 16103 detached
...
|
cosa sta accadendo? deve proprio funzionare così o è tutto inceppato?
se sì, dove? _________________ vu vu vu
gentù
mi piaci tu
Last edited by cloc3 on Sun Sep 14, 2008 11:06 pm; edited 1 time in total |
|