Archive for January 2012

Problem installing PECL UploadProgress

While installing uploadprogress using pecl, if you came across the below error ::

checking whether the C compiler works… configure: error: cannot run C compiled programs.

 

Then it means that the executable permission is not set on /tmp or /var/tmp

 

  [email protected][~]# mount | grep /tmp
 /usr/tmpDSK on /tmp type ext2 (rw,noexec,nosuid)
 /tmp on /var/tmp type none (rw,noexec,nosuid,bind)

So, in-order to complete the pecl installation just remount the /tmp and /var/tmp with executable permissions as :

[email protected][#] mount -o remount rw /tmp
[email protected][#] mount -o remount rw /var/tmp

And now just try the pecl install uploadprogress and it will work like a charm.

 

That’s all you are done.

 

Softaculous error The MySQL Database could not be selected.

If you came across this error while installing any application from  Softaculous after clicking  on the install Button then don’t panic you can  apply the below simple fix  to  get rid of that error :

 

Login to WHM  >> Main >> SQL Services >> MySQL Root Password 

and then reset the mysql root password and now try to installing any application  from Softaculous Panel it will no longer show any error.

 

And if you still face the same error then make sure that you have not disabled the Database Prefix in WHM .

 

You can refer the below URL to  re-enable the database prefix  if you mistakenly disabled the database prefix in WHM. 

 

http://www.linuxspy.com/1208/the-database-prefix-option-has-been-disabled/

 

That’s all you are done.

Plesk panel 404 /relay after upgrade

After  upgrading plesk control sometimes it happens that your Plesk admin panel starts redirecting to hostname:8443/relay and whichresults in a 404 not found page and this happens when  you select/activated  sso component while upgrading your Plesk control panel.

 

You can fix  this by  simply running the below command as root user : 

 

/usr/local/psa/bin/sso --disable

 

That’s all you are done.