{"id":1525,"date":"2021-10-19T04:47:41","date_gmt":"2021-10-19T04:47:41","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=1525"},"modified":"2021-10-20T05:57:10","modified_gmt":"2021-10-20T05:57:10","slug":"clamav-clamd-service-in-whm-cpanel-server","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/","title":{"rendered":"How to start the failed ClamD Service in WHM\/cPanel Server?"},"content":{"rendered":"<p class=\"MsoNormal\"><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\">Most of the times, ClamD Service in WHM\/cPanel Server fails to start and displays this error message.\u00a0<\/span><\/p>\n<p class=\"MsoNormal\"><strong><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\">Log of Initialization<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><i><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\"><span style=\"text-decoration: underline;\">Error in LibClamAV:<\/span> cli tgzload: Checksum for file daily is invalid. hsb<\/span><\/i><\/p>\n<p class=\"MsoNormal\"><i><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\"><span style=\"text-decoration: underline;\">LibClamAV Error<\/span><strong>:<\/strong> \/usr\/local\/cpanel\/3rdparty\/share\/clamav\/daily cannot be loaded.<\/span><\/i><\/p>\n<p class=\"MsoNormal\"><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\"><strong>Reason:<\/strong> Corrupt database<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\">This error indicates that the ClamAV virus definitions database file, daily.cld is corrupt and is unable to load during startup.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\">In most cases, this error occurs when the data files are altered suddenly. It can also happen w<\/span><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\">hen we stop an update in a premature stage through freshclam.<\/span><\/p>\n<p>However, you can fix this error and start ClamD Service in WHM\/cPanel Server by following these steps<\/p>\n<ol>\n<li class=\"MsoNormal\"><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\">First , you have to repair the database. For this, you have to move the existing <a href=\"https:\/\/www.velaninfo.com\/cloud-services\"><strong>database files<\/strong><\/a> out of the way. Otherwise, you will not be able to duplicate the files.<\/span><\/li>\n<li class=\"MsoNormal\"><span style=\"mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; color: #333333; mso-font-kerning: 18.0pt; mso-bidi-font-weight: bold;\">Next, you have to back up the file daily.cld by moving it into a new directory with the current date. You can use this command to for this task. <\/span><i>mv\/usr\/local\/cpanel\/3rdparty\/share\/clamav\/daily.cld{,.$( date +%Y%m%d )}<\/i><\/li>\n<li>However, if the startup error refers to a different file, you have to relocate that file.<\/li>\n<li class=\"MsoNormal\">Then, you have to run freshclam to obtain the new database information. You can rebuild it once you have moved all the corrupt database files. You can use this command to execute it. <i>\/usr\/local\/cpanel\/3rdparty\/bin\/freshclam<\/i><\/li>\n<li class=\"MsoNormal\">Once you have completed these steps, you have to restart the ClamD service by using this restartsrv command: <i>\/scripts\/restartsrvclamd<\/i><\/li>\n<li>The ClamD service will restart and function properly<\/li>\n<\/ol>\n<p><span lang=\"EN-IN\" style=\"font-size: 11.0pt; line-height: 107%; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-IN; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;\">At Velan, our server support engineers can help to install, configure and troubleshoot <a href=\"https:\/\/www.velaninfo.com\/rs\/tech-tips\/cpanel-whm\/\"><strong>WHM\/cPanel servers<\/strong><\/a>. If you wish to avail our service, please fill the Quick connect form and get in touch with us.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the times, ClamD Service in WHM\/cPanel Server fails to start and displays this error message.\u00a0 Log of Initialization Error in LibClamAV: cli tgzload: Checksum for file daily is invalid. hsb LibClamAV Error: \/usr\/local\/cpanel\/3rdparty\/share\/clamav\/daily cannot be loaded. Reason: Corrupt database This error indicates that the ClamAV virus definitions database file, daily.cld is corrupt and&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-1525","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-cpanel-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>ClamAV plugin- Install and configure for WHM\/cPanel Server<\/title>\n<meta name=\"description\" content=\"All WHM\/cPanel servers have the ability to download and install ClamAV but it is not installed by default. Let&#039;s see how to install it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to start the failed ClamD Service in WHM\/cPanel Server?\" \/>\n<meta property=\"og:description\" content=\"All WHM\/cPanel servers have the ability to download and install ClamAV but it is not installed by default. Let&#039;s see how to install it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-20T05:57:10+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/\",\"url\":\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/\",\"name\":\"ClamAV plugin- Install and configure for WHM\/cPanel Server\",\"isPartOf\":{\"@id\":\"https:\/\/www.velaninfo.com\/rs\/#website\"},\"datePublished\":\"2021-10-19T04:47:41+00:00\",\"dateModified\":\"2021-10-20T05:57:10+00:00\",\"description\":\"All WHM\/cPanel servers have the ability to download and install ClamAV but it is not installed by default. Let's see how to install it.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.velaninfo.com\/rs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\/\/www.velaninfo.com\/rs\/techtips\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to start the failed ClamD Service in WHM\/cPanel Server?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.velaninfo.com\/rs\/#website\",\"url\":\"https:\/\/www.velaninfo.com\/rs\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"ClamAV plugin- Install and configure for WHM\/cPanel Server","description":"All WHM\/cPanel servers have the ability to download and install ClamAV but it is not installed by default. Let's see how to install it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/","og_locale":"en_US","og_type":"article","og_title":"How to start the failed ClamD Service in WHM\/cPanel Server?","og_description":"All WHM\/cPanel servers have the ability to download and install ClamAV but it is not installed by default. Let's see how to install it.","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/","og_site_name":"Velan","article_modified_time":"2021-10-20T05:57:10+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/","name":"ClamAV plugin- Install and configure for WHM\/cPanel Server","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"datePublished":"2021-10-19T04:47:41+00:00","dateModified":"2021-10-20T05:57:10+00:00","description":"All WHM\/cPanel servers have the ability to download and install ClamAV but it is not installed by default. Let's see how to install it.","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/clamav-clamd-service-in-whm-cpanel-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How to start the failed ClamD Service in WHM\/cPanel Server?"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=1525"}],"version-history":[{"count":4,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1525\/revisions"}],"predecessor-version":[{"id":1536,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1525\/revisions\/1536"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=1525"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=1525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}