Sometimes, you may encounter the above error while configuring OpenSSH. In such cases, you can fix this error by re-installing OpenSSL installed in the server and later configure OpenSSH again.
Sometimes, you may encounter the above error while configuring OpenSSH. In such cases, you can fix this error by re-installing OpenSSL installed in the server and later configure OpenSSH again.
checking for libwrap… configure: error: *** libwrap missing
FIX:
yum install tcp_wrappers-devel
Sometimes, when you compile custom PHP for a domain, you may encounter the following error when we call phpinfo page.
Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/New_York’ for ‘EDT/-4.0/DST’ instead in /home/public_html/admin/includes/languages/english/email_extras.php on line 40
Inorder to fix this, go to the corresponding php.ini file and add the following:. Please note that the time zone used depends on the error.
date.timezone = “America/New_York”
Upon compiling a custom PHP 5.3 for a single domain in the server, I encountered the above error while calling the domain after compiling the custom PHP. Turns out the file ‘/usr/local/php-5.3.8/bin/php-cgi’ was missing. Upon checking in detail, I narrowed down the error to the configure options used while compiling PHP 5.3.
./configure –disable-cgi –other options.
Always make sure to enable cgi while compiling PHP as suPHP. So, the final configure option would look like
./configure –enable-cgi
In certain cases, the client complains that the ‘Purge Deleted’ button is not visible in horde email client . And when you login to his account you too see that the button is missing .
In that case, do the following :
# Click on ‘Options’ button from the top menu
# Under the section ‘Mail Management’ click on the button ‘Deleting and Moving Messages’
# Un-check the option –
“When deleting messages, move them to your Trash folder instead of marking them as deleted.”
Then click on ‘Save Options’ button below .
Now if you check back to your INBOX, you will find the ‘Purge Deleted’ button at the bottom right hand corner below the mail list .
We normally backup entire database using mysqldump utility but what if only one table gets corrupt and you only want to restore that table from backup.
In that case you can use the below simple steps to backup and restore a single mysql table using mysqldump utility ::
mysqldump databasename tablename > tablename.sql
Restoration ::
mysql databasename < tablename.sql
If you are unable to login to cpanel server using ssh, the following script resets the SSH service configuration to the default one.
Substitute the server IP where required and take this in the web browser.
http://your_server_ip:2086/scripts2/doautofixer?autofix=safesshrestart
You will be able to login using SSH now
Sometimes, when you are trying to install softaculous in a cPanel server, you will see this error.
softaculous requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator
So, you will check Tweak Settings in cPanel/WHM and you can see Ioncube is enabled. Still, you may get the same error. In such cases, there is a simple fix. Just change PHP loader in Tweak Settings in WHM to none, and change it to Ioncube again and try again to install softaculous. It will work this time.
Sometimes in linux servers, you will see this error.
ERROR: ld.so: object ‘/usr/local/mylog/lib/snoopy.so’ from /etc/ld.so.preload cannot be preloaded: ignored.
This can be easily fixed.
Go to the file /etc/ld.so.preload , remove the line /usr/local/mylog/lib/snoopy.so, and voila!. Error is fixed.
Usually while upgrading OpenSSH, we encounter the following errors.
configure: error: *** zlib.h missing – please install first or check config.log ***
configure: error: *** OpenSSL headers missing – please install first or check config.log ***
configure: error: PAM headers not found
We can fix this by installing the following packages.
# yum install zlib-devel
# yum install openssl-devel
# yum install pam-devel