{"id":3690,"date":"2012-08-01T20:24:40","date_gmt":"2012-08-01T12:24:40","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=3690"},"modified":"2023-04-28T09:49:01","modified_gmt":"2023-04-28T09:49:01","slug":"how-to-fix-crond-unrecognized-service-on-linux-centos-6-3","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-fix-crond-unrecognized-service-on-linux-centos-6-3\/","title":{"rendered":"How to Fix &#8220;crond: unrecognized service&#8221; on Linux CentOS 6.3"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/07\/linux-3.5.jpg\" alt=\"\" title=\"linux 3.5\" width=\"200\" height=\"155\" class=\"alignleft size-full wp-image-3620 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 200px; --smush-placeholder-aspect-ratio: 200\/155;\" \/>I have a CentOS 6.3 which was without cron package installed. When I tried running crond service it says &#8220;unrecognized service&#8221;. Besides, when try to edit the crontab, it getting &#8220;crontab: command not found&#8221; warning. In minimum CentOS 6.3 installation, crond (vixie-cron) was not installed. The following is the common errors or warnings returned when crond service is not installed.<\/p>\n<p><strong>Examples :<\/strong><\/p>\n<pre>\n[root@centos63 ~]# service crond status\ncrond: unrecognized service\n<\/pre>\n<pre>\n[root@centos63 ~]# crontab -e\n-bash: crontab: command not found\n<\/pre>\n<p><strong>Solution :<\/strong><br \/>\nIn order to install crond service, you need to run &#8220;yum install vixie-cron&#8221; as below :<\/p>\n<pre>\n[root@centos63 ~]# yum install vixie-cron -y\n<\/pre>\n<p>Examples :<\/p>\n<pre>\n[root@centos63 ~]# yum install vixie-cron -y\nLoaded plugins: fastestmirror, presto\nLoading mirror speeds from cached hostfile\n * base: ossm.utm.my\n * extras: ossm.utm.my\n * rpmforge: mirror.oscc.org.my\n * updates: ossm.utm.my\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package cronie.i686 0:1.4.4-7.el6 will be installed\n--> Processing Dependency: dailyjobs for package: cronie-1.4.4-7.el6.i686\n--> Processing Dependency: \/usr\/sbin\/sendmail for package: cronie-1.4.4-7.el6.i686\n--> Running transaction check\n---> Package cronie-anacron.i686 0:1.4.4-7.el6 will be installed\n--> Processing Dependency: crontabs for package: cronie-anacron-1.4.4-7.el6.i686\n---> Package postfix.i686 2:2.6.6-2.2.el6_1 will be installed\n--> Processing Dependency: cyrus-sasl >= 2.1.10 for package: 2:postfix-2.6.6-2.2.el6_1.i686\n--> Running transaction check\n---> Package crontabs.noarch 0:1.10-33.el6 will be installed\n---> Package cyrus-sasl.i686 0:2.1.23-13.el6 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package                    Arch               Version                       Repository        Size\n====================================================================================================\nInstalling:\n cronie                     i686               1.4.4-7.el6                   base              70 k\nInstalling for dependencies:\n cronie-anacron             i686               1.4.4-7.el6                   base              29 k\n crontabs                   noarch             1.10-33.el6                   base              10 k\n cyrus-sasl                 i686               2.1.23-13.el6                 base              77 k\n postfix                    i686               2:2.6.6-2.2.el6_1             base             2.0 M\n\nTransaction Summary\n====================================================================================================\nInstall       5 Package(s)\n\nTotal download size: 2.2 M\nInstalled size: 9.6 M\nDownloading Packages:\nSetting up and reading Presto delta metadata\nProcessing delta metadata\nPackage(s) data still to download: 2.2 M\n(1\/5): cronie-1.4.4-7.el6.i686.rpm                                           |  70 kB     00:00\n(2\/5): cronie-anacron-1.4.4-7.el6.i686.rpm                                   |  29 kB     00:00\n(3\/5): crontabs-1.10-33.el6.noarch.rpm                                       |  10 kB     00:00\n(4\/5): cyrus-sasl-2.1.23-13.el6.i686.rpm                                     |  77 kB     00:00\n(5\/5): postfix-2.6.6-2.2.el6_1.i686.rpm                                      | 2.0 MB     00:22\n----------------------------------------------------------------------------------------------------\nTotal                                                                93 kB\/s | 2.2 MB     00:24\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing : cyrus-sasl-2.1.23-13.el6.i686                                                    1\/5\n  Installing : 2:postfix-2.6.6-2.2.el6_1.i686                                                   2\/5\n  Installing : crontabs-1.10-33.el6.noarch                                                      3\/5\n  Installing : cronie-anacron-1.4.4-7.el6.i686                                                  4\/5\n  Installing : cronie-1.4.4-7.el6.i686                                                          5\/5\n  Verifying  : 2:postfix-2.6.6-2.2.el6_1.i686                                                   1\/5\n  Verifying  : crontabs-1.10-33.el6.noarch                                                      2\/5\n  Verifying  : cyrus-sasl-2.1.23-13.el6.i686                                                    3\/5\n  Verifying  : cronie-1.4.4-7.el6.i686                                                          4\/5\n  Verifying  : cronie-anacron-1.4.4-7.el6.i686                                                  5\/5\n\nInstalled:\n  cronie.i686 0:1.4.4-7.el6\n\nDependency Installed:\n  cronie-anacron.i686 0:1.4.4-7.el6  crontabs.noarch 0:1.10-33.el6  cyrus-sasl.i686 0:2.1.23-13.el6\n  postfix.i686 2:2.6.6-2.2.el6_1\n\nComplete!\n<\/pre>\n<pre>\n[root@centos63 ~]# which crond\n\/usr\/sbin\/crond\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have a CentOS 6.3 which was without cron package installed. When I tried running crond service it says &#8220;unrecognized service&#8221;. Besides, when try to edit the crontab, it getting&#8230;<\/p>\n","protected":false},"author":6,"featured_media":3620,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055,1136],"tags":[1244,1254,1996,1536,1546],"class_list":["post-3690","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-cronjob","tag-centos","tag-centos-6-3","tag-cron","tag-linux","tag-linux-utilities"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=3690"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3690\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/3620"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=3690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=3690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=3690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}