In my error log while starting clamd svc on Unix I see these

 clamd: Configuration file has not been customised.
freshclam: Configuration file has not been customised.
[ Feb  3 14:02:12 Method "start" exited with status 0 ]
[ Feb  3 14:02:12 Stopping because all processes in service exited. ]
[ Feb  3 14:02:12 Executing stop method ("/lib/svc/method/clamav stop 239897") ]
[ Feb  3 14:02:12 Method "stop" exited with status 0 ]
[ Feb  3 14:02:12 Executing start method ("/lib/svc/method/clamav start

Our sysadmin modified the clamd.conf and uncommented the line with TCPSocket 
port number


cat clamd.conf |grep TCP
# TCP port 
address.
TCPSocket 
3310
# TCP 
address.
#TCPAddr 
127.0.0.1

What else needs to be done? Please advice. I didn't made any modification on 
windows environment

Thanks
Madhuri





________________________________
From: Török Edwin <edwinto...@gmail.com>
To: ClamAV users ML <clamav-users@lists.clamav.net>
Sent: Thursday, February 5, 2009 10:39:59 AM
Subject: Re: [Clamav-users] New to Clamav

On 2009-02-05 17:24, Madhuri Somavarapu wrote:
> This is what I have in my clamd.conf on unix machine
>
> # Path to a local socket file the daemon will listen on.
> # Default: disabled (must be specified by a user)
> LocalSocket /tmp/clamd.socket
>
> # Remove stale socket after unclean shutdown.
> # Default: yes
> #FixStaleSocket yes
>
> # TCP port address.
> # Default: no
> #TCPSocket 3310
>
> # TCP address.
> # By default we bind to INADDR_ANY, probably not wise.
> # Enable the following to provide some degree of protection
> # from the outside world.
> # Default: no
> #TCPAddr 127.0.0.1
>
> # Maximum length the queue of pending connections may grow to.
> # Default: 15
> #MaxConnectionQueueLength 30
>
>
> Should I uncomment the line TCPSocket 3310.

Yes.

>  Is there any thing that admin has to do for the port number to be active.

As far as clamav is concerned, no.
However if you are connecting to clamd from a remote machine, and have a
firewall, that might prevent the connection.

>  Also do I need to comment the line "LocalSocket /tmp/clamd.socket".
>  

Not necessarily, you can have both a UNIX and TCP socket.

> Is using the api right way to invoke the clamav
>  

I never used the Java bindings.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml



      
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to