List Info

Thread: So tired, clamd.ctl not created




So tired, clamd.ctl not created
country flaguser name
Canada
2008-02-15 14:48:03
All was fine for months and months, i rebooted and now
clamd.ctl is not 
created anymore.... i still cannot belive why its so
complicated to get 
something so simple to work....

its should be straightforward...

i installed clamav-daemon and clamav via apt-get on Debian
Etch....

clamav.conf file is below

i run it as user clamav, directories are owned by amavis,
amavis is in 
clamav's group clamav is in amavis's group, i even 777 the 
/var/run/clamav dir, not luck , even as the user clamav or
amavis if i 
"su - " to them i can write and delete no problem.
but god forbid the 
dam clamd.ctl file can be created! and then if it does will
amavis be 
able to talk to it...

of course i restart after i make any change... currently i
have amavis 
not to use clamav as it does not work i was getting the
dreaded cannot 
connet to UNIX socket, bla bla

Anybody ?? i am pulling my hair out... AHAHAHAHH..


Thanks to all

LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
User clamav
AllowSupplementaryGroups yes
ScanMail true
ScanArchive true
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ArchiveMaxCompressionRatio 250
ArchiveLimitMemoryUsage false
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
StreamMaxLength 10M
LogSyslog false
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
TemporaryDirectory /tmp
SelfCheck 3600
Foreground false
Debug false
ScanPE true
ScanOLE2 true
ScanHTML true
DetectBrokenExecutables false
MailFollowURLs false
ArchiveBlockMax false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
NodalCoreAcceleration false
IdleTimeout 30
MailMaxRecursion 64
PhishingSignatures true
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0

-- 

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-4444


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: So tired, clamd.ctl not created
user name
2008-02-15 14:52:28
On Fri, Feb 15, 2008 at 8:48 PM, Rob Morin <robdido.ca> wrote:
> All was fine for months and months, i rebooted and now
clamd.ctl is not
>  created anymore.... i still cannot belive why its so
complicated to get
>  something so simple to work....

This is far more relevant to the clamav-users mailing list
;)

<---SNP--->
>  Anybody ?? i am pulling my hair out... AHAHAHAHH..
>  

Does clamd start?  What version of clamd are you running?

-- 
 Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the
process he
 doesn't become a monster. Friedrich Nietzsche

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: So tired, clamd.ctl not created
country flaguser name
United States
2008-02-15 14:58:29
Rob MacGregor wrote:
> On Fri, Feb 15, 2008 at 8:48 PM, Rob Morin <robdido.ca> wrote:
>   
>> All was fine for months and months, i rebooted and
now clamd.ctl is not
>>  created anymore.... i still cannot belive why its
so complicated to get
>>  something so simple to work....
>>     
>
> This is far more relevant to the clamav-users mailing
list ;)
>
> <---SNP--->
>   
>>  Anybody ?? i am pulling my hair out...
AHAHAHAHH..
>>  
>>     
>
> Does clamd start?  What version of clamd are you
running?
>
>   
I think i remember running into the clamd.ctl problem.
It's something like you have to stop amavis and run clamav
first.
If amavis is alive before clamav something weird happens i
believe. or 
it may be the other way around... don't remember clearly.

I just remember that the order of which daemon is started
first 
determines whether clamd.ctl can be created. Play with that
a bit that 
might help.
-James

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: So tired, clamd.ctl not created
user name
2008-02-15 15:13:45
Keep it on the list please.

On Fri, Feb 15, 2008 at 9:01 PM, Rob Morin <robdido.ca> wrote:
>
>  Opps... sorry you might have a point there, as the
original problem was
> that amavis could not connect to clamd.ctl, that why i
figured i would send
> i there, sorry...
>
>  yes clamd starts it just not created that
/var/run/clamav/clamd.ctl file
> :(
>
>  Version 0.90.1 on debian etch..

That's very out of date - update to 0.92.1.

-- 
 Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the
process he
 doesn't become a monster. Friedrich Nietzsche

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: So tired, clamd.ctl not created
user name
2008-02-15 15:43:11
On Fri, Feb 15, 2008 at 9:21 PM, Rob Morin <robdido.ca> wrote:
> According to Debian Etch its not out of date...  

That just means the package maintainer is horribly behind. 
There have
been 7 releases (and almost a year) since 0.90.1 was
released.  I take
it you don't pay any attention to the warnings from
freshclam ;)

-- 
 Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the
process he
 doesn't become a monster. Friedrich Nietzsche

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: So tired, clamd.ctl not created
country flaguser name
Germany
2008-02-15 15:52:04
* Rob MacGregor <rob.macgregorgmail.com>:
> On Fri, Feb 15, 2008 at 9:21 PM, Rob Morin <robdido.ca> wrote:
> > According to Debian Etch its not out of date... 

> 
> That just means the package maintainer is horribly
behind.  There have
> been 7 releases (and almost a year) since 0.90.1 was
released.  I take
> it you don't pay any attention to the warnings from
freshclam ;)

Nah. 0.92.1 is in experimental.
Release policy. But the OP should use volatile.

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)        
Ralf.Hildebrandtcharite.de
Charite - Universitätsmedizin Berlin            Tel.  +49
(0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49
(0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to
snickebocharite.de

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
Re: So tired, clamd.ctl not created
user name
2008-02-15 21:11:36
On 2/15/08, Rob Morin <robdido.ca> wrote:
> OK i got it,, un believable... i was googling and came
across this post,
> and i saw this and sure enough it appeared after 7
mins...
>
> "First off, thanks for all your help guys. It
turns out patience was my
> worst enemy. It took more than 5-10 minutes for clamd
to start up and
> create the socket. All is well now, guess its time to
upgrade clamav."
>
> Thanks to all for your help!
>
>
> Rob Morin

This is a known issue for this version of ClamAV. It's
unfortunate
that etch got stuck with this particular version.

I suggest adding etch volatile source to
/etc/apt/sources.list

deb http://vol
atile.debian.org/debian-volatile etch/volatile main

Then:

gpg --keyserver subkeys.pgp.net --recv-key BBE55AB3
gpg --armor --export BBE55AB3 | apt-key add -

apt-get update

apt-get install clamav clamav-daemon clamav-freshclam

At least, this is how I would do it. YMMV. No guarantees.

-- 
Gary V

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )