Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: ghudson on October 31, 2012, 09:53:43 pm

Title: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on October 31, 2012, 09:53:43 pm
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

Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 12:20:15 pm
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
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: Centova - Steve B. on November 01, 2012, 01:12:51 pm
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.
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 02:46:49 pm
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
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: Centova - Steve B. on November 01, 2012, 03:04:07 pm
That's the same issue you noted in this thread (http://forums.centova.com/index.php?topic=1982.msg5079) 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?
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 03:32:41 pm
Hi Steve

I'm using Centos 5 32bit

George
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 04:33:29 pm
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
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: Rainner on November 01, 2012, 05:08:49 pm
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
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 05:16:53 pm
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
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 05:28:20 pm
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
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 05:31:49 pm
Hi,

Authentication key:

This field is blank

George
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 05:58:27 pm
Rainner try installing latest build it should sort out your problems

George
Title: Re: Could not start server: Application binary has not been configured for ShoutCast
Post by: ghudson on November 01, 2012, 06:08:03 pm
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