How to enable Tomcat Manager

Tomcat Manager Web application is packaged with the Tomcat server and you can access Tomcat Manager by browsing the URL http://yourserverip:8080/manager.


Tomcat Manager allows you the ability to start , stop, reload , deploy and undeploy a Web Application.


By default Tomcat Manager access is not configured and you have to setup a admin user to access Tomcat Manager on a newly installed tomcat server.
Continue reading How to enable Tomcat Manager

/usr/bin/php: error while loading shared libraries:

While enabling PHP SuPHP handler  on one of my server, I  started to get 500 Internal Server Error for all php pages .

So, my initial reaction  was to check  the Permissions and Ownerships for all PHP  files as while enabling PHP SuPHP  the max file permissions should be 644 and max folder permissions should be 755 and all  php files should ran under the ownership of user.user instead of apache.apache.

Also, I have checked all .htaccess files to see any one of the contains PHP flags like php_flag or php_admin_value as while enabling PHP SuPHP all PHP flags defined under .htaccess files will  result in a   500 Internal Server Error .

But after checking all the above, I  started to wonder as to what it could be  and then I realized  that it could be the RLimitMEM and RLimitCPU defined in the httpd.conf file and after disabling those values all the PHP  pages started to  work like a charm. 
Continue reading /usr/bin/php: error while loading shared libraries:

Shoutcast Installation and Configuration

SHOUTcast is Nullsoft’s Free Winamp-based distributed streaming audio system for streaming media over the Internet.
Nowadays, Thousands of broadcasters around the world are currently broadcasting their own radio station. With Shoutcast You can start your own radio station and stream music and live shows.

Follow the below steps for installation ::


1 > Create User shoutcast

[email protected][#] useradd shoutcast

2 > Setup password for user shoutcast

[email protected][#] passwd shoutcast

Now switch user to shoutcast

[email protected][#] su - shoutcast

3 > Now download the shoutcast package

[email protected][#] wget

4 > Now extract the downloaded package

[email protected][#] tar -zxf shoutcast-1-9-2-linux-glibc6.tar.gz

5 > Move shoutcast-1-9-2-linux-glibc6 shoutcast to shoutcast

[email protected][#] mv shoutcast-1-9-2-linux-glibc6 shoutcast

With the above steps you are done with the shoutcast installation

Now, follow the below steps to configure it,

Open the file sc_serv.conf to adjust few parameters



Set this to 32 to begin with, as MaxUser means maximum number of simultaneous listeners allowed.


Set a strong password as this password is is required to broadcast through the server.


Default PortBase is 8000 and you can leave it as it is.


Uncomment AdminPassword and set an admin password as per your requirement.


The default is ./sc_serv.log but you can set it to /var/log/SHOUTcast.log if you want.


ShowLastSongs specifies how many songs to list in the /played.html page.

save and quit.

Now are done with the configuration part and finally we are left with the shoutcast startup steps

you can start shoutcast with the below command

[email protected][#] ./sc_serv sc_serv.conf

Finally, to access GUI for shoutcast make sure that you have opened the port 8000 and 8001 in the server firewall and once you opened those ports on the firewall then you can access the admin URL as :: http://serverip:8000 .

That’s all.