Prev Previous Post   Next Post Next
Old 21st August 2003, 17:46   #1
shadypalm88
Junior Member
 
Join Date: May 2003
Location: Wisconsin, USA
Posts: 3
Send a message via ICQ to shadypalm88 Send a message via AIM to shadypalm88
DestIP / SrcIP - Not working?

I'm trying to setup multiple ShoutCast servers on one machine with multiple IP addresses. So I have 2 servers that will be using a PortBase of 8000. When I tried to use a hostname it listened on 255.255.255.255 - obviously not good. Here's what happens when I try to use an IP.
code:
[root@ shoutcast-1-9-2-linux-glibc6]# ./sc_serv > /dev/null &
[1] 4384
[root@ shoutcast-1-9-2-linux-glibc6]# netstat -ap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 .:8000 *:* LISTEN 4384/sc_serv
tcp 0 0 .:8001 *:* LISTEN 4384/sc_serv

Doesn't look quite right, but when I connect to the IP it's set to listen on it responds, and on any other it doesn't. So far, so good. Taking out the '> /dev/null' reveals that it's not reporting any errors.
But when starting up the other server...
code:
[root@ home]# ukserver/sc_serv ukserver/sc_serv.conf
*******************************************************************************
** 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:
<08/21/03@12:50:00> [SHOUTcast] DNAS/Linux v1.9.2 (Nov 25 2002) starting up...
<08/21/03@12:50:00> [main] pid: 4399
<08/21/03@12:50:00> [main] loaded config from ukserver/sc_serv.conf
<08/21/03@12:50:00> [main] initializing (usermax:10 portbase:8000)...
<08/21/03@12:50:00> [main] No ban file found (sc_serv.ban)
<08/21/03@12:50:00> [main] No rip file found (sc_serv.rip)
<08/21/03@12:50:00> [main] opening source socket
<08/21/03@12:50:00> [main] error opening source socket! FATAL ERROR! Some other process is using this port!

Damn. Do Src/DestIP not work as I expect them to or is there possibly other chaos at work here?
shadypalm88 is offline   Reply With Quote
 
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