ABHIONLINUX
Site useful for linux administration and web hosting

2011/06/30

Missing pentaho while installing Kaltura

While installing Kaltura on your centos 5.6 64 bit server, you can  see the error
"Missing pentaho"

Fix:
# mkdir /usr/local/pentaho
#  wget http://sourceforge.net/projects/pentaho/files/Data%20Integration/3.2.0-stable/pdi-ce-3.2.0-stable.tar.gz
#  tar xvzf pdi-ce-3.2.0-stable.tar.gz
#  mv data-integration pdi


ref: https://github.com/instructure/canvas-lms/wiki/Kaltura-setup-instructions



2011/06/27

how to install memcached on centos

You can use the command given below to find the centos version.

# cat /etc/redhat-release


Dependency that is needed for memcached is libevent. First we will proceed with  libevent.
Steps for installation libevent.
 # cd /usr/local/src/
 # curl -O http://monkey.org/~provos/libevent-1.4.14b-stable.tar.gz
 # tar xzvf libevent-1.4.14b-stable.tar.gz 
 # cd libevent-1.4.14b-stable
 # ./configure --prefix=/usr/local/
 # make 
 # make  install

Next we need to  install memcached.
# cd /usr/local/src
# curl -O http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz
# tar -xvzf memcached-1.4.5.tar.gz
# cd memcached-1.4.5
# LDFLAGS='-Wl,--rpath /usr/local/lib' ./configure --prefix=/usr/local
# make
# make install

You can verify the memcache using the command
# memcached -u root -d
If there are no errors, memcache is successfully installed and is running.
# ps aux | grep memcached

Note: 
memcached: error while loading shared libraries: libevent-1.4.so.2: 
  cannot open shared object file: No such file or directory
  configure: error: libevent is required
  If it's already installed, specify its path using --with-libevent=/dir/


Install php-memcache

Please try the following steps
wget http://pecl.php.net/get/memcache-3.0.3.tgz
# tar -xvzf memcache-3.0.3.tgz
# cd memcache-3.0.3
# phpize
#./configure
# make
# make install

Open php.ini
# vi /etc/php.ini
add the line given below.
extension=memcache.so


Then restart apache. You can check this my "php -m | grep memcache"


How to reset a kloxo admin password

If you have forgot the kloxo admin password , you can try the following fix.

You should have root access to the server.
1. Ssh to the server as root.
2. Run the commands given below.


cd /usr/local/lxlabs//httpdocs
# /usr/bin/lphp.exe  ../bin/common/resetpassword.php admin


You can use the password admin as your kloxo admin password.


2011/06/24

Clipbucket admin area showing blank page

When trying to access admin area of clipbucket , we will get blank page,

Fix:
First step we need to check is permission. Make sure that all your files and folders are having 644 and 755 respectively. Still the issue persists, go to step2

Next step is to fix out the file ClipBucket.class.php and search for the line  



" function get_cb_news()
{ "


Below this line, you need to add the following line
"return true "

Try this and your issue will be fixed.

2011/06/22

Connection to the server was reset - PHPmotion

Hello,


When you are trying to upload the larger videos in phpmotion, you may have got this error.


http://yourdomain.com/cgi-bin/uu_upload.pl?tmp_sid=815e201755c87c014ef49917cd76a186


The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again

Fix: 
Issue may be due to apache or php getting timedout. You can fix by increasing the value Timeout in httpd.conf.

2011/06/10

SERVICE CURRENTLY NOT AVAILABLE! - Roundcube

Hello,

If you are getting this error "SERVICE CURRENTLY NOT AVAILABLE!" while accessing roundcube mail, you can fix it by  /usr/local/cpanel/bin/update-roundcube --force