HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Problem with Clamav + samba configuration (http://www.howtoforge.com/forums/showthread.php?t=30563)

wammy28 23rd January 2009 19:21

Problem with Clamav + samba configuration
 
I do config the CentOS 5.2 follow this link http://www.howtoforge.com/samba-clam...-on-centos-5.2
I have the problem in the making clamav (step 17-18).

Quote:

[root@localhost samba-vscan-0.3.6c-beta5]# make clamav
make: Nothing to be done for `clamav'.
And I can't go to next step. Thanks for your comment..
:confused::confused:

falko 24th January 2009 14:15

What happens when you just run
Code:

make
?

wammy28 27th January 2009 20:14

Sorry for late answer.
Here is the result of make
Quote:

[root@localhost samba-vscan-0.3.6c-beta5]# make clamav
make: Nothing to be done for `clamav'.
[root@localhost samba-vscan-0.3.6c-beta5]# make
make: *** No targets specified and no makefile found. Stop.
nothing happen and no .so file int that directory

Thanks

falko 28th January 2009 19:30

Can you run
Code:

make clean
in that directory and then post the output of
Code:

ls -la
?

wammy28 28th January 2009 22:25

Here are they.
Quote:

[root@localhost samba-vscan-0.3.6c-beta5]# make clean
make: *** No rule to make target `clean'. Stop.
and

Quote:

[root@localhost samba-vscan-0.3.6c-beta5]# ls -la
total 764
drwxr-xr-x 17 1000 users 4096 Sep 15 2007 .
drwxr-xr-x 3 783 783 4096 Jan 28 01:11 ..
-rwxr-xr-x 1 1000 users 6987 Jan 13 2005 aclocal.m4
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 antivir
-rw-r--r-- 1 1000 users 368 May 22 2007 AUTHORS
-rwxr-xr-x 1 1000 users 1163 Jan 13 2005 autogen.sh
-rw-r--r-- 1 1000 users 67513 Sep 15 2007 ChangeLog
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 clamav
-rwxr-xr-x 1 1000 users 41134 Jan 13 2005 config.guess
-rwxr-xr-x 1 1000 users 28494 Jan 13 2005 config.sub
-rwxr-xr-x 1 1000 users 226090 Sep 15 2007 configure
-rwxr-xr-x 1 1000 users 32099 May 22 2007 configure.in
-rw-r--r-- 1 1000 users 18009 Jan 13 2005 COPYING
-rw-r--r-- 1 1000 users 2168 Feb 10 2005 FAQ
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 fprot
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 f-secure
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 global
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 icap
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 include
-rw-r--r-- 1 1000 users 34317 Apr 24 2006 INSTALL
-rwxr-xr-x 1 1000 users 4836 Jan 13 2005 install-sh
drwxr-xr-x 3 1000 users 4096 Sep 15 2007 kaspersky
-rwxr-xr-x 1 1000 users 10906 Sep 15 2007 Makefile.in
drwxr-xr-x 3 1000 users 4096 Sep 15 2007 mks
drwxr-xr-x 3 1000 users 4096 Sep 15 2007 nai
-rw-r--r-- 1 1000 users 5736 Sep 15 2007 NEWS
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 old
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 openantivirus
-rw-r--r-- 1 1000 users 3454 Apr 8 2005 README
-rw-r--r-- 1 1000 users 1396 Jan 13 2005 samba-2.2.0a-vfs.dif
-rw-r--r-- 1 1000 users 3537 Jan 13 2005 samba-2.2.1a-vfs.dif
-rw-r--r-- 1 1000 users 3581 Jan 13 2005 samba-2.2.2-vfs.dif
-rw-r--r-- 1 1000 users 3811 Jan 13 2005 samba-2.2.3-vfs.dif
-rw-r--r-- 1 1000 users 815 Jan 13 2005 samba-configure.in-fbsd-libdl.dif
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 sophos
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 symantec
-rw-r--r-- 1 1000 users 2093 Feb 10 2005 TODO
drwxr-xr-x 2 1000 users 4096 Sep 15 2007 trend
-rw-r--r-- 1 1000 users 249 Sep 15 2007 VERSION

falko 29th January 2009 20:07

Run
Code:

./configure
first and then try
Code:

make clamav

wammy28 30th January 2009 18:37

Thanks again for your kind answer..

I can make the .so file and put it in that directory. However I still have final question that following the 21 step that I have to put this line inside the /etc/samba/vscan-clamav.conf.
Quote:

vfs object = vscan-clamav vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
Is it correct? I have tried it already nothing going wrong and no error message after reboot.

Bye

falko 31st January 2009 14:51

I don't know - I did not write that tutorial... ;)

wammy28 31st January 2009 20:12

I'm sorry about my questions. Because I had tried to contact the writer for some obstacles to achieve that tutorial. However there is no answer form the writer.
Anyway thanks for your help:):):):)


All times are GMT +2. The time now is 03:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.