Server Reboot Failed with Activation of org.freedesktop.systemd1 timed out
When trying to restart any service on a CentOS server, i get error Failed to list units: Activation of org.freedesktop.systemd1 timed out Server won’t even reboot, here is what i get when i try reboot...
View ArticlePython Script to update yum
Some times when you update server software with yum, it fail to update due to few package conflicts. This will result in none of the packages getting updated. When i update a cpanel server, i get...
View Articleyum stuck forever
When i run any yum command on a server it get stuck for ever. I run yum with strace strace yum clean It get stuck with following message from strace stat("/var/lib/rpm", {st_mode=S_IFDIR|0755,...
View ArticleCentOS 7 PHP can’t sent email using mail function
On CentOS 7 server, PHP mail() function did not sent email. It always returned false. I used following test script to verify mail is working [root@server1 ~]# cat /var/www/html/1.php <?php $result =...
View ArticleCentOS 7 no matching mac found
On a new CentOS 7/CloudLinux server, i had to get CloudLinux license support, but for some reason CloudLinux support can’t login to my server. It worked fine on Ubuntu 16.04. CloudLinux support sent...
View ArticleFree Symlink Protection From CloudLinux
Default Cpanel Server installation have Symlink Vulnerability, that allow hacker to hack other sites hosted on the server once he have gained access to one of the web sites by creating Symlink. There...
View Articlerpm – Package Manager for RedHat Linux
rpm manage software packages in distros like Fedora, RedHat, CentOS. To list all installed software packages, run rpm -qa To see if a package is installed, run rpm -qa | grep PACKAGE_NAME Example...
View ArticleInstall PHP 7.0 on CentOS 7 Server
To install PHP 7 on CentOS 7 server, install epel and remi repository. wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget...
View ArticleInstall Red 5 on CentOS 7
Red5 is an open source media server for live streaming. Install java with yum -y install java Download and extract Red 5 cd /opt wget...
View ArticleError we got while doing the ffmpeg installation on CentOS 7
I used the following command to install x264 and x264 is used to encode video files in mp4, m4v, h.264 (HD) output format. cd /usr/local/src/hostonnet/ wget...
View Article