Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232115 > unrolled thread

clamav installation question

Started bySemih Ozlem <semihozlemlinuxuser@gmail.com>
First post2021-02-25 21:20 +0100
Last post2021-02-26 08:00 +0100
Articles 9 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  clamav installation question Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-25 21:20 +0100
    Re: clamav installation question Dan Ritter <dsr@randomstring.org> - 2021-02-25 21:50 +0100
    Re: clamav installation question Patrick Bartek <nemommxiv@gmail.com> - 2021-02-25 22:40 +0100
      Re: clamav installation question Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-26 07:00 +0100
        Re: clamav installation question Charles Curley <charlescurley@charlescurley.com> - 2021-02-26 08:00 +0100
          Re: clamav installation question Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-26 08:20 +0100
            Re: clamav installation question Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-26 08:30 +0100
              Re: clamav installation question Patrick Bartek <nemommxiv@gmail.com> - 2021-02-26 17:00 +0100
        Re: clamav installation question john doe <johndoe65534@mail.com> - 2021-02-26 08:00 +0100

#232115 — clamav installation question

FromSemih Ozlem <semihozlemlinuxuser@gmail.com>
Date2021-02-25 21:20 +0100
Subjectclamav installation question
Message-ID<BMvh7-7Ab-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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.

[toc] | [next] | [standalone]


#232116

FromDan Ritter <dsr@randomstring.org>
Date2021-02-25 21:50 +0100
Message-ID<BMvK9-7JK-1@gated-at.bofh.it>
In reply to#232115
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-

[toc] | [prev] | [next] | [standalone]


#232118

FromPatrick Bartek <nemommxiv@gmail.com>
Date2021-02-25 22:40 +0100
Message-ID<BMwwx-8eS-3@gated-at.bofh.it>
In reply to#232115
On Thu, 25 Feb 2021 23:17:52 +0300
Semih Ozlem <semihozlemlinuxuser@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#232136

FromSemih Ozlem <semihozlemlinuxuser@gmail.com>
Date2021-02-26 07:00 +0100
Message-ID<BMEkq-4oM-5@gated-at.bofh.it>
In reply to#232118

[Multipart message — attachments visible in raw view] — view raw

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 <nemommxiv@gmail.com>, 26 Şub 2021 Cum, 00:34 tarihinde şunu
yazdı:

> On Thu, 25 Feb 2021 23:17:52 +0300
> Semih Ozlem <semihozlemlinuxuser@gmail.com> 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
>
>

[toc] | [prev] | [next] | [standalone]


#232137

FromCharles Curley <charlescurley@charlescurley.com>
Date2021-02-26 08:00 +0100
Message-ID<BMFgt-4Xd-1@gated-at.bofh.it>
In reply to#232136
On Fri, 26 Feb 2021 08:58:06 +0300
Semih Ozlem <semihozlemlinuxuser@gmail.com> 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/

[toc] | [prev] | [next] | [standalone]


#232140

FromSemih Ozlem <semihozlemlinuxuser@gmail.com>
Date2021-02-26 08:20 +0100
Message-ID<BMFzP-5iH-3@gated-at.bofh.it>
In reply to#232137

[Multipart message — attachments visible in raw view] — view raw

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 <charlescurley@charlescurley.com>, 26 Şub 2021 Cum, 09:54
tarihinde şunu yazdı:

> On Fri, 26 Feb 2021 08:58:06 +0300
> Semih Ozlem <semihozlemlinuxuser@gmail.com> 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/
>
>

[toc] | [prev] | [next] | [standalone]


#232141

FromSemih Ozlem <semihozlemlinuxuser@gmail.com>
Date2021-02-26 08:30 +0100
Message-ID<BMFJw-5lB-7@gated-at.bofh.it>
In reply to#232140

[Multipart message — attachments visible in raw view] — view raw

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

Semih Ozlem <semihozlemlinuxuser@gmail.com>, 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 <charlescurley@charlescurley.com>, 26 Şub 2021 Cum, 09:54
> tarihinde şunu yazdı:
>
>> On Fri, 26 Feb 2021 08:58:06 +0300
>> Semih Ozlem <semihozlemlinuxuser@gmail.com> 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/
>>
>>

[toc] | [prev] | [next] | [standalone]


#232156

FromPatrick Bartek <nemommxiv@gmail.com>
Date2021-02-26 17:00 +0100
Message-ID<BMNH4-1H8-3@gated-at.bofh.it>
In reply to#232141
On Fri, 26 Feb 2021 10:19:56 +0300
Semih Ozlem <semihozlemlinuxuser@gmail.com> 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 <semihozlemlinuxuser@gmail.com>, 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 <charlescurley@charlescurley.com>, 26 Şub 2021 Cum,
> > 09:54 tarihinde şunu yazdı:
> >  
> >> On Fri, 26 Feb 2021 08:58:06 +0300
> >> Semih Ozlem <semihozlemlinuxuser@gmail.com> 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?

[toc] | [prev] | [next] | [standalone]


#232138

Fromjohn doe <johndoe65534@mail.com>
Date2021-02-26 08:00 +0100
Message-ID<BMFgu-4Xd-5@gated-at.bofh.it>
In reply to#232136
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web