Old 5th April 2003, 22:46   #1
dnetwork
Junior Member
 
Join Date: Apr 2003
Posts: 18
Unable to make it work please help

Hello everyone!

I have installed shoutcast-1-9-2 on my unix server. According to event logs listed below it seems like its working but it isn't.
I can go t http://mydomain.com:8000/ and login to admin area but
Server Status: Server is currently down. this never changes and if type the url http://mydomain.com:8000/music/mymp3 as listed in FAQs I get an error "Invalid resource"

I have over 5,000 mp3s located on my server and yes have change the path to ContentDir=/home/user/www/music/mymp3/ (within folder mymp3s I have like over 700 sub-folders)

I have checked all FAQ and spend over 6 hours but no luck

Please help I really want to share my music over the net

Event log:
<04/05/03@15:28:44> [SHOUTcast] DNAS/Linux v1.9.2 (Nov 25 2002) starting up.
<04/05/03@15:28:44> [main] pid: 18060
<04/05/03@15:28:44> [main] loaded config from sc_serv.conf
<04/05/03@15:28:44> [main] initializing (usermax:100 portbase:8000)...
<04/05/03@15:28:44> [main] No ban file found (sc_serv.ban)
<04/05/03@15:28:44> [main] No rip file found (sc_serv.rip)
<04/05/03@15:28:44> [main] opening source socket
<04/05/03@15:28:44> [main] source thread starting
<04/05/03@15:28:44> [source] listening for connection on port 8001
<04/05/03@15:28:44> [main] opening client socket
<04/05/03@15:28:44> [main] Client Stream thread [0] starting
<04/05/03@15:28:44> [main] client main thread starting
<04/05/03@15:32:55> [dest: 216.168.239.87] server unavailable, disconnecting

Thanks

Regards,

Nick
dnetwork is offline   Reply With Quote
Old 6th April 2003, 02:14   #2
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,103
"server unavailable, disconnecting" means someone conencted to the DNAS without a source.

Fix: Source the DNAS.

However, you seem to want on-demand content which isn't configured correctly.

Check out the Sticky post titled:
SHOUTcast: Important Info & Answers to FAQs. READ ME!

Scroll down a bit and look for the section titled:
How to Setup On-Demand with SHOUTcast -> Sawg's Lame Rip-Off: On Demand Audio
How to Setup On-Demand with SHOUTcast -> On Demand Audio (Radio Toolbox)

FesterHead is offline   Reply With Quote
Old 6th April 2003, 16:39   #3
dnetwork
Junior Member
 
Join Date: Apr 2003
Posts: 18
Thanks!

"Fix: Source the DNAS" How do you setup DNAS?

I have already checked "SHOUTcast: Important Info & Answers to FAQs. READ ME!" I did what's stated in FAQs but can't make it to work.

At this point I just want to make this thing work I don't care if it's on-demand or whatever

Please replay

Nick
dnetwork is offline   Reply With Quote
Old 6th April 2003, 18:23   #4
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,103
With on-demand, you don't access content using http://mydomain.com:8000/ you access is using http://mydomain.com:8000/music/mymp3.pls (notice the change from what I have here and what you initially wrote)

With live content (that is tunes loaded in Winamp and/or using your soundcard to broadcast sounds), you do access content using http://mydomain.com:8000/

Want live content now?

Check out the Sticky post titled:
SHOUTcast: Important Info & Answers to FAQs. READ ME!

Scroll down a bit and look for the section titled:
How to Setup a Live Audio Stream -> How to set up an Internet Radio station
How to Setup a Live Audio Stream -> 15 Steps to setting up SHOUTcast

Additionally, check out these tutorials:

FesterHead is offline   Reply With Quote
Old 6th April 2003, 20:50   #5
dnetwork
Junior Member
 
Join Date: Apr 2003
Posts: 18
Actually nothing works for me.

If i go to http://desi-nation.com:8000 it shows that server is down and i think it has to do with Source the DNAS and I have no idea wht is Source DNAS

http://desi-nation.com:8000/members/music/mymp3.pls
i get "Invalid resource"

Please see if you can help me fix this thing

thanks

Nick
dnetwork is offline   Reply With Quote
Old 6th April 2003, 22:11   #6
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
The DNAS is just the audio server. You need to provide live content for it to serve. This can be done with Winamp and the SHOUTcast DSP or if you want a full linux solution use sc_trans_lame. Both can be found at shoutcast.com and once you have either setup and running your station will be "up".

Tom
Tom is offline   Reply With Quote
Old 19th April 2003, 14:42   #7
dnetwork
Junior Member
 
Join Date: Apr 2003
Posts: 18
Thanks Tom,
But after installing/config. when i run ./sc_trans_linux I get the following error
*******************************************************************************
** TRANScast Distributed Network Audio Content Provider
** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
** Use "sc_trans filename.conf" to specify a config file.
*******************************************************************************
<04/19/03@07:24:42> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up
...
<04/19/03@07:24:42> [MAIN] PID: 11276
<04/19/03@07:24:42> [MAIN] Loaded config from sc_trans.conf
<04/19/03@07:24:42> [MAIN] Loading playlist (example.lst)
<04/19/03@07:24:42> [MAIN] Found (2) entries in playlist
<04/19/03@07:24:42> [MAIN] Playlist decoder thread starting
<04/19/03@07:24:42> [MAIN] Error opening /home/sctrans/content/test_1.mp3, skipp
ed
<04/19/03@07:24:42> [MAIN] Error opening /home/sctrans/content/test_2.mp3, skipp
ed
<04/19/03@07:24:42> [MAIN] Ran out of songs!!!
<04/19/03@07:24:42> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100
!
<04/19/03@07:24:42> [MAIN] Streaming thread starting
<04/19/03@07:24:42> [CONFIG] WARNING: No InputChannels defined, assuming 2!

All of my music(mp3) are located within content folder/sub

I just want to setup radio so it can play (random or selected) music from with the content folder



Thanks

Regards,

Nick
dnetwork is offline   Reply With Quote
Old 19th April 2003, 22:28   #8
dnetwork
Junior Member
 
Join Date: Apr 2003
Posts: 18
Hi,
Actually now I was able to make it work, but the following problems creating playlists.

Do i have to add each song to the playlist?
I have over 500 album and it's way hard to add each song to the playlist.

Also all the tracks are named for example if a track name is Hey Hey Hey and I have it has hey hey hey.mp3 but if I add this track to playlist it won't work. However it will work if i rename it as hey-hey-hey.mp3

There is no way that i can rename over 5000 tracks. Please help me find a way to create playlist and songs to play list withing renameing.


Thanks
dnetwork is offline   Reply With Quote
Old 20th April 2003, 02:12   #9
jjudge
Junior Member
 
Join Date: Apr 2003
Posts: 3
go the root directory of your mp3's and run:

find . -type f -name "*.mp3" > playlist_filename.lst
jjudge is offline   Reply With Quote
Old 20th April 2003, 14:30   #10
dnetwork
Junior Member
 
Join Date: Apr 2003
Posts: 18
Thanks for your replay!

I was able to make test.lst to test but when I run ./sc_trans_linux I get the following error for all tracks that are listed within test.lst

<04/20/03@07:27:16> [MAIN] Error opening ./FilmMusic/variousfilms/Fighter 2003/d
esi-nation.com - Shala La Baby.mp3, skipped
<04/20/03@07:27:16> [MAIN] Error opening ./FilmMusic/variousfilms/Fighter 2003/d
esi-nation.com - Shala La Baby.mp3, skipped
<04/20/03@07:27:16> [MAIN] Error opening ./FilmMusic/variousfilms/Fighter 2003/d
esi-nation.com - Shala La Baby.mp3, skipped
<04/20/03@07:27:16> [MAIN] Error opening ./FilmMusic/variousfilms/Fighter 2003/d
esi-nation.com - Shala La Baby.mp3, skipped
<04/20/03@07:27:16> [MAIN] Error opening ./FilmMusic/variousfilms/Fighter 2003/d
esi-nation.com - Shala La Baby.mp3, skipped
<04/20/03@07:27:16> [MAIN] Error opening ./FilmMusic/variousfilms/Fighter 2003/d
esi-nation.com - Shala La Baby.mp3, skipped
<04/20/03@07:27:16> [MAIN] Error opening ./FilmMusic/variousfilms/Fighter 2003/d
esi-nation.com - Shala La Baby.mp3, skipped
<04/20/03@07:27:18> [MAIN] SIGINT; exiting!

Thanks

Nick
dnetwork is offline   Reply With Quote
Old 20th April 2003, 16:15   #11
jjudge
Junior Member
 
Join Date: Apr 2003
Posts: 3
make sure that the sc_trans_linux and conf file are in the same directory as you mp3 files. otherwise run:

find /location/of/your/mp3s -type f -name "*.mp3" > playlist_filename.lst
jjudge is offline   Reply With Quote
Old 21st April 2003, 16:28   #12
dnetwork
Junior Member
 
Join Date: Apr 2003
Posts: 18
Does anyone know how can i fix this

WARNING: No InputSamplerate defined, assuming 44100
WARNING: No InputChannels defined, assuming 2!

everything works but i see the above error in logs and about after 1 hour sc_trans_linux gets disconnected

thanks
dnetwork is offline   Reply With Quote
Old 21st April 2003, 20:22   #13
jjudge
Junior Member
 
Join Date: Apr 2003
Posts: 3
Not sure why you get disconnected after an hour, but you are seeing those warning messages because you need to specify variables for Bitrate, SampleRate and Channels in the sc_trans.conf file.

Before you post any more questions, I recommend that you read through documentation and conf files comments and first try to solve these problems on your own. The above directions on creating a playlist were taken from the sc_trans.conf file comments.
jjudge 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