Old 11th April 2008, 19:44   #1
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
bug in sc_serv: xserve mac os x server

Hi im having hard trouble when configuring shoutcast server in a mac xserve running mac os server x ver10.5.2

i downloaded the server sc_serv_1.9.8_macosx to run the shoutcast server (no aqua interface) but can only work in default mode, i mean the pwd should be kept "changeme" and the port is 8000 (as the file come from you in sc_serv.conf) if i change something there it has no effect on the sc_serv.conf file. i thought it was the text editor, but it is not as long as i can see.

so, i cant change any parameters. im tied to that port (8000) and unsecure pwd ("changeme").

Could it be administrator privileges? i guess it is not cause im logged as administrator full access.

i changed the pwd and save.

i open the file sc_serv.conf and it is really modified, but the broadcaster cant connect. both bradcast and server have the same pwd: "abc" then i change the broadcaster pwd to "changeme" and it begins to broadcast in the act.

Broadcaster running on a pc winxp

Please give some advice.

killabyte
killabyte79 is offline   Reply With Quote
Old 11th April 2008, 21:54   #2
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
you must be starting the programs incorrectly.

Double clicking is bad.

You need to use the terminal on a mac.

Navigate to the directory that the binary is in and type: ./sc_serv config_file_name.conf

Unless you specify a config file to use, sc_serv assumes the defaults. That is why changing the password from abc to changeme (the default) works even though you have modified the settings in the config.
fc*uk is offline   Reply With Quote
Old 12th April 2008, 00:01   #3
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
thanks dude, that`s because i havent worked the command line in mac before. should i place sc_serv and sc_serv.conf in a specific path? altought both files are in a common and same directory there is a error listing "couldnt find sc_serv.conf"

best
killabyte79 is offline   Reply With Quote
Old 12th April 2008, 01:13   #4
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
no, a different directory is not required.

I was giving you instructions as to how one would go about doing things on a *nix box. However, with a mac, maybe you need to specify the full path in the command line?
fc*uk is offline   Reply With Quote
Old 12th April 2008, 01:26   #5
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
nop, the executable runs ok, but i dont know how to make it load the sc_serv.conf, so im running on defaults, the way you said didnt load it.

do you know where to check or maybe you know how?

best


killabyte
killabyte79 is offline   Reply With Quote
Old 12th April 2008, 02:00   #6
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
./sc_serev name_of_config_file.conf

replace the Name_of_config_file.conf with the actual name of the config file you are using. And add the .conf.
fc*uk is offline   Reply With Quote
Old 14th April 2008, 16:42   #7
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
Hi dude, sorry for inconveniences, but now sc_serv.conf loads well, but changes aint taking effect

here is the log im running on "/" path for both files (executable and config)

04/14/08@11:28:43> [SHOUTcast] DNAS/MacOS_X v1.9.8 (Feb 28 2007) starting up...
<04/14/08@11:28:43> [main] pid: 733
<04/14/08@11:28:43> [main] loaded config from sc_serv3.conf
<04/14/08@11:28:43> [main] initializing (usermax:32 portbase:8000)...
<04/14/08@11:28:43> [main] No ban file found (sc_serv.ban)
<04/14/08@11:28:43> [main] No rip file found (sc_serv.rip)
<04/14/08@11:28:43> [main] opening source socket
<04/14/08@11:28:43> [main] source thread starting
<04/14/08@11:28:43> [main] opening client socket
<04/14/08@11:28:43> [source] listening for connection on port 8001
<04/14/08@11:28:43> [main] Client Stream thread [0] starting
<04/14/08@11:28:43> [main] client main thread starting
<04/14/08@11:28:43> [main] dns thread starting
<04/14/08@11:28:43> [source] invalid password from 172.16.41.61
<04/14/08@11:28:43> [source] invalid password from 172.16.41.61
.......

look that it is loading config from sc_serv3.conf portbase 8000, but sc_serv3.conf was changed to port 8002. changes aint taking effect.

what im i doing wrong? the executable file sc_serv is a unix executable file (powerpc) does it has to do with my trouble?


please advice


regards
killabyte79 is offline   Reply With Quote
Old 14th April 2008, 21:26   #8
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
No, the fact that it is a linux binary should not make a difference. Mac OS X is only a BSD core running apple's unique gui. In essence, OS X is *nix.

If you open the config3 file are the changes still saved within it? Do you have read privileges to the file, binary, and directory?
fc*uk is offline   Reply With Quote
Old 14th April 2008, 21:48   #9
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
yap, when i open the file it is as i changed before, changes are correctly saved, i have full access to the dir, it is a new machine, so no troubling with it.

look at the log:

<04/14/08@11:28:43> [main] loaded config from sc_serv3.conf

what would you check in order to find the trouble? i mean it is a simple task, what could it be?
killabyte79 is offline   Reply With Quote
Old 14th April 2008, 21:53   #10
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
I dunno. If the changes are getting saved in the sc_serv3.conf file and you are clearly telling sc_serv to load that file on startup ... I'm all out of ideas.

You could go for the overkill approach and chmod 777 the enitre directory, binary, and config file.
fc*uk is offline   Reply With Quote
Old 16th April 2008, 14:51   #11
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
dude i did that and nothing happenned ill downloada again but im in trouble if i can not make it work ill have to start using the QTSS and i dont want to. shoutcast is much faster

im doing this:
cd: /
./sc_serv sc_serv3.conf

please check a little further. look at the log i sent before

best

killabyte
killabyte79 is offline   Reply With Quote
Old 16th April 2008, 17:51   #12
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
is sc_serv actually located in the root ("/") directory?
fc*uk is offline   Reply With Quote
Old 16th April 2008, 23:58   #13
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
yap it is in root, actually ive tested the ports using nicecast and it works, broadcast from shoutcast source in PC, cant receive well in shoutcast macos server. which cases the executable wont load the config file? when i change any parameter there is a log about (changing pwd and port):

conf] Warning: invalid item on line 2, in sc_serv3.conf
[conf] Warning: invalid item on line 3, in sc_serv3.conf
[conf] Warning: invalid item on line 4, in sc_serv3.conf
[conf] Warning: invalid item on line 6, in sc_serv3.conf
[conf] Warning: invalid item on line 9, in sc_serv3.conf
...
...
...

line 2 is pwd line.

any idea?

best

killa
killabyte79 is offline   Reply With Quote
Old 17th April 2008, 00:27   #14
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
special characters are not allowed; only use a-z and 0-9; no spaces either.
fc*uk is offline   Reply With Quote
Old 17th April 2008, 02:16   #15
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
ill try server over a PPC macos 10.3.9

and ill check if same error is displayed, please keep checking this post any help will be valuable, will keep u informed.

best

killa
killabyte79 is offline   Reply With Quote
Old 17th April 2008, 17:44   #16
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
hi, would you help me in bringing a complete log from a correctly run sever over MACServer at starting up service? i dunno why it is reported that cant load the config file.

unisabana:/ admin$ /shoutcast/sc_serv_1.9.8_MacOSX/sc_serv sc_serv2.conf
*******************************************************************************
** 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_serv2.conf -- assuming defaults ----->////here !!!!!

Event log:
<04/17/08@12:32:59> [SHOUTcast] DNAS/MacOS_X v1.9.8 (Feb 28 2007) starting up...
<04/17/08@12:32:59> [main] pid: 782
<04/17/08@12:32:59> [main] loaded config from sc_serv2.conf --->what does it mean? did it found it?
<04/17/08@12:32:59> [main] initializing (usermax:32 portbase:8000)...
<04/17/08@12:32:59> [main] No ban file found (sc_serv.ban)
<04/17/08@12:32:59> [main] No rip file found (sc_serv.rip)
<04/17/08@12:32:59> [main] opening source socket
<04/17/08@12:32:59> [main] source thread starting
<04/17/08@12:32:59> [main] opening client socket
<04/17/08@12:32:59> [source] listening for connection on port 8001
<04/17/08@12:32:59> [main] Client Stream thread [0] starting
<04/17/08@12:32:59> [main] client main thread starting
<04/17/08@12:32:59> [main] dns thread starting
[conf] Couldn't find sc_serv2.conf -- assuming defaults
<04/17/08@12:35:40> [main] SIGWINCH; Reloaded Config File
[conf] Couldn't find sc_serv2.conf -- assuming defaults
<04/17/08@12:35:41> [main] SIGWINCH; Reloaded Config File
killabyte79 is offline   Reply With Quote
Old 17th April 2008, 18:07   #17
killabyte79
Junior Member
 
Join Date: Apr 2008
Posts: 20
DONE, dude tkx for your valuable help, finally is running as i want.

I was all a directory trouble, now full access the right way my server is running unbeatable and preferred over QTSS, tkx again.

shoutcast forever

killabyte
killabyte79 is offline   Reply With Quote
Old 11th June 2008, 00:06   #18
loshman55
Junior Member
 
Join Date: Jun 2008
Posts: 7
Password Problem

I'm having a similar problem with the password issue. The two passwords in my conf file are identical to what's in my Nicecast external server config yet whenever I connect using anything other than changeme as the password, I get an invalid password error. Here's what the terminal session looks like:

vent log:
<06/10/08@20:03:58> [SHOUTcast] DNAS/MacOS_X v1.9.8 (Feb 28 2007) starting up...
<06/10/08@20:03:58> [main] pid: 265
<06/10/08@20:03:58> [main] loaded config from /Users/jasonlachapelle/Shoutcast/sc_serv_LOSH.conf
<06/10/08@20:03:58> [main] initializing (usermax:32 portbase:8000)...
<06/10/08@20:03:58> [main] No ban file found (sc_serv.ban)
<06/10/08@20:03:58> [main] No rip file found (sc_serv.rip)
<06/10/08@20:03:58> [main] opening source socket
<06/10/08@20:03:58> [main] source thread starting
<06/10/08@20:03:58> [main] opening client socket
<06/10/08@20:03:58> [source] listening for connection on port 8001
<06/10/08@20:03:58> [main] Client Stream thread [0] starting
<06/10/08@20:03:58> [main] client main thread starting
<06/10/08@20:03:58> [main] dns thread starting
<06/10/08@20:04:04> [source] invalid password from 192.168.1.100
<06/10/08@20:05:08> [source] invalid password from 192.168.1.100
<06/10/08@20:05:11> [source] invalid password from 192.168.1.100
<06/10/08@20:05:14> [source] invalid password from 192.168.1.100
<06/10/08@20:05:17> [source] invalid password from 192.168.1.100
<06/10/08@20:05:29> [source] invalid password from 192.168.1.100
<06/10/08@20:05:32> [sleeping] 0 listeners (0 unique)

Any ideas? I'm going batty... I also get a message in the terminal that basically says there's an error with every one of my conf file lines but I've had at least one other person try it on their machine and it worked fine. Any help is greatly appreciated.

Thanks!
loshman55 is offline   Reply With Quote
Old 11th June 2008, 01:18   #19
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
what are you using as a source for dnas?
fc*uk is offline   Reply With Quote
Old 11th June 2008, 01:30   #20
loshman55
Junior Member
 
Join Date: Jun 2008
Posts: 7
Not sure if I understand the question but I'm using Nicecast with iTunes and the sc_serv 1.9.8 for Mac OSX. Does that make sense...

Appreciate the help!!
loshman55 is offline   Reply With Quote
Old 11th June 2008, 02:30   #21
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,127
I'm going to admit defeat here. Unfortunately, I do not know nicecast well enough to be able to help you.

Check out this thread: http://forums.winamp.com/showthread....light=nicecast

The link that nick@ss gave mnay be very very helpful to you.
fc*uk is offline   Reply With Quote
Old 11th June 2008, 23:34   #22
loshman55
Junior Member
 
Join Date: Jun 2008
Posts: 7
I do appreciate the help... I started with that other link but I think it's for a version of Mac OSX prior to what I'm running so it doesn't quite work for me all the way.

Again, thanks for the help!
loshman55 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