Archive for February, 2007

imapd not working

On a new cpanel server imap service found not working.

Checked if all library for imapd is available with

root@server38 [~]# ldd /usr/lib/courier-imap/bin/imapd

libfam.so.0 => not found

libgdbm.so.2 => /usr/lib64/libgdbm.so.2 (0×0000003166600000)
libcourierauth.so.0 => /usr/lib64/courier-authlib/
libcourierauth.so.0 (0×0000003c7da00000)
libc.so.6 => /lib64/tls/libc.so.6 (0×0000003165700000)
/lib64/ld-linux-x86-64.so.2 (0×0000003165500000)
root@server38 [~]#

Found libfam.so.0 not available on the server.

Problem is fixed by installing fam from yum.

yum install fam

After installing fam restart imap with

/scripts/restartsrv imapd

Comments off

YouTube Spider - Download FLV

YouTube Spider is a Free Software, that allow users to download video from YouTube.com in FLV format.

You can search your favourite video and watch it over YouTube Spider. It is very good news for youtube fans as it allows you to download the video, watch it any time you need, no need to wait for downloading again from internet.

The video downloaded is in Flash FLV format, and it allows you to convert it into MPEG format. You can organize your favourite videos in your favourite list as well.

Click here to download YouTube Spider.

Comments off

Starting and Stoping Tomcat on Cpanel Server

On new server, i installed Tomcat through WHM. But i can’t restart tomcat from WHM. The cpanel script to restart tomcat /scripts/restartsrv_tomcat is also not working.

I found directly running tomcat startup file as user root will get the tomcat working.

To start Tomcat run

/usr/local/jakarta/tomcat/bin/startup.sh

To stop tomcat run

/usr/local/jakarta/tomcat/bin/shutdown.sh

Once you install servlet to a web site, it will show 404 error, you need to restart tomcat to get it working properly.

Comments off

How to Build Your Own YouTube

Found a blog entry that discuss on how to create a youtube clone with Amazon EC2 and S3 services. Amazon S3 service allow you to store your files and EC2 provides computational power required for converting user uploaded video to flv format.

lighttpd is light weight httpd server for serving static content like images, html files, movies etc… are recommeded as web server.

Lighttpd
How to build YouTube clone

Comments off

« Previous entries