LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2017, 09:26 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 563

Rep: Reputation: 34
Clamav not starting at boot time.


Greetings:

I installed Clamav using YUM on CentOS 7.2 and I can't seem to get it started at boot time.

Tried a number of different things but nothing seems to work.

Below is the output of some of commands I ran and I can see a failure message but I can't resolve it.

Just to mention, I tried clamscan and it seems to work.

Some help in getting this resolved would be much appreciated.

Thanks.


[root@localhost rifkinho]# freshclam
ClamAV update process started at Tue Jan 24 21:20:39 2017
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
daily.cvd is up to date (version: 22943, sigs: 1438675, f-level: 63, builder: neo)
bytecode.cld is up to date (version: 289, sigs: 57, f-level: 63, builder: neo)
[root@localhost rifkinho]# systemctl start clamd.service
[root@localhost rifkinho]# systemctl status clamd.service
● clamd.service - clamd scanner daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Tue 2017-01-24 21:21:17 EST; 36s ago
Process: 4996 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/clamd.conf --nofork=yes (code=exited, status=1/FAILURE)
Main PID: 4996 (code=exited, status=1/FAILURE)

Jan 24 21:21:17 localhost.localdomain systemd[1]: clamd.service: main process exited, code=exited, status=1/FAILURE
Jan 24 21:21:17 localhost.localdomain systemd[1]: Unit clamd.service entered failed state.
Jan 24 21:21:17 localhost.localdomain systemd[1]: clamd.service failed.
Jan 24 21:21:17 localhost.localdomain systemd[1]: clamd.service holdoff time over, scheduling restart.
Jan 24 21:21:17 localhost.localdomain systemd[1]: start request repeated too quickly for clamd.service
Jan 24 21:21:17 localhost.localdomain systemd[1]: Failed to start clamd scanner daemon.
Jan 24 21:21:17 localhost.localdomain systemd[1]: Unit clamd.service entered failed state.
Jan 24 21:21:17 localhost.localdomain systemd[1]: clamd.service

Last edited by swamprat; 01-24-2017 at 09:35 PM.
 
Old 01-24-2017, 09:51 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Hi:

Did you use these commands to install clamav?

Code:
# yum install -y epel-release

# yum install -y clamav
-::-On Community Enterprise Operating System (CentOS) the clamav package requires the Extra Packages for Enterprise Linux (EPEL) repository.-::-

Running 'freshclam' manually is giving you a failure:
Code:
Failed to start clamd scanner daemon
It might mean that you need to install clamav-daemon but I'm not 100% sure.
OR>
Maybe you need to setup a link in /etc/rc3.d to the clamd and clamav-milter startup scripts?

-::-Best to wait on members that have this experience. Sorry I don't know more I'm still learning about servers.-::-

Maybe these links will help:-
https://ismailyenigul.wordpress.com/...v-on-centos-7/

http://forum.directadmin.com/showthread.php?t=53145
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless not starting about 75 % of time at boot Elixer Linux - Wireless Networking 8 07-20-2010 11:02 PM
NXSERVER Not starting at boot time. swamprat SUSE / openSUSE 2 07-03-2009 02:29 PM
why smbfs not starting up at boot time? gkogut Linux - Networking 2 11-10-2003 06:47 PM
Starting Samba at boot time. Unknown_User Linux - Software 3 04-26-2003 04:30 AM
starting clamav at boot! kudos Linux - General 3 01-14-2003 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration