Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] segnalazione di bug clamd
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)
View previous topic :: View next topic  
Author Message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Tue Feb 15, 2005 11:05 am    Post subject: [RISOLTO] segnalazione di bug clamd Reply with quote

ciao...
dopo vari tentativi, sono riuscito a far funzionare clamd/clamsmtpd.

Ho però trovato un "bug", se così si può definire;
in pratica, quando viene usato un socket unix (/tmp/clamd in clamav.conf e clamsmtpd.conf)
e si avviano i servizi (/etc/init.d/clamd restart e /etc/init.d/clamsmtpd restart), ho scoperto che
il socket unix non viene avviato (facendo un netstat -pl) finchè a riga di comando non viene
eseguito:
root# clamd

appunto solo il demone (anche se stato avviato precedentemente!)

dato questo comando, eseguendo nuovamente un netstat -pl, si può notare,
nella sezione dei socket unix, il demone (/tmp/clamd) in ascolto!

Volevo sapere, prima di aprire un bug ticket, se è già successo e diciamo sia normale
come cosa, e quindi c'è una soluzione per avviare il demone in automatico, oppure devo
segnalarlo???

Thanks at all


Last edited by AlterX on Tue Feb 15, 2005 11:36 am; edited 1 time in total
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Feb 15, 2005 11:15 am    Post subject: Reply with quote

in genere devi andare su bugzilla e cercare...
per il tuo bug hai visto questo file??

/etc/conf.d/clamd



ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Tue Feb 15, 2005 11:25 am    Post subject: Reply with quote

effettivamente in clamd in /etc/conf.d
la linea:
START_CLAMD=..
era impostata a no!

forse per questo non si avviava in automatico e ho perso molto tempo :cry:

Adesso provo a riavviare la macchina ed a vedere se parte il socket da solo.
E' da segnalare questa configurazione anomala secondo te???
cioè...ho installato clamav, e il demone anche se partiva, non avviava il socket.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Feb 15, 2005 11:29 am    Post subject: Reply with quote

no..
non e' da segnalare.

E' fatto anche per avviare freshclam.
Quindi chi come me non vuole un demone extra..lascia START a no.

E' stato fatto apposta.
Ricorda che molto spesso le configurazioni di "partenza" sono sotto /etc/conf.d

Non serve cmq riavviare tutto per avere la conferma.
Killa clamd (quello startato in manuale)
e poi


Code:

/etc/init.d/clamd stop
/etc/init.d/clamd zap  (per essere sicuri ....)
/etc/init.d/clamd start



ciao :)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Tue Feb 15, 2005 11:36 am    Post subject: Reply with quote

ok grazie.:lol:
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Feb 15, 2005 11:39 am    Post subject: Reply with quote

di nulla.

Hai fatto cmq bene a chiedere perche' spesso ricevono bug inesistenti e spesso duplicati.
(come l'ultimo che ho mandato)

Bisogna sempre verifiare N volte prima di mandare un bug report.
Questo per favorirgli l'ingrato lavoro :)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Tue Feb 15, 2005 2:43 pm    Post subject: Reply with quote

infatti volevo evitare proprio questo!! 8)

ciaoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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