Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[samba + cups +win +ps ] cupsaddsmb stressato [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4808
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Sep 14, 2008 9:09 pm    Post subject: [samba + cups +win +ps ] cupsaddsmb stressato [risolto] Reply with quote

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
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4808
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Sep 14, 2008 10:37 pm    Post subject: Reply with quote

risolto. errore di sintassi dentro smb.conf - le righe che terminano con un path non possono tenere commenti, altrimenti il commento viene incorporato nel path ...

strumenti di indagine:

    - opzione -v al comando cupsaddsmb
    - lettura attenta di tutti i file di log, soprattutto quelli che segnalano l'errore.

attenzione a testparm: per questo tipo di errori fa (incolpevolmente) cilecca.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum