Thursday, May 31, 2012

installing cagefs incpanel server.

First you need to check your cloudlinux version. If the version is higher than lve0.8.54. Do the following steps.

yum install cagefs
/usr/sbin/cagefsctl --init
By default cagefs is disabled for all users


/usr/sbin/cagefsctl --enable-all

/usr/sbin/cagefsctl --list-enabled  -> list all the cagefs enabled users

FYI:  We need to enable normal shell for any users using SFTP. Jailshell will not connect sftp.

Sometimes your ffmpeg path will not recognize.Issues can be affected application like clip bucket, phpmotion,

While converting this will shows sh:ffmpeg path not found also while checking the server modules this will not recognize ffmpeg,flvtool,mp4box

Solution
cagefsctl --addrpm ffmpeg
cagefsctl --update
in latest version you may need to run the below command:

]# cagefsctl --force-update



OR
[/etc/cagefs/conf.d]# cat clipbucket.cfg
[clipbucket]
comment=ClipBucket
paths=/usr/local/bin/ffmpeg, /usr/bin/php, /usr/local/bin/flvtool2, /usr/local/bin/MP4Box




For updating cagefs to the latest version:

 Using the following command i have updated using following :
 # yum update lve-utils lve-stats cagefs
 

lve-utils-0.6-10.el5.cloudlinux to => lve-utils-1.0-34.el5.cloudlinux
lve-stats-0.8-2.el5.cloudlinux to => lve-stats-0.9-6.el
cagefs-3.5-2.el5.cloudlinux to => cagefs-3.6-4.el5.cloudlinux


upgrading google chrome

Please note down google-chrome web browser upgrading steps

Recently my google-chrome web browser crashed regularly. Chrshed google-chome will take 1-2 minutes to come back in normal performance.

These are the steps i have issued in my computer.

root@fs2:/home/ajeesh# sudo apt-get update
root@fs2:/home/ajeesh# sudo apt-get install google-chrome-stable
Reading package lists... Done
Building dependency tree      
Reading state information... Done

Monday, May 28, 2012

Table 'mysql.servers' doesn't exist

mysql> flush privileges;
ERROR 1146 (42S02): Table 'mysql.servers' doesn't exist


Solution:
run this command
# mysql_fix_privilege_tables --password=ajeesh123




Thursday, May 17, 2012

TypeError: mcval.plsFun is not a function

While running radio on shoutcast i got this error, TypeError: mcval.plsFun is not a function

But i have refreshed the firefox web browser using tab "f5" and take the radio station its works for me.

Monday, May 14, 2012

Removing R1Soft cpanel plugin

If you want to remove the R1Soft CDP server plugin from your cpanel server,

1. /usr/lib/buagent/control-panels/cpanel/remove-cpanel-integration.sh

If this is not work , then you may need to call the r1soft cpanel plugin manual uninstaller.

1. /usr/local/cpanel/bin/unregister_cpanelplugin /var/cpanel/registered_cpanelplugins/righteousbackup