![]() |
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????? |
Doesn,t anyone know the answer to this problem then??????
|
Did you get the correct version? What OS is the server on?
|
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 :-) |
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 |
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. |
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! :-) |
Quote:
******************************************************************************* ** 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!!!!!! |
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>:port <external IP>:port 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. |
| All times are GMT. The time now is 16:19. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.