BuycPanel Blog

BuycPanel Blog

Latest news and updates

FAQ’s On WHM 1

Posted by Allura on 26 02 2019.

How Can SMART Errors be Disabled?
One can run this command in order to disable SMART errors:touch /var/cpanel/disablesmartcheck/scripts/upcpHow can one Debug Problems with Pro-FTPd?
By following these two steps, one can debug problems with Pro-FTPd.
Steps:One needs to run this command in order to shut down ProFTPd:/usr/local/cpanel/scripts/restartsrv_proftpd –stopOne needs to run this command in order to start ProFTPd:proftpd -nd9A user may feel the need to use the full path for debug mode. In that case, the default path for ProFTPd is /usr/sbin/proftpd.How to Fix a Slow Hard Drive and a Slow Backup?
For solving this problem, make sure to enable Direct Memory Access (DMA) on your drives.One can run this command in order to enable DMA for a hard drive:hdparm -d1 /dev/hdaOne can run this command in order to disable DMA for a hard drive:hdparm -d0 /dev/hdaOne can run this command in order to measure transfer rate…

How Can SMART Errors be Disabled?

One can run this command in order to disable SMART errors:

touch /var/cpanel/disablesmartcheck

/scripts/upcp

How can one Debug Problems with Pro-FTPd?

By following these two steps, one can debug problems with Pro-FTPd.

Steps:

  • One needs to run this command in order to shut down ProFTPd:

/usr/local/cpanel/scripts/restartsrv_proftpd –stop

  • One needs to run this command in order to start ProFTPd:

proftpd -nd9

A user may feel the need to use the full path for debug mode. In that case, the default path for ProFTPd is /usr/sbin/proftpd.

How to Fix a Slow Hard Drive and a Slow Backup?

For solving this problem, make sure to enable Direct Memory Access (DMA) on your drives.

  • One can run this command in order to enable DMA for a hard drive:

hdparm -d1 /dev/hda

  • One can run this command in order to disable DMA for a hard drive:

hdparm -d0 /dev/hda

  • One can run this command in order to measure transfer rate of a hard drive:

hdparm -Tt /dev/hda

  • One can run this command in order to view the options enabled for a hard drive:

hdparm /dev/hda

  • One can run this command in order to see more information on the drive:

hdparm -i /dev/hda

 

Some older drives and motherboards may have some issue with DMA. In that case, one can consult the data center regarding the enabling of DMA on their drives.

How can the License File Expired Error be Fixed?

One’s server must  communicate with the license servers so as to address this problem.

One must follow these steps in order to confirm the matching of one’s server’s main IP address with the IP address stored by cPanel’s license servers store:

  1. Firstly, one has to run this command as the root user:

curl http://www.cpanel.net/apps/myip/

One has to configure the server and the network to route outbound traffic from the licensed IP address or change the license IP address in order to match the IP address that is returned by the curl command, if the IP address fails to match.

  1. One has to check his/her license on http://verify.cpanel.net  for the confirmation that it is valid. If not, one has to contact the license provider.
  2. One needs to run this command as the root user if the license is valid:

rdate -s rdate.cpanel.net

/usr/local/cpanel/cpkeyclt

  1. One should confirm about the query of the server regarding the root  nameservers and a valid hostname.

One can always contact the license provider for assistance, or if these steps do not suffice in fixing the issue.

Conclusion

Answers outlined in this review will be benefitting to the users regarding WHM’s backup options.