Category: Servers

  • phpMyAdmin upload file size limit increase

    To increase the upload file size limit in phpMyAdmin running on the Plesk / CentOS 7 server you need to modify the  /usr/local/psa/admin/conf/php.ini configuration file:

  • The IP was already used for trialing on…

    Issue Plesk web host server is sending following emails multiple times a day: From: root@localhost.localdomainSubject: Cron <root@localhost> /usr/bin/kcarectl –auto-update –gradual-rollout=auto Content: The IP 76.15.48.179 was already used for trialing on 2018-07-05

  • Adding SWAP space on exiting Debian Server

    Follow below steps add SWAP space to an existing Linux Debian server: Create 2GB swap_file in /swap directory:dd if=/dev/zero of=/swap/swap_file bs=1M count=2048 Setup file permissions:chmod 0600 /swap/swap_file Setup Linux swap area:mkswap /var/cache/swap/myswap Enable swapping:sudo swapon /var/cache/swap/myswap

  • Warning: require_once(Mail.php): failed to open stream

    Issue After upgrading PHP from 5.4.16 to 5.6.36 web pages that contain PEAR mail scripts fail to load with Error 500 (Internal Server Error) After enabling display_errors in PHP settings following errors were displayed: Warning: require_once(Mail.php): failed to open stream: No such file or directory in /var/www/vhosts/domain.com/httpdocs/forms/contact_form.php on line 18 Fatal error: require_once(): Failed opening required…

  • Installing Ubiquiti UniFi Controller on CentOS Docker Container (Plesk)

    This tutorial shows how I installed and setup Ubiquiti UniFi Controller on 1&1 CentOS 7 VPS web server using Docker Container. Login to Plesk Control Panel, open Docker, search for jacobalberty/unifi, and Run latest version. Uncheck Automatic port mapping and remap ports that are already used by other services on the server. In my case, I remapped port 8880…

  • Remove Google Authenticator from Plesk web server via SSH

    Issue CentOS Web Server Plesk Admin Panel is protected by 2 factor authentication using Google Authenticator. After replacing/losing the phone you can no longer generate the requested verification code.

  • The secret passphrase in configuration (blowfish_secret) is too short

    Issue phpMyAdmin running on CentOS 7 LAMP server shows following warning after logging in: The secret passphrase in configuration (blowfish_secret) is too short.

  • CentOS 7 – check version and install updates

    Check Linux version and other system info: hostnamectl Check CentOS version: rpm –query centos-release

  • Plesk Onyx – FTP users can’t write to some subfolder inside httpdocs

    Issue FTP users created in Plesk Onyx control panel cannot upload files to some sub-folders inside httpdocs. Permission denied. Critical file transfer error.

  • Upgrading Netgear ReadyNAS Pro 6 from RAIDiator 4.X to ReadyNAS OS 6.X

    Legacy Netgear ReadyNAS models do not officially support the new ReadyNAS OS 6. Luckily is pretty straightforward to upgrade most of X86 based legacy ReadyNAS devices from RAIDiator 4.2 to ReadyNAS OS 6 unofficially. Needless to say, this is completely unsupported by Netgear and proceed at your own risk. There are bunch of threads about…

  • LinScsi: SCSILinuxAbortCommands: 1843: Failed, Driver MPT SAS Host, for vmhba2

    Issue Some of the VMs hosted on VMware ESXi 5.5 (DELL PowerEdge T310 host) occasionally become unresponsive.All attempts to login to the host via VMware vSphere Client fails with following error: Could Not ConnectvSphere Client could not connect to “10.5.5.25”. An unknown connection error occurred. (The request failed because the remote server took too long to respond. (The operation…

  • Installing and enabling PEAR Mail on 1&1 Plesk VPS

    PHP PEAR was not installed on my 1&1 VPS (CentOS 7) at all, so the first step was to to install it:  yum install php-pear