Submitted by paulfromsurrey on Sun, 09/04/2016 - 20:50 Pro Licensee
i just notice i have missing ClamAV Virus Scanning Server on one of my server can you please let me know how i can install it
Please advise
Status:
Active
i just notice i have missing ClamAV Virus Scanning Server on one of my server can you please let me know how i can install it
Please advise
Comments
Submitted by andreychek on Sun, 09/04/2016 - 23:23 Comment #1
Howdy -- where are you seeing that it's missing?
Also, what is the output of this command:
rpm -qa | grep clam
Submitted by paulfromsurrey on Mon, 09/05/2016 - 08:12 Pro Licensee Comment #2
[root@ns1 ~]# rpm -qa | grep clam clamav-data-0.99.2-3.el7.centos.vm.noarch clamav-server-0.99.2-3.el7.centos.vm.x86_64 clamav-filesystem-0.99.2-3.el7.centos.vm.noarch clamav-lib-0.99.2-3.el7.centos.vm.x86_64 clamav-update-0.99.2-3.el7.centos.vm.x86_64 clamav-0.99.2-3.el7.centos.vm.x86_64
i am seeing this on virtualmin status
Submitted by andreychek on Mon, 09/05/2016 - 11:05 Comment #3
Okay, try running this command:
yum install clamav-scanner-systemd clamav-server-sysvinit
After that, try running this command:
clamd@scan.service restart
Once you do that, ClamAV should be running. You can verify that with this command:
ps auxw | grep clamd@scan.service
Submitted by paulfromsurrey on Mon, 09/05/2016 - 22:01 Pro Licensee Comment #4
[root@ns1 ~]# clamd@scan.service restart -bash: clamd@scan.service: command not found
out putt of this command
[root@ns1 ~]# ps auxw | grep clamd@scan.service root 4800 0.0 0.0 112644 976 pts/0 S+ 21:58 0:00 grep --color=auto clamd@scan.service
Submitted by andreychek on Mon, 09/05/2016 - 22:03 Comment #5
Oh nuts, I typed that in wrong... the command should be:
systemctl clamd@scan.service restart
Submitted by paulfromsurrey on Mon, 09/05/2016 - 22:08 Pro Licensee Comment #6
[root@ns1 ~]# service clamd@scan status -l Redirecting to /bin/systemctl status -l clamd@scan.service ● clamd@scan.service - Generic clamav scanner daemon Loaded: loaded (/usr/lib/systemd/system/clamd@scan.service; disabled; vendor preset: disabled) Active: inactive (dead) [root@ns1 ~]#
Submitted by paulfromsurrey on Mon, 09/05/2016 - 22:09 Pro Licensee Comment #7
[root@ns1 ~]# systemctl clamd@scan.service restart Unknown operation 'clamd@scan.service'. [root@ns1 ~]#
Submitted by andreychek on Mon, 09/05/2016 - 22:38 Comment #8
Egads, it would appear I don't have this systemd thing down yet.
Sorry, the correct command (which I've just tested) is:
systemctl restart clamd@scan.service
Submitted by paulfromsurrey on Mon, 09/05/2016 - 23:28 Pro Licensee Comment #9
[root@ns1 ~]# ps auxw | grep clamd@scan.service root 5147 0.0 0.0 112644 976 pts/0 S+ 23:26 0:00 grep --color=au to clamd@scan.service
Submitted by paulfromsurrey on Mon, 09/05/2016 - 23:29 Pro Licensee Comment #10
ok how i can make sure it show up as running in my status under virtualmin
Submitted by andreychek on Tue, 09/06/2016 - 09:08 Comment #11
If it's not showing up yet (sometimes it just takes a few moments), you may want to try restarting Webmin, which you can do with the command "service webmin restart".
Let us know if that doesn't help though.
Submitted by paulfromsurrey on Tue, 09/06/2016 - 21:59 Pro Licensee Comment #12
i did restart still not working