{"id":2868,"date":"2012-07-09T12:51:08","date_gmt":"2012-07-09T12:51:08","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=2868"},"modified":"2014-11-21T06:56:11","modified_gmt":"2014-11-21T06:56:11","slug":"rebuild-perl-on-cpanel-server","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/rebuild-perl-on-cpanel-server\/","title":{"rendered":"Rebuild perl on cPanel Server"},"content":{"rendered":"<p><script type=\"text\/javascript\">\/\/ < ![CDATA[\nvar _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   (function() {     var ga = document.createElement('script'); ga.type = 'text\/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https:\/\/ssl' : 'http:\/\/www') + '.google-analytics.com\/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();\n\/\/ ]]><\/script><br \/>\nMany time cPanel updates as well as wrong commands cause the perl corrupt issue and we are not able to any script like pkgacct,restorepkg etc, its throwing the perl corrupt error message, to resolve the perl corrupt, we can rebuild the perl by using the following command from the shell as a root user.<\/p>\n<p><strong>\/scripts\/checkperlmodules<\/strong><\/p>\n<p>80 time out of 100 above command resolve the issue but if still you are facing the issue than follow the following steps o resolve the issue.<\/p>\n<p><strong>cd\u00a0\/usr\/local\/src<\/strong><\/p>\n<p><strong>wget http:\/\/layer1.cpanel.net\/perl588installer.tar.gz<\/strong><\/p>\n<p><strong>tar xfz perl588installer.tar.gz<\/strong><\/p>\n<p><strong>cd perl588installer<\/strong><\/p>\n<p><strong>.\/install<\/strong><\/p>\n<p>Now try to run any script like pkacct,restorepkg to verify the perl rebuild.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Many time cPanel updates as well as wrong commands cause the perl corrupt issue and we are not able to any script like pkgacct,restorepkg etc, <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/rebuild-perl-on-cpanel-server\/\" title=\"Rebuild perl on cPanel Server\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2868","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2868"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=2868"}],"version-history":[{"count":6,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2868\/revisions"}],"predecessor-version":[{"id":3784,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2868\/revisions\/3784"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=2868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=2868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=2868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}