Old 17th February 2003, 13:12   #1
DJ_SIMO
Junior Member
 
Join Date: Feb 2003
Location: Wrexham,UK
Posts: 5
Send a message via Yahoo to DJ_SIMO
SSH Problem Plz Help

Right I have almost set up my Shoutcast server but when I ssh in and try to start it using ./sc_serv command I get the error
ELF binary type "0" not known

Ive spoke to our administrator and this is his Reply Quote "The ELF binary may not be compiled to be compatible with the server - don't know if they'll let you have the source and recompile it???"

Someone Plz help as I am so close yet so far what do i need to do?????
DJ_SIMO is offline   Reply With Quote
Old 24th February 2003, 19:23   #2
DJ_SIMO
Junior Member
 
Join Date: Feb 2003
Location: Wrexham,UK
Posts: 5
Send a message via Yahoo to DJ_SIMO
Doesn,t anyone know the answer to this problem then??????
DJ_SIMO is offline   Reply With Quote
Old 26th February 2003, 18:05   #3
ctn|chrisw
Forum King
 
ctn|chrisw's Avatar
 
Join Date: Mar 2002
Location: Hell
Posts: 3,309
Did you get the correct version? What OS is the server on?


ctn|chrisw is offline   Reply With Quote
Old 26th February 2003, 21:25   #4
unfrozen
Junior Member
 
Join Date: Feb 2003
Posts: 4
If you are trying to run the Linux binary on Linxu, the Solaris binary on Solaris, or the FreeBSD binary on FreeBSD, it should "just work".

If you are trying to run the Linux binary on FreeBSD, though, this message probably means that you do not have the Linux emulation module loaded. If the Linux emulation package is installed, you can load the module with just "linux". Your Linux binary should run fine now. On the other hand, it would probably be easier to just download the native binary :-)
unfrozen is offline   Reply With Quote
Old 27th February 2003, 01:56   #5
DJ_SIMO
Junior Member
 
Join Date: Feb 2003
Location: Wrexham,UK
Posts: 5
Send a message via Yahoo to DJ_SIMO
Right used free bsd version and it says server is running and listening for connections on port 5013

But when I try to connect to it, it says cant connect and the server page ie http://djsimo.co.uk:5012 doesnt exist???

Any further help plzz
DJ_SIMO is offline   Reply With Quote
Old 27th February 2003, 02:43   #6
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
could be a firewall. i get "connection refused"

again, check with your admin. use an open port or have him open 5012/5013 tcp incoming.
DJ AmPs is offline   Reply With Quote
Old 27th February 2003, 02:45   #7
unfrozen
Junior Member
 
Join Date: Feb 2003
Posts: 4
Yep, your server does not seem to be listening on neither port 5012 no 5013. It should be listening on two ports, one for the clients, and one for the Winamp stream. Try this to find out which ports it is listening on:

sockstat -l | grep sc_serv

This will also show you the IP address, which may be of interest if your server has multiple interfaces or goes through NAT somewhere. Good luck! :-)
unfrozen is offline   Reply With Quote
Old 27th February 2003, 23:16   #8
DJ_SIMO
Junior Member
 
Join Date: Feb 2003
Location: Wrexham,UK
Posts: 5
Send a message via Yahoo to DJ_SIMO
Quote:
Originally posted by unfrozen
Yep, your server does not seem to be listening on neither port 5012 no 5013. It should be listening on two ports, one for the clients, and one for the Winamp stream. Try this to find out which ports it is listening on:

sockstat -l | grep sc_serv

This will also show you the IP address, which may be of interest if your server has multiple interfaces or goes through NAT somewhere. Good luck! :-)
Right had another go 2nite at this, This is what I get when I ./sc_serv , But still nothing at http://djsimo.co.uk:4012 or at :4013

*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2000 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************

Event log:
<02/28/03@00:02:22> [SHOUTcast] DNAS/FreeBSD4 v1.9.2 (Nov 25 2002) starting up...
<02/28/03@00:02:23> [main] pid: 34741
<02/28/03@00:02:23> [main] loaded config from sc_serv.conf
<02/28/03@00:02:23> [main] initializing (usermax:24 portbase:4012)...
<02/28/03@00:02:23> [main] No ban file found (sc_serv.ban)
<02/28/03@00:02:23> [main] No rip file found (sc_serv.rip)
<02/28/03@00:02:23> [main] opening source socket
<02/28/03@00:02:23> [main] source thread starting
<02/28/03@00:02:23> [main] opening client socket
<02/28/03@00:02:23> [main] Client Stream thread [0] starting
<02/28/03@00:02:23> [main] client main thread starti<02/28/03@00:11:27> [sleepin<02/28/03@00:11:32> [sleeping] 0 listeners (0 unique)

Tried sockstat -l | grep sc_serv but get this error message


djsimo75@uk3:~#sockstat -l | grep sc_serv
Can't exec "/usr/bin/netstat": No such file or directory at /usr/bin/sockstat line 56.
exec(netstat): No such file or directory
close(netstat):
djsimo75@uk3:~#cd htdocs
djsimo75@uk3:~/htdocs#sockstat -l | grep sc_serv
Can't exec "/usr/bin/netstat": No such file or directory at /usr/bin/sockstat line 56.
exec(netstat): No such file or directory
close(netstat):
djsimo75@uk3:~/htdocs#

Anymore help would be much appreciated Please!!!!!!
DJ_SIMO is offline   Reply With Quote
Old 28th February 2003, 03:13   #9
unfrozen
Junior Member
 
Join Date: Feb 2003
Posts: 4
It sounds like your system administrator has disabled netstat. That makes it harder to find out what's going on, and I have to wonder what else is "special" about your server. Try listing the interface IP addresses with "ifconfig -a". The ethernet interface will probably be first. Is the address a private address (like 10.x.x.x or 192.168.x.x)? If so, then you will probably have to ask your administrator to add a special NAT rule to handle your Shoutcast ports. It will probably be something like this:
redirect_port tcp <private IP>ort <external IP>ort

You should be able to test the IP and port yourself with telnet. Run telnet like "telnet <IP> <port>" and type "GET /" if/when it connects. You should get a few lines back from the server if it is running and you got the IP and port right... Sorry, but that's about all I can think of right now. Good luck.
unfrozen is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump