Category Archives: CentOS

Linux error: bash: rsync: command not found

Today I came across a weird problem that I’ve never seen before. While trying to migrate information from one server to another using rsync I get this error: bash: rsync: command not found This was the full output: [root@server.cpaneltips.com:~]rsync -avpr -e ‘ssh -p 22’ root@111.111.111.111:/home/company/public_html/* /home/company/public_html/ bash: rsync: command not found rsync: connection unexpectedly closed (0 bytes received so far)… Read more »

Fatal error: Call to undefined function mb_substr() Error

While working on a PHP based website, I found this error: Fatal error: Call to undefined function mb_substr(). This error is caused because mbstring PHP module is not loaded at the PHP general configuration files. Let’s see how to fix it. What causes Fatal error: Call to undefined function mb_substr() Error ? This error happens beacuse mbstring module is missing… Read more »

How can I automatically run scripts at boot time in Centos 7?

One of the big changes CentOS introduced on version 7 was the lack of native execution for custom scripts to boot from /etc/rc.d/rc.local file. /etc/rc.d/rc.local was one of the most classic ways to add custom scripts to automatically boot after all the init.d scripts were started on old CentOS 5 and CentOS 6 versions. However, many things changed in the… Read more »

How can I Convert CentOS to CloudLinux OS?

Converting existing CentOS or cPanel Servers to CloudLinux isn’t hard at all and can be done within a few minutes. Today we will show you how to convert centos to cloudlinux in a few easy steps. Most cPanel installations are done using CentOS Linux, and switching from CentOS 5.x / 6.x / 7.x to CloudLinux can be done with a few… Read more »

Yum Error: Timeout on repomd.xml. Operation too slow

A few days ago I was updating one of my personal dedicated servers and I got this weird error: Yum Error: Timeout on repomd.xml. Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds. The full output was something like this: [root@server.centralesoterica.com:~]yum update Loaded plugins: fastestmirror Setting up Update Process Determining fastest mirrors epel/metalink | 24 kB 00:00… Read more »

MySQL Error Table ‘mysql.servers’ doesn’t exist

While trying to grant privileges to a MySQL user on a plain CentOS 6.x server, I was receiving this error at the mysql console: MySQL Error Table ‘mysql.servers’ doesn’t exist I was surprised… the first thing that came to my mind was ‘mysql database got corrupted’, and indeed that was the problem. The mysql.user table should definitely exist on normal… Read more »

How to Deploy Ruby + Passenger + Nginx on CentOS Linux

Before we get started into the technical tutorial, let’s first review the technologies involved in this Ruby + Passenger + Nginx guide on CentOS Linux. Ruby is an agile, dynamic open source language focused on easy and natural code writing and reading, while keeping a nice and elegant simple syntax. Passenger is an app server that is used to server apps written… Read more »