Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Quỳnh H Nguyễn
Dear Edwin and Jim, Thank you very much for your help and messages. And I'm so sorry if I disturb this mailing list, because I'm a newbie to learn about Linux! After receive a series of reply from Edwin, I can understand more about clamav. And I think it is a good case study for any newbie likes

Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Jim Maul
Török Edwin wrote: > Quỳnh H Nguyễn wrote: >> After remove it manual. There is still error when clamd start, it will >> create /tmp/clamd.socket >> >> And this is the next error. If solve this problem, I think you fixed my >> error. I'm so sorry because I can not understand to config and fix it by

Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Török Edwin
Quỳnh H Nguyễn wrote: > After remove it manual. There is still error when clamd start, it will > create /tmp/clamd.socket > > And this is the next error. If solve this problem, I think you fixed my > error. I'm so sorry because I can not understand to config and fix it by > myself! I'm newbie. >

Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Quỳnh H Nguyễn
After remove it manual. There is still error when clamd start, it will create /tmp/clamd.socket And this is the next error. If solve this problem, I think you fixed my error. I'm so sorry because I can not understand to config and fix it by myself! I'm newbie. This is /var/log/clamd.log: Wed Ja

Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Török Edwin
Quỳnh H Nguyễn wrote: > Dear Edwin, > > After execute your command: "fixfiles restore /var/lib/clamav", there is > another error, but I think that you are nearly to fix my error. > > Jan 30 05:21:07 home clamd[2099]: Socket file /tmp/clamd.socket exists. > Unclean shutdown? Removing... > > Jan

Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Quỳnh H Nguyễn
Dear Edwin, After execute your command: "fixfiles restore /var/lib/clamav", there is another error, but I think that you are nearly to fix my error. Here is /var/log/clamav/clamd.log: Wed Jan 30 05:20:58 2008 -> +++ Started at Wed Jan 30 05:20:58 2008 Wed Jan 30 05:20:58 2008 -> clamd daemon 0

Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Török Edwin
Quỳnh H Nguyễn wrote: > Dear Edwin, > > Firstly thank you very much for your detail help and information. > > I tried to move /var/clamav to /var/lib/clamav as your suggest. > Ok. > [EMAIL PROTECTED] lib]# ls -lRZ /var/lib/clamav > /var/lib/clamav: > drwxr-xr-x clamav clamav root:object_r:var

Re: [Clamav-users] Problem with clamav on Linux

2008-01-29 Thread Quỳnh H Nguyễn
Dear Edwin, Firstly thank you very much for your detail help and information. I tried to move /var/clamav to /var/lib/clamav as your suggest. [EMAIL PROTECTED] lib]# ls -lRZ /var/lib/clamav /var/lib/clamav: drwxr-xr-x clamav clamav root:object_r:var_lib_t daily.inc -rw-r--r-- clamav c

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread Török Edwin
Quỳnh H Nguyễn wrote: > Linux distribution is: Redhat Linux 5.1 (Tikanga) > > This is the command result that you asked: > > [EMAIL PROTECTED] ~]# ls -IRZ /var/clamav > daily.inc main.cvd mirrors.dat > I asked for ls -lRZ not -IRZ. Please run that command. > [EMAIL PROTECTED] ~]# > > Error m

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread Quỳnh H Nguyễn
Linux distribution is: Redhat Linux 5.1 (Tikanga) After set the SELinux on again to get the error log exactly. I received the error message when system start service clamd: I can not remember exactly, but it means that clamd service can not open /var/log/clamav/clamd.log in append mode. I'd just

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread Török Edwin
Quỳnh H Nguyễn wrote: > Dear Edwin, > > I think you are right. When I turn off SELinux temporary (permissive mode) > or permanent (disable), and reboot the system, clamd service start ok. I > tried the command "sudo -i:3310", there is an clamd process listenning at > that port. > > Oh, that means t

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread Quỳnh H Nguyễn
Dear Edwin, I think you are right. When I turn off SELinux temporary (permissive mode) or permanent (disable), and reboot the system, clamd service start ok. I tried the command "sudo -i:3310", there is an clamd process listenning at that port. Oh, that means the config of SELinux is wrong? How c

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread James Kosin
René Berber wrote: [snip] > [snip] > > That will never work, you have to choose between using a local socket or > a tcp socket, can't have both... and clamd should be advising you with a > message to the log. > No this is not correct. It depends on the version of clamav installed. The newe

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread René Berber
Quỳnh H Nguyễn wrote: [snip] > LocalSocket /tmp/clamd.socket > TCPSocket 3310 > TCPAddr 127.0.0.1 [snip] That will never work, you have to choose between using a local socket or a tcp socket, can't have both... and clamd should be advising you with a message to the log. -- René Berber ___

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread Török Edwin
Quỳnh H Nguyễn wrote: > [EMAIL PROTECTED] ~]# ls -l /var/clamav/ > total 11120 > drwxr-xr-x 2 clamav clamav 4096 Jan 28 09:57 daily.inc > -rw-r--r-- 1 clamav clamav 11347852 Dec 18 23:15 main.cvd > -rw--- 1 clamav clamav 156 Jan 28 04:02 mirrors.dat > > SELinux is on. But I had include

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread Quỳnh H Nguyễn
[EMAIL PROTECTED] ~]# ls -l /var/clamav/ total 11120 drwxr-xr-x 2 clamav clamav 4096 Jan 28 09:57 daily.inc -rw-r--r-- 1 clamav clamav 11347852 Dec 18 23:15 main.cvd -rw--- 1 clamav clamav 156 Jan 28 04:02 mirrors.dat SELinux is on. But I had included the config in /etc/sysconfig/ipta

Re: [Clamav-users] Problem with clamav on Linux

2008-01-28 Thread Török Edwin
Quỳnh H Nguyễn wrote: > Oh, I'm sure that the .conf files were modified. Because the daemon show the > message [OK] when system boot, but I can not see any clamd process listen at > port 3310. So that means clamd does not start. But when I type command > "clamd", there is a clamd process listen at

Re: [Clamav-users] Problem with clamav on Linux

2008-01-27 Thread Quỳnh H Nguyễn
Oh, I'm sure that the .conf files were modified. Because the daemon show the message [OK] when system boot, but I can not see any clamd process listen at port 3310. So that means clamd does not start. But when I type command "clamd", there is a clamd process listen at port 3310. I had tried anothe

Re: [Clamav-users] Problem with clamav on Linux

2008-01-27 Thread Derick Centeno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After clamav has been compiled you've got to read the manual and follow the instructions for modifying the .conf files so that when various clamav processes run they'll refer to the functions or commands you activated by uncommenting the code! Specifi

Re: [Clamav-users] Problem with clamav on Linux

2008-01-27 Thread Quỳnh H Nguyễn
On Jan 27, 2008 9:31 PM, Steven Stern <[EMAIL PROTECTED]> wrote: > Quỳnh H Nguyễn wrote: > > Hello, > > > > I'm very newbie in Linux, but I learn much to install a complete Linux > > system. > > > > However, antivirus is one of the most important for a current server. > And I > > choose ClamAV t

Re: [Clamav-users] Problem with clamav on Linux

2008-01-27 Thread Steven Stern
Quỳnh H Nguyễn wrote: > Hello, > > I'm very newbie in Linux, but I learn much to install a complete Linux > system. > > However, antivirus is one of the most important for a current server. And I > choose ClamAV to deploy an antivirus for server and mail server too. > > I did following the instruc

[Clamav-users] Problem with clamav on Linux

2008-01-27 Thread Quỳnh H Nguyễn
Hello, I'm very newbie in Linux, but I learn much to install a complete Linux system. However, antivirus is one of the most important for a current server. And I choose ClamAV to deploy an antivirus for server and mail server too. I did following the instruction from clamav.net via "yum install