Re: clamav installation question

2021-02-26 Thread Patrick Bartek
On Fri, 26 Feb 2021 10:19:56 +0300
Semih Ozlem  wrote:

> Sorry, stopping and restarting the service seems to have solved the
> problem.

Does it work after a cold system restart without restarting it manually?
If not, my guess is some clamav or clamav-daemon dependency is not
getting loaded.  I'm not running the daemon and clamav run manually
works fine. Clamav-freshclam works fine, too, without manually starting
it.  But I'm not running a standard desktop set up. Just a window
manager and a panel.

B



> Semih Ozlem , 26 Şub 2021 Cum, 10:18
> tarihinde şunu yazdı:
> 
> > user@debian:~$ sudo systemctl status clamav-daemon.service
> > ● clamav-daemon.service - Clam AntiVirus userspace daemon
> >Loaded: loaded (/lib/systemd/system/clamav-daemon.service;
> > enabled; vendor preset: enabled)
> >   Drop-In: /etc/systemd/system/clamav-daemon.service.d
> >└─extend.conf
> >Active: inactive (dead)
> > Condition: start condition failed at Fri 2021-02-26 10:15:57 +03;
> > 1min 30s ago
> >└─
> > ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was not
> > met Docs: man:clamd(8)
> >man:clamd.conf(5)
> >https://www.clamav.net/documents/
> >
> > Feb 26 10:15:57 debian systemd[1]: Condition check resulted in Clam
> > AntiVirus userspace daemon being skipped.
> >
> > Charles Curley , 26 Şub 2021 Cum,
> > 09:54 tarihinde şunu yazdı:
> >  
> >> On Fri, 26 Feb 2021 08:58:06 +0300
> >> Semih Ozlem  wrote:
> >>  
> >> > I am able to install clamav and clamav-daemon. It appears in
> >> > dpkg -l results. The problem is it is not functioning properly.
> >> > So I am wondering if anyone else had similar issues or not.  
> >>
> >> Can you be a bit more explicit? What did you get, and what were you
> >> expecting?



Re: clamav installation question

2021-02-25 Thread Semih Ozlem
Sorry, stopping and restarting the service seems to have solved the problem.

Semih Ozlem , 26 Şub 2021 Cum, 10:18
tarihinde şunu yazdı:

> user@debian:~$ sudo systemctl status clamav-daemon.service
> ● clamav-daemon.service - Clam AntiVirus userspace daemon
>Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/clamav-daemon.service.d
>└─extend.conf
>Active: inactive (dead)
> Condition: start condition failed at Fri 2021-02-26 10:15:57 +03; 1min 30s
> ago
>└─ ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc}
> was not met
>  Docs: man:clamd(8)
>man:clamd.conf(5)
>https://www.clamav.net/documents/
>
> Feb 26 10:15:57 debian systemd[1]: Condition check resulted in Clam
> AntiVirus userspace daemon being skipped.
>
> Charles Curley , 26 Şub 2021 Cum, 09:54
> tarihinde şunu yazdı:
>
>> On Fri, 26 Feb 2021 08:58:06 +0300
>> Semih Ozlem  wrote:
>>
>> > I am able to install clamav and clamav-daemon. It appears in dpkg -l
>> > results. The problem is it is not functioning properly. So I am
>> > wondering if anyone else had similar issues or not.
>>
>> Can you be a bit more explicit? What did you get, and what were you
>> expecting?
>>
>> --
>> Does anybody read signatures any more?
>>
>> https://charlescurley.com
>> https://charlescurley.com/blog/
>>
>>


Re: clamav installation question

2021-02-25 Thread Semih Ozlem
user@debian:~$ sudo systemctl status clamav-daemon.service
● clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled;
vendor preset: enabled)
  Drop-In: /etc/systemd/system/clamav-daemon.service.d
   └─extend.conf
   Active: inactive (dead)
Condition: start condition failed at Fri 2021-02-26 10:15:57 +03; 1min 30s
ago
   └─ ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc}
was not met
 Docs: man:clamd(8)
   man:clamd.conf(5)
   https://www.clamav.net/documents/

Feb 26 10:15:57 debian systemd[1]: Condition check resulted in Clam
AntiVirus userspace daemon being skipped.

Charles Curley , 26 Şub 2021 Cum, 09:54
tarihinde şunu yazdı:

> On Fri, 26 Feb 2021 08:58:06 +0300
> Semih Ozlem  wrote:
>
> > I am able to install clamav and clamav-daemon. It appears in dpkg -l
> > results. The problem is it is not functioning properly. So I am
> > wondering if anyone else had similar issues or not.
>
> Can you be a bit more explicit? What did you get, and what were you
> expecting?
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>
>


Re: clamav installation question

2021-02-25 Thread Charles Curley
On Fri, 26 Feb 2021 08:58:06 +0300
Semih Ozlem  wrote:

> I am able to install clamav and clamav-daemon. It appears in dpkg -l
> results. The problem is it is not functioning properly. So I am
> wondering if anyone else had similar issues or not.

Can you be a bit more explicit? What did you get, and what were you
expecting?

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: clamav installation question

2021-02-25 Thread john doe

On 2/26/2021 6:58 AM, Semih Ozlem wrote:

I am able to install clamav and clamav-daemon. It appears in dpkg -l
results. The problem is it is not functioning properly.

>

What do you mean by "not working properly"?

--
John Doe



Re: clamav installation question

2021-02-25 Thread Semih Ozlem
I am able to install clamav and clamav-daemon. It appears in dpkg -l
results. The problem is it is not functioning properly. So I am wondering
if anyone else had similar issues or not.

Patrick Bartek , 26 Şub 2021 Cum, 00:34 tarihinde şunu
yazdı:

> On Thu, 25 Feb 2021 23:17:52 +0300
> Semih Ozlem  wrote:
>
> > Hi everyone
> >
> > When I try to install clamav I am getting errots
> > When I try to follow installation instructions from debian's site
> > instruction
> >
> > (i) clamav-data package is not available in the repository
> > (ii) freshclam gives the error
> > "!checkdbdir: Can't ope directory /var/lib/clamav/"
> > (iii) I can't be sure if it is running or not. systemctl status
> > clamav-daemon.service states it to be inactive.
> >
> > when I try to follow the instructions on clamav's site
> >
> > check-devel package is a requirement but is unavailable in debian
> > repository.
>
> Check your apt sources.list is set up.  Also, you have to be root to
> install packages.
>
> B
>
>


Re: clamav installation question

2021-02-25 Thread Patrick Bartek
On Thu, 25 Feb 2021 23:17:52 +0300
Semih Ozlem  wrote:

> Hi everyone
> 
> When I try to install clamav I am getting errots
> When I try to follow installation instructions from debian's site
> instruction
> 
> (i) clamav-data package is not available in the repository
> (ii) freshclam gives the error
> "!checkdbdir: Can't ope directory /var/lib/clamav/"
> (iii) I can't be sure if it is running or not. systemctl status
> clamav-daemon.service states it to be inactive.
> 
> when I try to follow the instructions on clamav's site
> 
> check-devel package is a requirement but is unavailable in debian
> repository.

Check your apt sources.list is set up.  Also, you have to be root to
install packages.

B



Re: clamav installation question

2021-02-25 Thread Dan Ritter
Semih Ozlem wrote: 
> When I try to install clamav I am getting errots
> When I try to follow installation instructions from debian's site
> instruction
> 
> (i) clamav-data package is not available in the repository
> (ii) freshclam gives the error
> "!checkdbdir: Can't ope directory /var/lib/clamav/"
> (iii) I can't be sure if it is running or not. systemctl status
> clamav-daemon.service states it to be inactive.
> 
> when I try to follow the instructions on clamav's site
> 
> check-devel package is a requirement but is unavailable in debian
> repository.

You just need to install:

clamav  
clamav-base 
clamav-freshclam
libclamav9

and doing

sudo apt install clamav

will bring in clamav-freshclam, which will bring in clamav-base
and libclamav9.

You don't need clamv-data, because clamav-freshclam will update
the data for you.

-dsr-



clamav installation question

2021-02-25 Thread Semih Ozlem
Hi everyone

When I try to install clamav I am getting errots
When I try to follow installation instructions from debian's site
instruction

(i) clamav-data package is not available in the repository
(ii) freshclam gives the error
"!checkdbdir: Can't ope directory /var/lib/clamav/"
(iii) I can't be sure if it is running or not. systemctl status
clamav-daemon.service states it to be inactive.

when I try to follow the instructions on clamav's site

check-devel package is a requirement but is unavailable in debian
repository.