Looking for a SHOUTCast Host ? look no further!

Check out http://lmas-networks.com you seriously cant beat what they offer for only £1.00 p/month tons of features in the centova cast control panel and if you currently have shoutcast services hosted elsewhere just drop them an email they will give you a price match deal and give you a month free 😮 !!

Shoutcast hosting

They also allow you to use your own amazon affiliate ID (free to get) so you can make some money if anyone buys a track they hear on your stream!

Try them or ask for a free trial you wont be dissapointed.


SSL + cpanel = 500 internal server error

Hi Folks,

Been working on this issue for some time and its been rather annoying, finaly got it solved with the help of a very helpfull member of the cpanel forum by the name of Miraenda.


You get a 500 server error after installing an ssl cert and using https and your error logs in apache contain somthing along the lines of:
SoftException in Application.cpp:422: Mismatch between target UID (99) and UID (503) of file “/home/someuser/public_html/anything.php”,

This is because the /var/cpanel/userdata/someuser/domain-name.com_SSL  does not contain the correct user info i.e. is installed as the wrong user (usualy nobody “UID (99) is nobody”)


To fix this you first need to find your domain-name.com_SSL file in /var/cpanel/userdata/ look in this directory you will have a bunch of users in here one of which is likley to be “nobody” and is a good place to start.

Once you find the file move it to the correct user location.
e.g. if you are not sure which user it should be installed as go to the directory that is causing the issue and run “stat /home/someuser/publichtml/somefile.php” this will give you enough info to find out who it should be installed as.

Now you have the file in the right place you need to make a few changes to the domain-name_SSL file to make it work correctly.

You should see the following lines:

documentroot: /home/user/public_html
group: user
homedir: /home/user

Replace user with the username for each one. note, these are not the only lines in the file, they are just the lines you need to change in that file.

If the account is a reseller and not owned by root, you will also need to change owner: root to owner: user.

Please also check the ip: field has the right IP listed.

After making all the changes, then run these commands to rebuild Apache with the new entries and get it restarted:

/etc/init.d/httpd restart

Now test it again 🙂

hope this help someone.



Cphulk lock out

Hi Folks,

One of the common mistakes when enabling cphulkd on your cpanel/whm is to not add your ip to the whitelist first which locks you out of your own cpanel/whm.

Sometimes due to the amount of brute force attempts against servers these days you can end up being locked out for hours at a time if not longer because you have root as your main cpanel/whm login.

If you can still get shell access to your server via your vps consol/webmin/ssh you can clear the locked account with the following command:

echo “delete from brutes; delete from logins;” | mysql cphulkd

This with flush the database and give you access again.

make sure you add your ip to the whitelist as soon as you have done this and if you have a dynamic ip I suggest changing either your root username to somthing less common or at the very least changing your ssh port from 22 to somthing else.

Hope this helps someone.


WHMSonic. just dont bother!

I have recently set up a shoutcast streaming server based on Cpanel/WHM and WHMsonic.

A few things you should know if you are considering doing the same.

1) WHMSonic is pretty much broken and does not work with the latest version of WHMCS so unless you plan to manualy set up all acounts and offer it for free (which will work) just pretend you never heard of WHMSonic and move on.

2) The support staff at WHMSonic hardly speak engish, they will promise to look into your issue (when they acknowledge your ticket 48 hours later) and will tell you… dont worry we have a patch (that is not publicly available) for the latest version of WHMCS. It would be nice if they made that known before you buy the broken product eh?

3) The “patch” is actualy as much use as an ash tray on a motor bike. The patch means that you cannot offer cpanel accounts any more with WHMSonic only external radios and the bitrate will no longer go above 128 kbps.

So in short:

  • Its broken and will not auto set up account
  • They take a life time to get back to you
  • They have known it is broken since at least May 2010 (thats when the instructions they sent me were created) yet they continue to sell it
  • The forum, FAQ and knowledge base is broken (I assume so people cannot publicly advertise issues)
  • The php in the patch looks like its been written by a 10 year old, they did not even take the time to put the bit rates in the right order so you choose from 96,32,24,64,48,128 kbps ??
  • you will never ever be able to use it to actualy sell anything that has instant activation.

My suggestion: centrovacast it just works and it works well.

cpanel 500 internal server error

I have seen many posts with people having trouble with internal server errors on cpanel while using suPHP as the php handler.

unfortunatley people seem to be going way above and beyond what is required to troubleshoot this issue.

A simple way to fix most issues is to simply login to your cpanel/WHM server via ssh and run /scripts/chownpublichtmls

In most cases it is simply a case that you have file permissions incorrect or you have root set as the owner on many of your files.

If that does not work then you likley have other permission based issues so I suggest you ensure all your directories are set to chmod 755 and make sure all your .php files are set to chmod 644 (suPHP will not work with permissions higher than 644)

you can check the permissions in command line by running e.g. ‘stat /home/john/public_html’  

Hope it helps someone 🙂

%d bloggers like this: