Discussion:
[users] clamav pkg and clamd.conf
Marcelo M. Garcia
2010-08-26 11:38:54 UTC
Permalink
Hi

I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].

There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].

From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?

Regards

mg.



[1]
doraemon (Linux)$ yum list installed clam*
Loaded plugins: fastestmirror, priorities
Installed Packages
clamav.x86_64 0.96.2-2.el5.rf
installed
clamav-db.x86_64 0.96.2-2.el5.rf
installed
doraemon (Linux)$

[2]
WARNING: Clamd was NOT notified: Can't find or parse configuration
file /etc/clamd.conf

[3]
doraemon (Linux)$ rpm -q --list clamav.x86_64
/etc/freshclam.conf
/usr/bin/clambc
/usr/bin/clamscan
/usr/bin/freshclam
/usr/bin/sigtool
/usr/lib64/libclamav.so
/usr/lib64/libclamav.so.6
/usr/lib64/libclamav.so.6.1.4
/usr/lib64/libclamunrar.so
/usr/lib64/libclamunrar.so.6
/usr/lib64/libclamunrar.so.6.1.4
/usr/lib64/libclamunrar_iface.so
/usr/lib64/libclamunrar_iface.so.6
/usr/lib64/libclamunrar_iface.so.6.1.4
/usr/share/doc/clamav-0.96.2
/usr/share/doc/clamav-0.96.2/AUTHORS
/usr/share/doc/clamav-0.96.2/BUGS
/usr/share/doc/clamav-0.96.2/COPYING
/usr/share/doc/clamav-0.96.2/ChangeLog
/usr/share/doc/clamav-0.96.2/FAQ
/usr/share/doc/clamav-0.96.2/INSTALL
/usr/share/doc/clamav-0.96.2/NEWS
/usr/share/doc/clamav-0.96.2/README
/usr/share/doc/clamav-0.96.2/clamav-mirror-howto.pdf
/usr/share/doc/clamav-0.96.2/clamdoc.pdf
/usr/share/doc/clamav-0.96.2/freshclam.conf
/usr/share/doc/clamav-0.96.2/phishsigs_howto.pdf
/usr/share/doc/clamav-0.96.2/signatures.pdf
/usr/share/man/man1/clamscan.1.gz
/usr/share/man/man1/freshclam.1.gz
/usr/share/man/man1/sigtool.1.gz
/usr/share/man/man5/freshclam.conf.5.gz
doraemon (Linux)$

[4]
doraemon (Linux)$ grep -n -C 2 clamd.conf /etc/freshclam.conf
6-
7-# Path to the database directory.
8:# WARNING: It must match clamd.conf's directive! <----- *
9-# Default: hardcoded (depends on installation options)
10-DatabaseDirectory /var/clamav
--
110-# Send the RELOAD command to clamd.
111-# Default: no
112:NotifyClamd /etc/clamd.conf <------ *
113-
114-# Run command after successful database update.
--
145-# will then use this data to determine what types of malware are the
most
146-# detected in the field and in what geographic area they are.
147:# This feature requires LogTime and LogFile to be enabled in clamd.conf.
148-# Default: no
149:#SubmitDetectionStats /path/to/clamd.conf <----- *
150-
151-# Country of origin of malware/detection statistics (for statistical
doraemon (Linux)$
Tilman Schmidt
2010-08-26 11:59:49 UTC
Permalink
Post by Marcelo M. Garcia
I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].
There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].
From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?
clamd.conf is part of the clamd package:

[ts at gimli ~]$ rpm -qf /etc/clamd.conf
clamd-0.96.2-2.el5.rf

But if you don't need clamd you won't need NotifyClamd either.
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.repoforge.org/pipermail/users/attachments/20100826/2a08aaa0/attachment.bin
Marcelo M. Garcia
2010-08-26 11:38:54 UTC
Permalink
Hi

I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].

There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].

From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?

Regards

mg.



[1]
doraemon (Linux)$ yum list installed clam*
Loaded plugins: fastestmirror, priorities
Installed Packages
clamav.x86_64 0.96.2-2.el5.rf
installed
clamav-db.x86_64 0.96.2-2.el5.rf
installed
doraemon (Linux)$

[2]
WARNING: Clamd was NOT notified: Can't find or parse configuration
file /etc/clamd.conf

[3]
doraemon (Linux)$ rpm -q --list clamav.x86_64
/etc/freshclam.conf
/usr/bin/clambc
/usr/bin/clamscan
/usr/bin/freshclam
/usr/bin/sigtool
/usr/lib64/libclamav.so
/usr/lib64/libclamav.so.6
/usr/lib64/libclamav.so.6.1.4
/usr/lib64/libclamunrar.so
/usr/lib64/libclamunrar.so.6
/usr/lib64/libclamunrar.so.6.1.4
/usr/lib64/libclamunrar_iface.so
/usr/lib64/libclamunrar_iface.so.6
/usr/lib64/libclamunrar_iface.so.6.1.4
/usr/share/doc/clamav-0.96.2
/usr/share/doc/clamav-0.96.2/AUTHORS
/usr/share/doc/clamav-0.96.2/BUGS
/usr/share/doc/clamav-0.96.2/COPYING
/usr/share/doc/clamav-0.96.2/ChangeLog
/usr/share/doc/clamav-0.96.2/FAQ
/usr/share/doc/clamav-0.96.2/INSTALL
/usr/share/doc/clamav-0.96.2/NEWS
/usr/share/doc/clamav-0.96.2/README
/usr/share/doc/clamav-0.96.2/clamav-mirror-howto.pdf
/usr/share/doc/clamav-0.96.2/clamdoc.pdf
/usr/share/doc/clamav-0.96.2/freshclam.conf
/usr/share/doc/clamav-0.96.2/phishsigs_howto.pdf
/usr/share/doc/clamav-0.96.2/signatures.pdf
/usr/share/man/man1/clamscan.1.gz
/usr/share/man/man1/freshclam.1.gz
/usr/share/man/man1/sigtool.1.gz
/usr/share/man/man5/freshclam.conf.5.gz
doraemon (Linux)$

[4]
doraemon (Linux)$ grep -n -C 2 clamd.conf /etc/freshclam.conf
6-
7-# Path to the database directory.
8:# WARNING: It must match clamd.conf's directive! <----- *
9-# Default: hardcoded (depends on installation options)
10-DatabaseDirectory /var/clamav
--
110-# Send the RELOAD command to clamd.
111-# Default: no
112:NotifyClamd /etc/clamd.conf <------ *
113-
114-# Run command after successful database update.
--
145-# will then use this data to determine what types of malware are the
most
146-# detected in the field and in what geographic area they are.
147:# This feature requires LogTime and LogFile to be enabled in clamd.conf.
148-# Default: no
149:#SubmitDetectionStats /path/to/clamd.conf <----- *
150-
151-# Country of origin of malware/detection statistics (for statistical
doraemon (Linux)$
Tilman Schmidt
2010-08-26 11:59:49 UTC
Permalink
Post by Marcelo M. Garcia
I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].
There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].
From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?
clamd.conf is part of the clamd package:

[ts at gimli ~]$ rpm -qf /etc/clamd.conf
clamd-0.96.2-2.el5.rf

But if you don't need clamd you won't need NotifyClamd either.
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.repoforge.org/pipermail/users/attachments/20100826/2a08aaa0/attachment-0001.bin
Marcelo M. Garcia
2010-08-26 11:38:54 UTC
Permalink
Hi

I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].

There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].

From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?

Regards

mg.



[1]
doraemon (Linux)$ yum list installed clam*
Loaded plugins: fastestmirror, priorities
Installed Packages
clamav.x86_64 0.96.2-2.el5.rf
installed
clamav-db.x86_64 0.96.2-2.el5.rf
installed
doraemon (Linux)$

[2]
WARNING: Clamd was NOT notified: Can't find or parse configuration
file /etc/clamd.conf

[3]
doraemon (Linux)$ rpm -q --list clamav.x86_64
/etc/freshclam.conf
/usr/bin/clambc
/usr/bin/clamscan
/usr/bin/freshclam
/usr/bin/sigtool
/usr/lib64/libclamav.so
/usr/lib64/libclamav.so.6
/usr/lib64/libclamav.so.6.1.4
/usr/lib64/libclamunrar.so
/usr/lib64/libclamunrar.so.6
/usr/lib64/libclamunrar.so.6.1.4
/usr/lib64/libclamunrar_iface.so
/usr/lib64/libclamunrar_iface.so.6
/usr/lib64/libclamunrar_iface.so.6.1.4
/usr/share/doc/clamav-0.96.2
/usr/share/doc/clamav-0.96.2/AUTHORS
/usr/share/doc/clamav-0.96.2/BUGS
/usr/share/doc/clamav-0.96.2/COPYING
/usr/share/doc/clamav-0.96.2/ChangeLog
/usr/share/doc/clamav-0.96.2/FAQ
/usr/share/doc/clamav-0.96.2/INSTALL
/usr/share/doc/clamav-0.96.2/NEWS
/usr/share/doc/clamav-0.96.2/README
/usr/share/doc/clamav-0.96.2/clamav-mirror-howto.pdf
/usr/share/doc/clamav-0.96.2/clamdoc.pdf
/usr/share/doc/clamav-0.96.2/freshclam.conf
/usr/share/doc/clamav-0.96.2/phishsigs_howto.pdf
/usr/share/doc/clamav-0.96.2/signatures.pdf
/usr/share/man/man1/clamscan.1.gz
/usr/share/man/man1/freshclam.1.gz
/usr/share/man/man1/sigtool.1.gz
/usr/share/man/man5/freshclam.conf.5.gz
doraemon (Linux)$

[4]
doraemon (Linux)$ grep -n -C 2 clamd.conf /etc/freshclam.conf
6-
7-# Path to the database directory.
8:# WARNING: It must match clamd.conf's directive! <----- *
9-# Default: hardcoded (depends on installation options)
10-DatabaseDirectory /var/clamav
--
110-# Send the RELOAD command to clamd.
111-# Default: no
112:NotifyClamd /etc/clamd.conf <------ *
113-
114-# Run command after successful database update.
--
145-# will then use this data to determine what types of malware are the
most
146-# detected in the field and in what geographic area they are.
147:# This feature requires LogTime and LogFile to be enabled in clamd.conf.
148-# Default: no
149:#SubmitDetectionStats /path/to/clamd.conf <----- *
150-
151-# Country of origin of malware/detection statistics (for statistical
doraemon (Linux)$
Tilman Schmidt
2010-08-26 11:59:49 UTC
Permalink
Post by Marcelo M. Garcia
I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].
There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].
From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?
clamd.conf is part of the clamd package:

[ts at gimli ~]$ rpm -qf /etc/clamd.conf
clamd-0.96.2-2.el5.rf

But if you don't need clamd you won't need NotifyClamd either.
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.repoforge.org/pipermail/users/attachments/20100826/2a08aaa0/attachment-0002.bin
Marcelo M. Garcia
2010-08-26 11:38:54 UTC
Permalink
Hi

I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].

There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].

From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?

Regards

mg.



[1]
doraemon (Linux)$ yum list installed clam*
Loaded plugins: fastestmirror, priorities
Installed Packages
clamav.x86_64 0.96.2-2.el5.rf
installed
clamav-db.x86_64 0.96.2-2.el5.rf
installed
doraemon (Linux)$

[2]
WARNING: Clamd was NOT notified: Can't find or parse configuration
file /etc/clamd.conf

[3]
doraemon (Linux)$ rpm -q --list clamav.x86_64
/etc/freshclam.conf
/usr/bin/clambc
/usr/bin/clamscan
/usr/bin/freshclam
/usr/bin/sigtool
/usr/lib64/libclamav.so
/usr/lib64/libclamav.so.6
/usr/lib64/libclamav.so.6.1.4
/usr/lib64/libclamunrar.so
/usr/lib64/libclamunrar.so.6
/usr/lib64/libclamunrar.so.6.1.4
/usr/lib64/libclamunrar_iface.so
/usr/lib64/libclamunrar_iface.so.6
/usr/lib64/libclamunrar_iface.so.6.1.4
/usr/share/doc/clamav-0.96.2
/usr/share/doc/clamav-0.96.2/AUTHORS
/usr/share/doc/clamav-0.96.2/BUGS
/usr/share/doc/clamav-0.96.2/COPYING
/usr/share/doc/clamav-0.96.2/ChangeLog
/usr/share/doc/clamav-0.96.2/FAQ
/usr/share/doc/clamav-0.96.2/INSTALL
/usr/share/doc/clamav-0.96.2/NEWS
/usr/share/doc/clamav-0.96.2/README
/usr/share/doc/clamav-0.96.2/clamav-mirror-howto.pdf
/usr/share/doc/clamav-0.96.2/clamdoc.pdf
/usr/share/doc/clamav-0.96.2/freshclam.conf
/usr/share/doc/clamav-0.96.2/phishsigs_howto.pdf
/usr/share/doc/clamav-0.96.2/signatures.pdf
/usr/share/man/man1/clamscan.1.gz
/usr/share/man/man1/freshclam.1.gz
/usr/share/man/man1/sigtool.1.gz
/usr/share/man/man5/freshclam.conf.5.gz
doraemon (Linux)$

[4]
doraemon (Linux)$ grep -n -C 2 clamd.conf /etc/freshclam.conf
6-
7-# Path to the database directory.
8:# WARNING: It must match clamd.conf's directive! <----- *
9-# Default: hardcoded (depends on installation options)
10-DatabaseDirectory /var/clamav
--
110-# Send the RELOAD command to clamd.
111-# Default: no
112:NotifyClamd /etc/clamd.conf <------ *
113-
114-# Run command after successful database update.
--
145-# will then use this data to determine what types of malware are the
most
146-# detected in the field and in what geographic area they are.
147:# This feature requires LogTime and LogFile to be enabled in clamd.conf.
148-# Default: no
149:#SubmitDetectionStats /path/to/clamd.conf <----- *
150-
151-# Country of origin of malware/detection statistics (for statistical
doraemon (Linux)$
Tilman Schmidt
2010-08-26 11:59:49 UTC
Permalink
Post by Marcelo M. Garcia
I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].
There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].
From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?
clamd.conf is part of the clamd package:

[ts at gimli ~]$ rpm -qf /etc/clamd.conf
clamd-0.96.2-2.el5.rf

But if you don't need clamd you won't need NotifyClamd either.
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.repoforge.org/pipermail/users/attachments/20100826/2a08aaa0/attachment-0003.bin
Marcelo M. Garcia
2010-08-26 11:38:54 UTC
Permalink
Hi

I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].

There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].

From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?

Regards

mg.



[1]
doraemon (Linux)$ yum list installed clam*
Loaded plugins: fastestmirror, priorities
Installed Packages
clamav.x86_64 0.96.2-2.el5.rf
installed
clamav-db.x86_64 0.96.2-2.el5.rf
installed
doraemon (Linux)$

[2]
WARNING: Clamd was NOT notified: Can't find or parse configuration
file /etc/clamd.conf

[3]
doraemon (Linux)$ rpm -q --list clamav.x86_64
/etc/freshclam.conf
/usr/bin/clambc
/usr/bin/clamscan
/usr/bin/freshclam
/usr/bin/sigtool
/usr/lib64/libclamav.so
/usr/lib64/libclamav.so.6
/usr/lib64/libclamav.so.6.1.4
/usr/lib64/libclamunrar.so
/usr/lib64/libclamunrar.so.6
/usr/lib64/libclamunrar.so.6.1.4
/usr/lib64/libclamunrar_iface.so
/usr/lib64/libclamunrar_iface.so.6
/usr/lib64/libclamunrar_iface.so.6.1.4
/usr/share/doc/clamav-0.96.2
/usr/share/doc/clamav-0.96.2/AUTHORS
/usr/share/doc/clamav-0.96.2/BUGS
/usr/share/doc/clamav-0.96.2/COPYING
/usr/share/doc/clamav-0.96.2/ChangeLog
/usr/share/doc/clamav-0.96.2/FAQ
/usr/share/doc/clamav-0.96.2/INSTALL
/usr/share/doc/clamav-0.96.2/NEWS
/usr/share/doc/clamav-0.96.2/README
/usr/share/doc/clamav-0.96.2/clamav-mirror-howto.pdf
/usr/share/doc/clamav-0.96.2/clamdoc.pdf
/usr/share/doc/clamav-0.96.2/freshclam.conf
/usr/share/doc/clamav-0.96.2/phishsigs_howto.pdf
/usr/share/doc/clamav-0.96.2/signatures.pdf
/usr/share/man/man1/clamscan.1.gz
/usr/share/man/man1/freshclam.1.gz
/usr/share/man/man1/sigtool.1.gz
/usr/share/man/man5/freshclam.conf.5.gz
doraemon (Linux)$

[4]
doraemon (Linux)$ grep -n -C 2 clamd.conf /etc/freshclam.conf
6-
7-# Path to the database directory.
8:# WARNING: It must match clamd.conf's directive! <----- *
9-# Default: hardcoded (depends on installation options)
10-DatabaseDirectory /var/clamav
--
110-# Send the RELOAD command to clamd.
111-# Default: no
112:NotifyClamd /etc/clamd.conf <------ *
113-
114-# Run command after successful database update.
--
145-# will then use this data to determine what types of malware are the
most
146-# detected in the field and in what geographic area they are.
147:# This feature requires LogTime and LogFile to be enabled in clamd.conf.
148-# Default: no
149:#SubmitDetectionStats /path/to/clamd.conf <----- *
150-
151-# Country of origin of malware/detection statistics (for statistical
doraemon (Linux)$
Tilman Schmidt
2010-08-26 11:59:49 UTC
Permalink
Post by Marcelo M. Garcia
I installed the package clamav[1] and in the logwatch there is a message
that cannot find /etc/clamd.conf[2].
There is not "clamd.conf" in the package[3], only "freshclam.conf", but
in "freshclam" makes references to "clamd.conf"[4].
From where should come "clamd.conf"? Or should I comment out the
reference to it in "NotifyClamd /etc/clamd.conf"?
clamd.conf is part of the clamd package:

[ts at gimli ~]$ rpm -qf /etc/clamd.conf
clamd-0.96.2-2.el5.rf

But if you don't need clamd you won't need NotifyClamd either.
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.repoforge.org/pipermail/users/attachments/20100826/2a08aaa0/attachment.sig>
Loading...