Could not start server: Application binary has not been configured for ShoutCast

Read 11695 times
When trying to start Shoutcast 1 server i get the following error;

Code: [Select]
Could not start server: Application binary has not been configured for ShoutCast on Local server
have run

Code: [Select]
  /usr/local/centovacast/sbin/enable_package shoutcast1 /usr/local/centovacast/shoutcastv1/sc_serv 
When trying to start Icecast  server i get the following error;

Code: [Select]
Could not start server: Application binary has not been configured for IceCast on Local server
When trying to start Shoutcast 2 server i get the following error;

Code: [Select]
Server exited immediately after startup
Anyone have any ideas, it seems there are even more problems with the latest build

George

Ran command

Code: [Select]
tail -n 15 /usr/local/centovacast/etc/cc-control.conf
Output

Code: [Select]
root@server1 [~]# tail -n 15 /usr/local/centovacast/etc/cc-control.conf
# specify the full pathnames to your application binaries below; note that
# this is normally handled automatically by Centova Cast's application
# installer, i.e., to install IceCast, you'd just use:
#    /usr/local/centovacast/sbin/update --add icecast
# And the ICECAST_BIN option below would be configured automatically.
SHOUTCAST_BIN=
ICECAST_BIN=
ICES2_BIN=
ICESCC_BIN=
EZSTREAM_BIN=
SCTRANS_BIN=
ICES_BIN=/usr/local/ices//bin/ices
SCTRANS2_BIN=/usr/local/src/sctrans/sc_trans
SHOUTCAST2_BIN=/usr/local/centovacast/shoutcastv2/sc_serv
SHOUTCAST1_BIN=/usr/local/centovacast/shoutcastv1/sc_serv
root@server1 [~]#
 

can you help??

George
Can you try downloading the today's build and trying this again?  I believe this should be fixed by the latest installer/updater changes -- we can't reproduce it here.
Thanks Steve

When i try an update i get the following;

Code: [Select]
RPM build errors:
    user karl does not exist - using root
    group karl does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.39392 (%prep)
rpmbuild exited with error; check your rpmbuild configuration
Installer exited with error, aborting
 

George
That's the same issue you noted in this thread and is the result of an incompatibility between the official IceCast 2.3.2 SRPM and newer versions of CentOS.  You need to use --icecast-fromsrc as you did in the other thread.

And apparently the IceCast developers are no longer distributing an IceCast RPM or SRPM, so we're left to use the outdated one or build from source... nothing's ever easy. :)

If I knew exactly what triggered the incompatibility with the SRPM I'd add detection for it and default to a source build, but I'm not sure what it is... it may just be a particular CentOS revision... are you on CentOS 5 or 6?
Hi Steve

I'm using Centos 5 32bit

George
Hi Steve,

After installing latest build

Code: [Select]
root@server1 [~]# tail -n 15 /usr/local/centovacast/etc/cc-control.conf

# specify the full pathnames to your application binaries below; note that
# this is normally handled automatically by Centova Cast's application
# installer, i.e., to install IceCast, you'd just use:
#    /usr/local/centovacast/sbin/update --add icecast
# And the ICECAST_BIN option below would be configured automatically.
ICES_BIN=
ICES2_BIN=
EZSTREAM_BIN=
SCTRANS_BIN=
SHOUTCAST2_BIN=/usr/local/centovacast/shoutcast2/sc_serv
SCTRANS2_BIN=/usr/local/centovacast/sctrans2/sc_trans
ICESCC_BIN=/usr/local/centovacast/ices//bin/ices
SHOUTCAST_BIN=/usr/local/centovacast/shoutcast1/sc_serv
ICECAST_BIN=/usr/local/icecast/bin/icecast
root@server1 [~]#
 

Have not tested fresh installation yet will let you know of any problems

Thanks again Steve

George
I'm on centos 6 64x and my build crashed also.
mine crashed like George's here trying to access non-existant data or path, my case an old redhat dir.  /usr/src/redhat  which gave : no file or directory error and crashed
I havent seen a dir name like that in sometime. not sure if that helps at all but more to log for Centos builds
my direct email is cage@linuxcage.org
When reaching database settings stage at

Code: [Select]
http://xxx.xxx.151.57:2199/install.php?step=settings
after completing database settings & proceeding results in giving me

Code: [Select]
  Sorry, an error occurred while attempting to load the requested page. 
if i then enter

Code: [Select]
http://xxx.xxx.151.57:2199 
it takes me then to login

when to go to hosts

Code: [Select]
http://xxx.xxx.151.57:2199/admin/index.php?page=rpchosts 
all the settings are empty, i will try to import an earlier backup of Hosts sql

Will then let you know if any further problems

George
Updated missing rpchosts SQL

Code: [Select]
-- Table structure for table `rpchosts`
--

CREATE TABLE IF NOT EXISTS `rpchosts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ipaddress` varchar(16) NOT NULL DEFAULT '',
  `port` int(10) unsigned NOT NULL DEFAULT '2198',
  `authkey` varchar(255) NOT NULL DEFAULT '',
  `title` varchar(128) NOT NULL DEFAULT '',
  `isrelay` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `ismaster` tinyint(3) unsigned NOT NULL DEFAULT '1',
  `defaultip` varchar(16) NOT NULL DEFAULT '',
  `daemontype` varchar(16) NOT NULL DEFAULT 'RPC',
  `hostname` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `rpchosts`
--

INSERT INTO `rpchosts` (`id`, `ipaddress`, `port`, `authkey`, `title`, `isrelay`, `ismaster`, `defaultip`, `daemontype`, `hostname`) VALUES
(1, '127.0.0.1', 2198, 'jSxC5nKRyYmXBXL6IAynXR0bXSDBxW39qbX8D2IGsPM=', 'Local server', 1, 1, 'xxx.xxx.151.57', 'RPC', ''); 

Will Update when tested

George
Hi,

Authentication key:

This field is blank

George
Rainner try installing latest build it should sort out your problems

George
Will uninstall as;

Code: [Select]
  /etc/init.d/centovacast stop
rm -f /etc/cron.d/centovacast /etc/init.d/centovacast /etc/centovacast.conf
rm -rf /usr/local/centovacast
userdel centovacast
userdel ccuser

& then reinstall

George