Answered by the Webhosting Experts
Tags +

cPanel Servers
at Hivelocity

Introducing: Flat Rate Pricing
The most affordable way to run a cPanel Dedicated Server. Simple, flat rate pricing in 3 tiers.

1-500 Accounts $45/mo.

501-1000 $114/mo.

1001+ Accounts $189/mo.
(*Plus $.175/additional account)

Tags +

CPanel is emailing me about smartcheck errors. Is my drive failing?


As of January 2006, CPanel has made some changes to their smartctl implementation, which is what they use to periodically scan for SMART errors on your drive(s). Previous versions were somewhat buggy, and did not usually correctly report minor SMART inconsistencies.

Due to recent upgrades by CPanel, when their smartcheck script runs, it may show minor ATA errors that it logged quite some time ago, but never reported.

Example:S.M.A.R.T Errors on /dev/hda
From Command: /usr/sbin/smartctl -q errorsonly -H -l selftest -l error /dev/hda
ATA Error Count: 1
Error 1 occurred at disk power-on lifetime: 3843 hours
----END /dev/hda--

ATA Errors such as these are nothing to worry about, as long as they are intermittent. Drives that have been in use for a long period of time may see more of these than a “fresh” drive, but again, there should be nothing to worry about, and no drive testing or replacement should be needed.

In the event of serious (CRITICAL) SMART errors, such as a possibly failing drive, the smartcheck script will notify you with different information. While SMART cannot always accurately predict a failing drive, in a case of a predicted drive fail, it would be best for you to make backups of all your data, and schedule a time with us to test the drive. As always, a 12 hour advance notice and 4 hour work window would be required.However, the type of error you are seeing is nothing to worry about, and again, simply a result of

CPanel’s new implementation of smartctl.

To prevent CPanel from sending duplicate SMART errors, insert this block of code to


Please note: When cPanel updates the file, you will have to make the change *again*. You can

use chattr to modify the file so it is not overwritten:

chattr +i /scripts/smartcheck

As this file is now locked from changes, you will need to unlock it before running a CPanel


chattr -i /scripts/smartcheck

You may then proceed with upgrading CPanel.

After you insert the code, run


twice. The first time it will send out the email and log it. The second time it runs, it should not

send an email.

When there is any change in the smartcheck status, it will send one email to you.
Where to insert (most likely around line 143):

Code:if(!$nomail) {
cPScript::iContact::icontact('application' => 'smartcheck',
'level'   => 3,
'subject' => $subject,
'message' => $msg,
'msgtype' => '',
Code to Insert:
my $lastfile = "/root/smartlast";
if(open FILE, "$lastfile"){
my $lastsmart = join '', <FILE>;
if ($lastsmart eq $msg) {
print "We already sent this. Quitting!n";
open FILE, ">$lastfile";
print FILE $msg;
close FILE;

If you do not wish to receive any mailings, you will need to disable smartcheck completely. To do

so, perform the following from a root prompt via SSH:

touch /var/cpanel/disablesmartcheck

That will prevent smartcheck from running. If you wish to re-enable it, simply remove that file.




Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected] We are also available to you through our phone and live chat system 24/7/365.

Rapid Restore

Backup your entire server’s data every night and have access to 5 days of rolling restore points.  Restore your server’s data, OS and configuration any time you need it.

Our Rapid Restore service saves the day during accidental data loss, hardware failures and virus contraction. Simply pick your recovery point and restore the data from that day. 

DDoS Protection

While our competitors may advertise DDoS protection, most often, they are merely implementing easily evaded router rules or simply black-holing targeted servers. They consider this “DDoS protecting their network.” However, neither of these solutions should give comfort to any online business. Should your site be attacked, chances are likely both of these options will end with your server being taken offline. At Hivelocity, we take the responsibility of keeping your servers online very seriously. For this reason, we offer two very serious forms of DDoS protection.


Every solution we provide includes our Filtering Edge of Network System (FENS). FENS is a series of proprietary systems that proactively monitors and protects the entire Hivelocity Network from most common Denial of Service (DOS) and Distributed Denial of Service (DDoS) attacks.


For an extra fee, you can enhance your server’s protection further with the addition of our Server Defense System. Our Server Defense System sits in front of your server, inspecting inbound data and looking for malicious traffic. The moment an attack is detected, it instantly begins scrubbing each data packet. Hivelocity’s Server Defense System delivers business continuity even in the face of massive and complex attacks.

Our Server Defense System is like adding an alarm and armed guard to your business, alerting you to and destroying anything attempting to jump that fence. Our Server Defense System utilizes internally developed proprietary systems in addition to Corero’s Threat Defense Smartwalls for data packet scrubbing. Each of our data centers is a scrubbing center with Corero Smartwalls on-premise, allowing us to provide on-prem zero-lag data scrubbing.

SSL Certificates

The security of your online commerce and protecting your customers’ data is as important to us as it is to you. When your customers see the green bar, they will know their connection to you is protected. We offer single domain, multi-domain, and wild-card certificates.

We offer industry leading 128-bit encryption certificates, allowing you to conduct e-commerce with complete security. Inspire confidence in your customers by displaying any number of seals and indicators certifying that your site is secure.

Load Balancing

Adding this service to two servers with identical content will allow you to distribute your load evenly across your hardware. Don’t lose business because you couldn’t handle the demand. Load balance and handle your biggest resource spikes with ease.


Stop attacks, prevent unauthorized access, and achieve regulatory compliance. Our Juniper hardware firewalls offload the work so your server never has to consume resources protecting itself from malicious traffic. A single firewall can be used to protect multiple servers.

Cloud Storage

Cloud storage offers users redundancy and easy accessibility, ensuring your data remains secure and readily available. Scale to as much as you need for only a 20¢/GB.

Cloud Storage is distributed and replicated across many servers, protecting your data from hardware failure. Highly scalable, it can handle thousands of client connections via TCP/IP. Connect to your virtual drive with SFTP, FTP, and SSHMount and in the future NFS and AFP. Cloud Storage is based on a stackable design which is upgradeable up to 2TB per instance.