yum install epel-release yum localinstall –nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm yum install ffmpeg ffmpeg-devel mkdir /root/source cd /root/source/ git clone https://github.com/tony2001/ffmpeg-php.git cd ffmpeg-php/ /opt/cpanel/ea-php56/root/usr/bin/phpize ./configure –with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config nake && make install Add line extension=ffmpeg.so in php.ini and restarted httpd
Read MoreI was gettnig error mentioned below “error while loading shared libraries: libasound.so.2:” on Centos 7 OS yum -y install alsa-lib-devel fixed the issue yum -y install alsa-lib-develLoaded plugins: fastestmirror, universal-hooksLoading mirror speeds from cached hostfile EA4: 208.74.123.61 cpanel-addons-production-feed: 208.74.123.61 cpanel-plugins: 208.74.123.61 base: www.gtlib.gatech.edu epel: mirror.oss.ou.edu extras: mirror.dal10.us.leaseweb.net nux-dextop: mirror.li.nux.ro updates: mirror.dal10.us.leaseweb.netResolving Dependencies–> Running transaction check—> […]
Read MoreWas working on Debian 7 server and on trying to update using command apt-get update was getting 404 error I could see 404 error on command apt-get update root@debian:/home/nvc# vi /etc/resolv.confroot@debian:/home/nvc# apt-get updateIgn cdrom://[Debian GNU/Linux 7.11.0 Wheezy – Official amd64 DVD Binary-1 20160605-17:36] wheezy Release.gpgIgn cdrom://[Debian GNU/Linux 7.11.0 Wheezy – Official amd64 DVD Binary-1 20160605-17:36] […]
Read MoreEnable CGI through .htaccess To enable CGI through .htaccess, perform the following steps: Log in to your server as the root user via SSH. Change to the /usr/local/apache/conf/ directory. Create a backup of your httpd.conf file. For example: Note: In this example, http-old.conf represents the backup file’s name. 4. Open your http.conf file with a […]
Read MoreWe had an issue where in cPanel server where we had our rDNS settings were no working. On editing and saving the file from WHM , Rdns worked Found the issue was due to corrupted named.conf Below are the steps undertaken to rebuild named.conf mv /etc/named.conf /etc/named.conf.bak /usr/local/cpanel/scripts/rebuilddnsconfig /scripts/restartsrv_named Now rdns and other records are […]
Read MoreWhile resetting the cpanel account password from WHM I saw above error after resetting the passwor. I see the issue was due to the parameter skip-name-resolve in mysql config /etc/my.cnf Removing the command and restarting the mysql fixed the issue
Read MoreWe came across an issue where emails were not coming to server on checking logs we saw below error failed to open DB file /var/spool/exim/db/ratelimit: Permission denied (euid=47 egid=12) We executed below steps to fix the error 1003 2020-05-20 11:38:14 rm -fv /var/spool/exim/db/*1004 2020-05-20 11:38:30 service exim restart1005 2020-05-20 11:39:22 chown -R mailnull.mail /var/spool/exim1006 2020-05-20 […]
Read MoreOpen file using command vi /etc/ssh/sshd_config #Port 22 remove the # symbol and change the default port 22 and change it accordingly to your preference save the file and exit semanage port -a -t ssh_port_t -p tcp 2244 where 1234 is my ssh port firewall-cmd --permanent --zone=public --add-port=1234/tcp firewall-cmd --reload systemctl restart sshd.service Now telnet […]
Read MoreNamed on Centos webpanel was not starting on server On checking logs only below information were displayed named.service – Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-03-13 07:30:38 EDT; 5min ago Process: 24466 ExecStartPre=/bin/bash -c if [ ! “$DISABLE_ZONE_CHECKING” == “yes” ]; then /usr/sbin/named-checkconf […]
Read MoreWhile working on server We saw one website giving 500 error On checking I see error was coming on .htaccess rules /docs/subdomains/my/public_html/.htaccess: Invalid command ‘SetEnv’, perhaps misspelled or defined by a module not included in the server configuration To resolve this problem, we need to install the module ‘mod_env’ manually. For easyapache4 users, #yum install […]
Read MoreAfter changing SSH port, If I try to SSH using new port number I was getting error “no route to host” The issue was due to IPtables I have to flush all firewall rules using IPtables -f serveice iptables restart This fixed the ssh port issue
Read MoreWe had this issue while dumping one database We added below parameter in /etc/my.cnf innodb_strict_mode = 0 And restarted Mysql Now mysql dump worked fine
Read More