It said,

Sat Aug 17 18:36:34 2019 -> Database updated (8734546 signatures) from database.clamav.net (IP: 2606:4700::6810:db54) Sat Aug 17 18:36:34 2019 -> !NotifyClamd: Can't find or parse configuration file /path/to/clamd.conf

I think I see what the problem is.   clamd.conf.SAMPLE is in the /usr/local/etc folder next to freshclam.conf and freshclam.conf.sample.

Before I copy and rename it, am I also supposed to change something in it?

Maybe it's on that LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG page among the WAAAAAAAAAAAAAAAAAAAAAAAAAAAY WAAAAAAAAAAAAAAAAAAAAAAAY  WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY  too many instructions, but if so, I didn't see it!

Thanks!

Yours,

Dora


On 8/17/19 6:05 PM, Al Varnell via clamav-users wrote:
You just need to comment out (with a #) the freschclam.conf line

ExtraDatabase = "dbname1", "dbname2"

-Al-

On Sat, Aug 17, 2019 at 04:01 PM, Dora Smith via clamav-users wrote:

Here it is. (Think I just replied to wrong address)


Checking configuration files in /usr/local/etc

clamd.conf not found

Config file: freshclam.conf
---------------------------
LogFileMaxSize = "1048576"
LogTime = "yes"
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
LogRotate = "yes"
PidFile disabled
DatabaseDirectory = "/usr/local/share/clamav"
Foreground disabled
Debug = "yes"
UpdateLogFile disabled
DatabaseOwner = "clamav"
Checks = "12"
DNSDatabaseInfo = "current.cvd.clamav.net <http://current.cvd.clamav.net/>"
DatabaseMirror = "database.clamav.net <http://database.clamav.net/>"
PrivateMirror disabled
MaxAttempts = "3"
ScriptedUpdates = "yes"
TestDatabases = "yes"
CompressLocalDatabase disabled
ExtraDatabase = "dbname1", "dbname2"
DatabaseCustomURL disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/path/to/clamd.conf"
OnUpdateExecute = "command"
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "60"
ReceiveTimeout = "60"
SafeBrowsing = "yes"
Bytecode = "yes"

clamav-milter.conf not found

Software settings
-----------------
Version: 0.101.3
Optional features supported: MEMPOOL IPv6 AUTOIT_EA06 BZIP2 LIBXML2 PCRE ICONV JSON RAR

Database information
--------------------
Database directory: /usr/local/share/clamav
WARNING: freshclam.conf and clamd.conf point to different database directories
bytecode.cvd: version 330, sigs: 94, built on Wed Jul 17 08:11:08 2019
main.cvd: version 58, sigs: 4566249, built on Wed Jun  7 16:38:10 2017
daily.cvd: version 25544, sigs: 1725545, built on Sat Aug 17 03:24:01 2019 safebrowsing.cvd: version 48958, sigs: 2441766, built on Sat Aug 17 10:00:50 2019
Total number of signatures: 8733654

Platform information
--------------------
uname: Linux 5.0.0-25-generic #26~18.04.1-Ubuntu SMP Thu Aug 1 13:51:02 UTC 2019 x86_64
OS: linux-gnu, ARCH: x86_64, CPU: x86_64
Full OS version: Ubuntu 18.04.3 LTS
zlib version: 1.2.11 (1.2.11), compile flags: a9
platform id: 0x0a2166660800000000070400

Build information
-----------------
GNU C: 7.4.0 (7.4.0)
CPPFLAGS:
CFLAGS: -g -O2  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
CXXFLAGS: -g -O2
LDFLAGS:
Configure: '--enable-check'
sizeof(void*) = 8
Engine flevel: 102, dconf: 102





On 8/17/19 5:56 PM, Al Varnell via clamav-users wrote:
Dora,

Please post the results of running

sudo clamconf

-Al-
ClamXAV User

On Sat, Aug 17, 2019 at 03:45 PM, Dora Smith via clamav-users wrote:
When I type freshclam in my terminal, I get

Sat Aug 17 17:36:27 2019 -> ClamAV update process started at Sat Aug 17 17:36:27 2019 Sat Aug 17 17:36:27 2019 -> main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) Sat Aug 17 17:36:27 2019 -> daily.cvd is up to date (version: 25544, sigs: 1725545, f-level: 63, builder: raynman) Sat Aug 17 17:36:27 2019 -> safebrowsing.cvd is up to date (version: 48958, sigs: 2441766, f-level: 63, builder: google) Sat Aug 17 17:36:27 2019 -> bytecode.cvd is up to date (version: 330, sigs: 94, f-level: 63, builder: neo) Sat Aug 17 17:36:27 2019 -> ^getfile: dbname1.cvd not found ondatabase.clamav.net <http://database.clamav.net/>(IP: 104.16.219.84) Sat Aug 17 17:36:27 2019 -> ^Can't download dbname1.cvd fromdatabase.clamav.net <http://database.clamav.net/> Sat Aug 17 17:36:28 2019 -> *Can't query dbname1.0.102.0.0.6810DB54.ping.clamav.net <http://ping.clamav.net/>
Sat Aug 17 17:36:28 2019 -> Trying again in 5 secs...

And it repeats this two more times before telling me

Sat Aug 17 17:36:39 2019 -> Giving up ondatabase.clamav.net <http://database.clamav.net/>... Sat Aug 17 17:36:39 2019 -> Update failed. Your network may be down or none of the mirrors listed in /usr/local/etc/freshclam.conf is working. Checkhttps://www.clamav.net/documents/official-mirror-faqfor possible reasons.


The first time I tried it, it also told me it can't pingclamav.net <http://clamav.net/>, but I could pingclamav.net <http://clamav.net/>with no problem.  And the Internet's not down.


I didn't change any mirrors when I activated freshclam.conf.   I did activate a bunch of things, if you see something I might have activated I should go back and comment back in.  Maybe something needs a database that doesn't exist?    I activated every safeguard I could see.


I am using the current version, 0.103.1, that I just went through the LOOOOOOOOOOOOOOOOOOOOOOOOOOOONG rigamorole on the Clamav pages, ALL of it, to install, because the version in the Ubuntu repository is out of date and I kept getting error messages.

I am running Ubuntu 18.04.

I am trying to run Clamav.  I want to run an antivirus scan. Right now I presumably can't run it at all becasue it doesn't have its databases.


And I need to know how to run Clamav immediately, because I accidentally got a really weird web page!   Today, not tomorrow and midnight won't do.  Common sense.  Linux ain't just for servers any more.


Someone pointed me to a Ubuntu page for clamav that tells how to install the out of date version that doesn't work because it's out of date, but there might have been useful information on it - will "CLAMSCAN" run an antivirus scan immediately?


Yours,

Dora Smith


On 8/17/19 5:07 PM, J.R. via clamav-users wrote:
So it downloaded main.cvd, daily.cvd, safebrowsing.cvd, and
bytecode.cvd, but can't download database1.cvd or something, and there
might be a problem with teh mirrors in my conf file, which didn't
contain any mirrors and I didn't mess with them if they're there and I
didn't see them.
There is no "database1.cvd"... The 4 you listed are the only official
ones. So unless you made a mistake editing the config file, I'm not
really sure what it's trying to do.

You don't need to mess with the mirrors or anything. The files are
hosted via Cloudflare's CDN so you will automatically get the closest
server to you.

And when I get my definititions, I need to run clamav now and not when
it feels like it - how do I exactly do that?   The GUI for the out of
date version would only let me set up a time to run it.
What operating system are you running? What version of ClamAV are you running?

https://www.clamav.net/documentation

^^^ That page will hopefully give you some answers...

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net <mailto:clamav-users@lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net <mailto:clamav-users@lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net <mailto:clamav-users@lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to