HostOnNet Blog

Author Archives: admin

Setting Time Zone in Ubuntu Server

Setting Time in Cpanel Server To see current Time Zone, run You can also run To set timezone, run It is better set time to UTC if your server is serving visitors from multiple country. To set Time Zone to


CageFS PHP mail not working

On CloudLinux server running sites under CafeFS, one of the customer can’t send email. I created a test PHP script, run on client site. No mail is send out. Nothing in exim mail server log (/var/log/exim_mainlog). I disabled CageFS, mail


How to find Linux Version

To find kernel version, run To find Linux distro version details, run The actual command depends on what OS Distro you have. On Debian On CloudLinux On Ununtu/Debian/Mint, you can install lsb-release with Then run, lsb-release -da For debian


Install vsftpd in Ubuntu

To install vsftpd in ubuntu, run To configure, edit /etc/vsftpd.conf Enable Linux Users to Login Set value for following settings as below Disable Annonymouse Login Set chroot user Allow user root to login Edit /etc/ftpusers and remove root. Start/Stop vsftpd


Useful Linux Commands to work with Hard Disk Drives

Useful Posts Check health of Adaptec raid Format partition with mkfs Checking hard disk health with smartctl Benchmarking Hard disk with dd Raid 1 vs Single Disk Speed Test Target is busy File Systems – Mounting Mounting WebDAV on Linux


Why You Should Play Games

Because they make your brain bigger People who played arcade games for at least 30 minutes per day—for just 8 weeks—showed a significant increase in grey matter according to study by the Max Planck Institute of Human Development. Best. Science.


Move Large Cpanel sites with pkgacct

When moving large site with pkgacct, you can use –skiphomedir option, this will not include user home directory in backup file pkgacct create. You need to move the user home directory with rsync This can be done with command Back


No handlers could be found for logger paramiko.transport

On CentOS 7 server, when i try connect with fabric, i get error paramiko version installed on my PC was v1.15.3. This is latest version, so i tried installing latest from git. That installed latest developmental version from git. Still


Cpanel Software Security Notice – Script installs need upgrading

On Cpanel Server, i was getting following emails from few of the sites But this script is no longer present in the server. So don’t have to upgrade it, but these email keep coming to server admin. To disable mails


Mailman Could not open archive mbox dir

On cpanel server, i get following email from cron job Cron /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache Could not open archive dir for list_flashwebhost.com: No such file or directory at /usr/local/cpanel/Cpanel/Mailman/DiskUsage.pm line 115. Could not open archive mbox dir for list_flashwebhost.com: