Blog

Cast Control installation on a suPHP installed server fails

Tags: cast controlshoutcast hostingsuPHP

Published on: May 21, 2009 by George K.

Cast Control installation on a suPHP installed server fails

Scenario:

Shoutcast hosting is one of the niche market for the hosting industry. But sometimes,on SHOUTcast installation issues like this creep in. So here is the solution for the issue. Even if you are offering unmanaged VPS web hosting, clients may not be able to easily solve this themselves. Please help them 🙂

Make sure that the files inside the CastControl folder, files/1-9-8-linux-glibc6/sc_serv and files/1-9-8-linux-glibc6/sc_trans should have permissions 777 even if your server is running under suPHP. If installation fails after setting it to 777, with an error message as below,

There was a problem with the tested shoutcast server
While the SHOUTcast server seems to have started, it was terminated unexpectantly

Click here to view the shoutcast log

It’s time to check the apache error logs. Because shoutcast logs are empty or even the logs folder inside cast control. And the apache error log has tons of errors like below,

[Thu May 21 03:11:37 2009] [error] [client xxx.xxx.xxx.xxx] sh: whoami: command not found, referer: http://www.shoutcastsage.net/shoutcast/install/install.php
[Thu May 21 03:11:40 2009] [error] [client xxx.xxx.xxx.xxx] sh: whoami: command not found, referer: http://www.shoutcastsage.net/shoutcast/install/install.php
[Thu May 21 03:11:40 2009] [error] [client xxx.xxx.xxx.xxx] Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.7/FAQ, referer: http://www.shoutcastsage.net/shoutcast/install/install.php
[Thu May 21 03:11:40 2009] [error] [client xxx.xxx.xxx.xxx] sh: pgrep: command not found, referer: http://www.shoutcastsage.net/shoutcast/install/install.php
[Thu May 21 03:11:40 2009] [error] [client xxx.xxx.xxx.xxx] ../temp/installation.conf.sh: line 3: nohup: command not found, referer: http://www.shoutcastsage.net/shoutcast/install/install.php

But pgrep and whoami are there in the server. What to do next ?

Time to edit suphp.conf. The culprit is the env_path setting in the conf file.

Current setting would be env_path=/bin:/usr/bin . Add double quotes there for the path setting and restart apache, like below

;PATH environment variable
env_path="/bin:/usr/bin"

Now try to proceed with the SHOUTcast installation

Category : Troubleshooting, VPS

[easy-social-share counters=0]
George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Categories

Your Cart

ZPanel migration support for webhosting accounts
Account Migration - ZPanel to ZPanel Migration
Qty: 1
160.00
Expert migration team to outsource your Non-Zpanel to ZPanel migrations.
Account Migration – Non-ZPanel to ZPanel
Qty: 1
400.00
ZPanel server migration through migration experts.
Server Migration - ZPanel to ZPanel
Qty: 1
7,920.00
server migrations to ZPanel Severs from non-zpanel servers
Server Migration - ZPanel to Non-Zpanel
Qty: 1
11,920.00
Placeholder
Coach
Qty: 1
104,930.00
Placeholder
Live Chat Support Team - Sales
Qty: 1
256,000.00
Placeholder
Live Chat Support Team - Billing
Qty: 1
256,000.00
24/7 Sales and Billing support through dedicated sales and billing team
Dedicated Team plan - Sales/Billing
Qty: 1
224,000.00
level2 dedicated night shift support
Dedicated Night Shift Support - Owls
Qty: 1
96,000.00
Shift support for level1 dedicated night shift support
Dedicated Night Shift Support - NightJars
Qty: 1
48,000.00
Four member level3 semi-dedicated technical support team for advanced helpdesk and server adminsitration requirements.
Semi-dedicated Team - Technical - Masters
Qty: 1
320,000.00
level2 semi-dedicated technical support team for dedicated 24/7 server administration and helpdesk support
Semi-dedicated Team- Technical - Abbots
Qty: 1
200,000.00
Placeholder
Choose the number of L1 Soldiers for your team
Qty: 1
79,920.00
Level3 dedicated technical support team for complete hosting support solutions
Dedicated Team - Technical- GrandMasters
Qty: 1
576,000.00
level1 dedicated technical support team
Dedicated Team - Technical -Monks
Qty: 1
256,000.00
Part time graphic designer availability for your custom design requirements
Hire a part time Graphic designer - (4 hours x 22 days)
Qty: 1
63,920.00
A dedicated graphic designer can help you with logo design, website design etc. with high level of professional competency and time bound delivery.
Dedicated Staff - Graphic Designer - (8 hours x 22 days)
Qty: 1
119,920.00
Get a dedicated level3 server administrator for your dedicated server management operations.rver administration and helpdesk support.
Dedicated Staff- Server Admin- Commander
Qty: 1
159,920.00
Dedicated level3E server administrator for escalation support.
Dedicated Staff- Server Admin - Zen Master
Qty: 1
199,920.00
dedicatd level2 server administrrator for sever administration and webhosting support
Dedicated Staff- Server Admin - Warrior
Qty: 1
119,920.00
level1 server administrator for dedicated server administration
Dedicated Staff - Server Admin - Soldier
Qty: 1
79,920.00
VPS node management plan for setting up of VPS node and virtualization assistance.
VPS - Node Management
Qty: 1
2,400.00
VPS live chat for the technical, sales and billing issues for the VPS node and the VPSes hosted on it.
Live Chat - VPS Node
Qty: 1
6,320.00
Subtotal
₹3,189,490.00
APPLY
23