Unable to start Shoutcast DNAS v1.x accounts

Read 14598 times
I´ve searched through the forum and found a few posts with the same issue but their solutions didm´t work for me. I decided to start a new thread.

First of all, I am able to provision and start Shoutcast v2 and Icecast2 accounts.
The problem I have is that I can provision Shoutcast DNAS v1.x but I cannot start them.

From the admin account the error message is:
Processing account paridise ...
Server exited immediately after startup

From this particular account control panel I also attempted to start the server and failed with:
Stream could not be started: Server exited immediately after startup.

Diagnostics
Details:
Log has not been created, which may indicate a permissions problem or
an inability to run the external application.  Consult the Centova Cast
knowledge base.
Tip: Diagnostic mode may provide additional information about the cause of certain problems such as the above. Click here if you would like to retry this operation in diagnostic mode.

I attempted the fix perm solution with no success:
/usr/local/centovacast/sbin/fixperms

Also attempted:
/etc/init.d/centovacast stop
killall -9 sc_serv sc_trans icecast icecast2 ices ices2
/usr/local/centovacast/sbin/fixperms
/etc/init.d/centovacast start


OS: CentOS 6.5 64bit
Last Edit: January 26, 2014, 12:25:14 pm by ecarvalho
Problem solved. Solution below:

_________________________________

Last login: Sun Jan 26 05:09:55 on ttys000
macbook:~ Macbook$ ssh root@nx7
root@nx7's password:
Last login: Sun Jan 26 13:46:40 2014 from 10.0.0.21
[root@nx7 ~]# grep _BIN /usr/local/centovacast/etc/cc-control.conf
# And the ICECAST_BIN option below would be configured automatically.
ICES_BIN=
ICES2_BIN=
ICESCC_BIN=
EZSTREAM_BIN=
SCTRANS_BIN=
SHOUTCAST2_BIN=/usr/local/centovacast/shoutcast2/sc_serv
SCTRANS2_BIN=/usr/local/centovacast/sctrans2/sc_trans
ICECAST_BIN=/usr/local/icecast/bin/icecast
SHOUTCAST_BIN=/usr/local/centovacast/shoutcast1/sc_serv
[root@nx7 ~]# /usr/local/centovacast/shoutcast1/sc_serv
-bash: /usr/local/centovacast/shoutcast1/sc_serv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@nx7 ~]# yum install ld-linux.so.2
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * epel: mirror.symnds.com
 * extras: centos.aol.com
 * rpmforge: repoforge.mirror.constant.com
 * updates: mirror.anl.gov
2245 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.132.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.132.el6.i686
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.14.3-9.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
 Package                          Arch               Version                         Repository          Size
==============================================================================================================
Installing:
 glibc                            i686               2.12-1.132.el6                  base               4.3 M
Installing for dependencies:
 nss-softokn-freebl               i686               3.14.3-9.el6                    base               147 k

Transaction Summary
==============================================================================================================
Install       2 Package(s)

Total download size: 4.5 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): glibc-2.12-1.132.el6.i686.rpm                                                   | 4.3 MB     00:01     
(2/2): nss-softokn-freebl-3.14.3-9.el6.i686.rpm                                        | 147 kB     00:00     
--------------------------------------------------------------------------------------------------------------
Total                                                                         2.2 MB/s | 4.5 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nss-softokn-freebl-3.14.3-9.el6.i686                                                       1/2
  Installing : glibc-2.12-1.132.el6.i686                                                                  2/2
  Verifying  : glibc-2.12-1.132.el6.i686                                                                  1/2
  Verifying  : nss-softokn-freebl-3.14.3-9.el6.i686                                                       2/2

Installed:
  glibc.i686 0:2.12-1.132.el6                                                                                 

Dependency Installed:
  nss-softokn-freebl.i686 0:3.14.3-9.el6                                                                     

Complete!
[root@nx7 ~]# /usr/local/centovacast/shoutcast1/sc_serv
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc.  All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************
[conf] Couldn't find sc_serv.conf -- assuming defaults

Event log:
<01/26/14@19:00:05> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<01/26/14@19:00:05> [main] pid: 22578
<01/26/14@19:00:05> [main] loaded config from sc_serv.conf
<01/26/14@19:00:05> [main] initializing (usermax:32 portbase:8000)...
<01/26/14@19:00:05> [main] No ban file found (sc_serv.ban)
<01/26/14@19:00:05> [main] No rip file found (sc_serv.rip)
<01/26/14@19:00:05> [main] opening source socket
<01/26/14@19:00:05> [main] source thread starting
<01/26/14@19:00:05> [main] opening client socket
<01/26/14@19:00:05> [source] listening for connection on port 8001
<01/26/14@19:00:05> [main] Client Stream thread
  • starting

<01/26/14@19:00:05> [main] client main thread starting
<01/26/14@19:00:05> [main] dns thread starting
^Z1/26/14@19:00:23> [sleeping] 0 listeners (0 unique)     
[1]+  Stopped                 /usr/local/centovacast/shoutcast1/sc_serv
[root@nx7 ~]#
 ;)
very helpful, thanks ecarvalho!
thanks
Run command:  yum install ld-linux.so.2

That works for me too!... Thanks ;D
If you get this error and you're running Debian 8 (Jessie) run :

sudo apt-get install lib32z1