sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?

=================================== sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap? [Error above error message shows in login SSH screen directly or you are getting this message]just change the send mail permission using below command:—chmod 2755 /usr/sbin/sendmail— That’s it..:)===================================

» Read more

WordPress : error_logs file does not generate the error logs

WordPress issue : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If plugin or theme is not compatible then sometimes site shows blank page and error_logs file does not generate the error logs, then need to enable the WP_DEBUG in wp-config.php file. After enabling this function, it will show an error on the site and it will find out which is the problem plugin or theme.Syntax : =================================define(‘WP_DEBUG’, true); — to […]

» Read more

Missing mysql.sock file on server.

Some times,  MySQL service doesn’t work due to missing mysql.sock file , then you need to create manually mysql.sock file. Follow the below steps to create mysql.sock file.First, login your server and check /tmp and /var/lib/mysql , you may see that there is no mysql.sock file(It is called also Symbolic file).Follow the below steps.cd /var/lib/mysql/touch mysql.sockchmod 1777 mysql.sockchown mysql.mysql mysql.sockCreate a symlink for […]

» Read more

Mysql Database size shows 0 in cPanel

Some times , database size doesn’t update in Cpanel . You can check it through Cpanel===> MySQL database ,  it shows database size “zero” even if there is available database data. You should follow below steps to resolve this.==============================================root@server [#] vi var/cpanel/cpanel.configand search for following line.disk_usage_include_sqldbs=0 ( set it to 1 instead of 0 )wq:then you need to  run the below command to update […]

» Read more

Install LiteSpeed on Cpanel server .!!!

Following post discuss how to install Install LiteSpeed  on Cpanel server. Login to SSH on the server running cPanel.# cd /usr/locel/src# wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh# chmod 700 lsws_whm_plugin_install.sh# ./lsws_whm_plugin_install.sh# rm -f lsws_whm_plugin_install.shRegister for 15days trial license:http://www.litespeedtech.com/trial/license* Login to WHM and click the ‘LiteSpeed Web Server’ button.* Click ‘Install LiteSpeed’ and let it run through the installation procedure.* Enter your license information & […]

» Read more

Install ImageMagick on the Cpanel server.

ImageMagick is one of the most requested add-ons that allows for image manupulation.    First, you should check GD on the server , it can be complied through easyapache.First check Imagemagick on the server/scripts/checkimagemagick=======================================Installation ImageMagick  on the server/scripts/installimagemagickInstallation will take a couple minutes as it will install other packages needed by ImageMagick.==========================================================Check version of Imagemagick/usr/bin/convert –versionIt will show somthing below […]

» Read more

Images not loading for websites.

If you find that images are not loading in linux  server then you should disable php functions.php.ini is configuration file of PHP.Find exact path of php.ini# php -i | grep php.iniOr you can use the another command like# php.iniConfiguration File (php.ini) Path => /usr/local/libLoaded Configuration File => /usr/local/lib/php.inithen search disabled disable_function in that file and remove  “readfile” optionin in that […]

» Read more
1 27 28 29 30 31