Aarvi

PHP

Additionally, a 503 Service Unavailable error

Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request. While accessing one of the website saw the error mentioned above Normally this 503 error […]
Read more

MySQL: Stale lock file prevents the service from starting

Attempting to start the MySQL service results in the following error: [ERROR] Unix socket lock file is empty /var/lib/mysql/mysql.sock.lock. [ERROR] Unable to setup unix socket lock file. Below were the errors in mysql error log 2021-01-06T01:29:39.630848Z 0 [Note] – ‘127.0.0.1’ resolves to ‘127.0.0.1’; 2021-01-06T01:29:39.630871Z 0 [Note] Server socket created on IP: ‘127.0.0.1’. 2021-01-06T01:29:39.630932Z 0 [ERROR] […]
Read more

Ffmpeg on Centos 7 and Centos 6

Login to server via SSH Below steps are for Centos 7 yum -y install epel-release rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro rpm -Uvh  http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release0-5.el7.nux.noarch.rpm yum -y install ffmpeg ffmpeg-devel   Below steps are for Centos 6 yum -y install epel-release rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro wget https://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-1.el6.nux.noarch.rpm rpm ivh  nux-dextop-release-0-1.el6.nux.noarch.rpm yum -y install ffmpeg ffmpeg-devel   now we need to […]
Read more

Parse html as PHP is easyapache 4

  Normal rule in .htaccess to parse html files as php on easyapache 3 are not working on easyapache 4 #AddType application/x-httpd-php .php .htm .html #<FilesMatch “\.(htm|html|php)$”> #SetHandler application/x-httpd-php56 #</FilesMatch>   Below is the code which will need to be added In cpanel, multiphp manager will add the following for force a specific version of […]
Read more

Fixed: Strict Standards: Non-static method JLoader::import()

Code: Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 38Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71 Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 39 Strict Standards: Non-static method JLoader::register() should not be called statically […]
Read more

HTTPS to HTTP redirect

Redirect your Homepage from HTTPS to HTTP #Redirect your Homepage from HTTPS to HTTP RewriteCond %{HTTPS} on RewriteRule ^$ http://%{HTTP_HOST} [L,R] 1 2 3 #Redirect your Homepage from HTTPS to HTTP RewriteCond %{HTTPS} on RewriteRule ^$ http://%{HTTP_HOST} [L,R]
Read more

libMagickWand.so.2: cannot open shared object file

While working on one cPanel server we could see below error in error_log file for one client libMagickWand.so.2: cannot open shared object file The error log were filled by such errors reinstalling imagemagick  using command  /scripts/installimagemagick  didnt work as error were still persisting . So renamed the php,ini file mv /usr/local/lib/php.ini /usr/local/lib/php.ini-old Now to regenerate […]
Read more

Blank PHPmyadmin page in cpanel

While working with one hosting client we came across an issue where PHPmyadmin was blank On checking logs on /usr/local/cpanel/logs/error_log we could see below error root@hosonline  [~]# tail -n 10 /usr/local/cpanel/logs/error_log Cpanel::Server::write_buffer(Cpanel::Server=HASH(0x4abf5d8), “HTTP/1.1 401 Access Denied\x{d}\x{a}Set-Cookie: cprelogin=no; HttpOnl”…) called at /usr/local/cpanel/Cpanel/Server.pm line 1132 Cpanel::Server::write_content_to_socket(Cpanel::Server=HASH(0x4abf5d8), IO::Socket::SSL=GLOB(0x4a9c208), 0, “HTTP/1.1 401 Access Denied\x{d}\x{a}Set-Cookie: cprelogin=no; HttpOnl”…, SCALAR(0x20f8ae8)) called at […]
Read more

Install ZendGuard on cPanel server

To install ZendGuard on cpanel server follow below steps SSH to server as root user and run below script root@online  [~]# /scripts/installzendopt Updating digest list Fetching http://httpupdate.cpanel.net/cpanelsync/easy/targz.yaml (connected:0)…….(request attempt 1/12)…Using dns cache file /root/.HttpRequest/httpupdate.cpanel.net……searching for mirrors (mirror search attempt 1/3)……loaded mirror speeds from cache……mirror search success……connecting to 67.222.0.10…@67.222.0.10……connected……receiving…100%……request success……Done Downloading tarball for Zendopt Fetching http://httpupdate.cpanel.net/cpanelsync/easy/targz/Cpanel/Easy/Zendopt.pm.tar.gz.linux-generic-64 […]
Read more

Aarvi server solutions Is a Web Hosting Support Company that has built a solid reputation for quality, reliability, and true professional service