How to install Shoutcast Published: Jan 18, 2007
  • Rating


MySQL 4.1 has been available for quite some time but many server admins still haven’t gotten around to getting their MySQL 4.0 upgraded to 4.1 We offer a quick and easy method to get this accomplished through your Cpanel/WHM server.

MySQL 4.1

Upgrading MySQL 4.0 to 4.1 in Cpanel

MySQL 4.1 has been available for quite some time but many server admins still haven’t gotten around to getting their MySQL 4.0 upgraded to 4.1 We offer a quick and easy method to get this accomplished through your Cpanel/WHM server.

You’ll need about 30-45 minutes to complete this, maybe a bit longer. We have to update Cpanel, update MySQL and rebuild Apache/PHP.

Check what version of MySQL you currently have installed. It’s probably 4.0x but you can check through shell by doing the following:

# mysql -V

Upgrading MySQL 4.0 to 4.1
There are some excellent documentation and notes you should read before proceeding with this upgrade tutorial. We aren’t going to cover everything so I suggest you take a minute to read this, upgrading MySQL is a major upgrade and is irreversible!

Installing MySQL 4.1 - the upgrade begins

The first thing we need to do is make sure Cpanel is updated to the latest version. You can do the update through WHM Upgrade to Latest Version or through shell

# /scripts/upcp

Once the update completes you want to go into WHM.

Server Configuration, Tweak Settings section


Select MySQL 4.1 option, do no check use old authentication.

Scroll to the bottom and hit Save.

You’ll then see the next screen such as this:
Your changes have been saved
If you made changes to the mysql version, please Click Here  after waiting 30 seconds  to have them take effect.

So we’ll wait 30 seconds and then click the link =)

Cpanel will then go through a bit process of grabbing the latest MySQL version 4.1.13 at the time of this tutorial and install it automatically through RPMs.
Once this page completes you need to do a few more steps to complete the update.

You should see a Complete message that’s bolded when its done.

Updating PHP to support MySQL 4.1
Now you need to recompile Apache/PHP to support the changes as quick as possible because PHP will currently not work with MySQL. You might see something like this in console:

# php -v
php: error while loading shared libraries: cannot open shared object file: No such file or directory

This is normal and fine, lets proceed with the Apache update. See our detailed /scripts/easyapache tutorial here.

# /scripts/easyapache

Don’t change any of the default MySQL options here, select the other settings you want. Save the changes and let it rebuild. This usually takes 20 minutes or so to complete:


Now that Apache has finished recompiling we want to make sure it works properly! In shell again do the following command. It should produce your PHP version information without any errors:

# php –v
PHP 4.4.1 (cli) (built: Dec  8 2005 20:57:56)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

You can also check the MySQL version with the following:

# mysql –V
mysql  Ver 14.7 Distrib 4.1.13, for pc-linux-gnu (i686) using readline 4.3

Upgrade is complete! Give yourself a pat on the back for some hard work and take a deep breath because you got through this haha =)

MySQL 4.1 upgrade Problems?

Make sure you follow all the steps, especially rebuilding Apache/PHP if you don’t the libraries will be out of sync and no websites will be able to connect to databases.

The 4.0 to 4.1 MySQL upgrade changes many aspects of databases. For example, when you’re trying to restore a 4.0 database to a 4.1 database it will not work. The opposite is also true. This is because it ads new fields, etc to tables that each version doesn’t support. So if you have many machines, upgrade them all or none because if you’re moving databases around you’re going to hit a brick wall.

Having trouble getting this tutorial to work? We can do this update for you on your server, simply contact us for a quote.

About the Author:
Steven Leggett is the editor of the server resource and hosting tutorial site, and specializes in system administration and web development.

  • Rating


Related Articles

Comments (12)

  • Gravatar - Mateus
    Mateus 21:38, March 5, 2007
    There is any problem on running Shoutcast on a Web shared hosting?<br />
    <br />
  • Gravatar - 18:31, April 24, 2007
    if your hosting allows SSH connection yes you can.
  • Gravatar - Safira
    Safira 22:02, July 1, 2007
    How do I restart the server. I have been trying the cd / radio ad then ls and this is what i am getting ./ ../ bin/ checkvirtfs* dev/ etc/ home/ lib/ proc/ tmp/ usr/ var/<br />
    <br />
    <br />
    help with what to do next please
  • Gravatar - Rich
    Rich 14:49, November 3, 2007
    I have shoutcast set up, but am having trouble sourcing the soundcard to transmit from. I have it set as playfile /dev/audio, and it does not work. If I type playfile /filename.mp3 it works fine. Any suggestions would be appreciated.<br />
    <br />
  • Gravatar - Ranch
    Ranch 21:07, December 1, 2007
    How do I install to broadcast in multiple bit rates?<br />
    <br />
    IE:<br />
    56Kbps<br />
  • Gravatar - dave
    dave 20:32, December 20, 2007
    you would need to run 2 shoutcast servers, one at 56kbps and one at 128kbps
  • Gravatar - botakedan
    botakedan 09:07, March 22, 2008
    how to run 2 or more broadcaster in one server ?
  • Gravatar - Rich
    Rich 08:06, July 4, 2008
    Just have multiple config files.
  • Gravatar - James Rippey
    James Rippey 15:45, April 12, 2009
    Please anyone help with shoutcast set-up , I downloaded proper files from shoutcast along with winamp , from there I am lost . I cant broadcast , my IP tells me i can use my server for outgoing , i hope my server addrees is okay . Anyone please help and respond by e-mail too [email protected] , any help would be greatly appreciated . jim
  • Gravatar - michel
    michel 22:01, August 18, 2009
    [[email protected] ~]# cd /downloads<br />
    [[email protected] downloads]# wget<br />
    --22:07:34--<br />
    Resolving<br />
    Connecting to||:80... connected.<br />
    HTTP request sent, awaiting response... 404 /shoutcast/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz<br />
    22:07:35 ERROR 404: /shoutcast/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz.<br />
    <br />
    [[email protected] downloads]# <br />
    <br />
    <br />
    Help me plz
  • Gravatar - sean
    sean 16:01, September 22, 2009
    thanks for the info works fine but i want to know how to stop the server ... i got it to start fine .... and is there any way to add a conntrol pannel ..????
  • Gravatar - Gorgui GUEYE
    Gorgui GUEYE 10:49, December 2, 2009
    Anyone help me.<br />
    I installed shoutcast but by starting the shoutcast unsing ./sc_serv sc_serv.conf I get error message like :FATAL ERROR! Some other process is using this port!<br />

Add Your Thoughts is a hosting directory, not a web host.

Copyright © 1998-2020