[Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
I am trying to install clamav-0.80 on Redhat Linux 9, sendmail 8.13. I am following installation as per docs on web site. using ### bzip2-devel-1.0.2-8.i386.rpm clamav-0.80.tar.gz sendmail-devel-8.12.8-9.90.i386.rpm ## as suggested in the list. compiling with ./configure --sy

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Trog
On Wed, 2004-12-15 at 13:57, ads nat wrote: > > I tried to locate "/var/run/clamd.sock". it is not > present. But I ckecked that in "/etc/clamd.conf". > Any clue appreciated for going ahead. Check the clamd log file (enable logging in clamd.conf if you haven't), I suspect clamd isn't starting fo

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Nigel Horne
The clues are all in these 2 lines. > Wed Dec 15 19:40:34 2004 -> Running as user clamav > (UID 501, GID 501) > Wed Dec 15 19:40:35 2004 -> ERROR: Socket file > /var/run/clamd.sock could not be bound: Permission > denied ___ http://lists.clamav.net/cgi

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Nigel Horne
On Wed, 2004-12-15 at 05:57 -0800, ads nat wrote: > I am trying to install clamav-0.80 on Redhat Linux 9, > sendmail 8.13. > > I am following installation as per docs on web site. > using > ### > bzip2-devel-1.0.2-8.i386.rpm clamav-0.80.tar.gz > sendmail-devel-8.12.8-9.90.i386.rpm > #

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Nigel Horne
On Wednesday 15 Dec 2004 14:28, ads nat wrote: > > --- Nigel Horne <[EMAIL PROTECTED]> wrote: > > > The clues are all in these 2 lines. > > > > > Wed Dec 15 19:40:34 2004 -> Running as user clamav > > > (UID 501, GID 501) > > > Wed Dec 15 19:40:35 2004 -> ERROR: Socket file > > > /var/run/clamd.

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Trog
On Wed, 2004-12-15 at 14:52, ads nat wrote: > [EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt > clamav-0.80 How is clamd, running as user "clamav", supposed to access the directory "clamav-0.80" when it is owned by "root"? clamd can only scan files the user it is running as has read permis

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Trog
On Wed, 2004-12-15 at 15:09, ads nat wrote: > > still getting some Access problem. > ## > [EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt test > /root/clamav-0.80/test: Access denied. ERROR > /root/clamav-0.80/test: OK Let me try a different approach: don't scan files under the /r

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Nigel Horne <[EMAIL PROTECTED]> wrote: > On Wednesday 15 Dec 2004 14:28, ads nat wrote: > > > > --- Nigel Horne <[EMAIL PROTECTED]> wrote: > > > > > The clues are all in these 2 lines. > > > > > > > Wed Dec 15 19:40:34 2004 -> Running as user > clamav > > > > (UID 501, GID 501) > > > > Wed

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Brian Morrison
On Wed, 15 Dec 2004 14:07:30 + in [EMAIL PROTECTED] Nigel Horne <[EMAIL PROTECTED]> wrote: > > Any clue appreciated for going ahead. !? > > What is your User directive in clamd.conf? > It's likely to be a user which (correctly) doesn't have write > permission on /var/run. > > Do this:

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Trog <[EMAIL PROTECTED]> wrote: > On Wed, 2004-12-15 at 15:09, ads nat wrote: > > > > > still getting some Access problem. > > ## > > [EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt > test > > /root/clamav-0.80/test: Access denied. ERROR > > /root/clamav-0.80/test: OK > > Let

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
O.K. sorry for doing something wrong. I agree, i am new to clamav so confusion in understanding permissions. As directed I am trying to scan directory having user clamav. In clamd.conf "User clamav" is set. drwxr-xr-x3 clamav clamav 4096 Dec 15 21:27 test I don't know why it gives ac

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Ralph Angenendt <[EMAIL PROTECTED]> wrote: > ads nat wrote: > > > > --- Ralph Angenendt <[EMAIL PROTECTED]> > wrote: > > > ads nat wrote: > > > > /root/clamav-0.80/test: Access denied. ERROR > > > > Please guide. > > > > > > Again: DON'T SCAN ANYTHING UNDER /root/ - USER > > > CLAMAV *CANNO

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Paul Bijnens
ads nat wrote: ads nat wrote: /root/clamav-0.80/test: Access denied. ERROR Please guide. In this situation can you please guide me which directory I should check with clamdscan? Bad question. "clamdscan" (note the "d" in the middle) just gives instructions to the background process "clamd" to scan

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Jim Maul
ads nat wrote: --- Ralph Angenendt <[EMAIL PROTECTED]> wrote: ads nat wrote: --- Ralph Angenendt <[EMAIL PROTECTED]> wrote: ads nat wrote: /root/clamav-0.80/test: Access denied. ERROR Please guide. Again: DON'T SCAN ANYTHING UNDER /root/ - USER CLAMAV *CANNOT* GO THERE. Please read up on users, gr

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Trog <[EMAIL PROTECTED]> wrote: > On Wed, 2004-12-15 at 13:57, ads nat wrote: > > > > > I tried to locate "/var/run/clamd.sock". it is not > > present. But I ckecked that in "/etc/clamd.conf". > > Any clue appreciated for going ahead. > > Check the clamd log file (enable logging in > clamd

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Trog
On Wed, 2004-12-15 at 14:13, ads nat wrote: > Wed Dec 15 19:40:35 2004 -> ERROR: Socket file > /var/run/clamd.sock could not be bound: Permission > denied > # > > I tried to locate "/var/run/clamd.sock" on the disc > but it's not there. > clamd must be able to create this file in the sp

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Nigel Horne <[EMAIL PROTECTED]> wrote: > The clues are all in these 2 lines. > > > Wed Dec 15 19:40:34 2004 -> Running as user clamav > > (UID 501, GID 501) > > Wed Dec 15 19:40:35 2004 -> ERROR: Socket file > > /var/run/clamd.sock could not be bound: Permission > > denied > > > __

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Trog <[EMAIL PROTECTED]> wrote: > On Wed, 2004-12-15 at 14:52, ads nat wrote: > > > [EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt > > clamav-0.80 > > How is clamd, running as user "clamav", supposed to > access the directory > "clamav-0.80" when it is owned by "root"? > > clamd can

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Jim Maul
ads nat wrote: --- Trog <[EMAIL PROTECTED]> wrote: On Wed, 2004-12-15 at 15:09, ads nat wrote: still getting some Access problem. ## [EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt test /root/clamav-0.80/test: Access denied. ERROR /root/clamav-0.80/test: OK Let me try a different ap

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Ralph Angenendt <[EMAIL PROTECTED]> wrote: > ads nat wrote: > > /root/clamav-0.80/test: Access denied. ERROR > > Please guide. > > Again: DON'T SCAN ANYTHING UNDER /root/ - USER > CLAMAV *CANNOT* GO THERE. > > Please read up on users, groups and file > permissions. > > Ralph > > ATTACHME

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Ralph Angenendt
ads nat wrote: > > --- Ralph Angenendt <[EMAIL PROTECTED]> wrote: > > ads nat wrote: > > > /root/clamav-0.80/test: Access denied. ERROR > > > Please guide. > > > > Again: DON'T SCAN ANYTHING UNDER /root/ - USER > > CLAMAV *CANNOT* GO THERE. > > > > Please read up on users, groups and file > > pe

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
Thanks friends. great help. __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread Ralph Angenendt
ads nat wrote: > /root/clamav-0.80/test: Access denied. ERROR > Please guide. Again: DON'T SCAN ANYTHING UNDER /root/ - USER CLAMAV *CANNOT* GO THERE. Please read up on users, groups and file permissions. Ralph pgpng73VI7LPq.pgp Description: PGP signature __

Re: [Clamav-users] EROR : "/var/run/clamd.sock: No such file or directory"

2004-12-15 Thread ads nat
--- Trog <[EMAIL PROTECTED]> wrote: > On Wed, 2004-12-15 at 15:09, ads nat wrote: > > > > > still getting some Access problem. > > ## > > [EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt > test > > /root/clamav-0.80/test: Access denied. ERROR > > /root/clamav-0.80/test: OK > > Let