Old 12th November 2013, 13:48   #1
hotrockdev
Junior Member
 
Join Date: Nov 2013
Posts: 2
GET /admin.cgi?pass=djuser' not found.

Greetings,

I'm attempting to connect Nicecast to sc_trans as a DJ.

For whatever reason as soon as Nicecast makes a connection to the server I receive these error messages

-------------------
msg:[DJMGR] DJ `GET /admin.cgi?pass=djuser' requesting run permission
2013-11-12 14:37:37 D msg:[DJMGR] DJ `GET /admin.cgi?pass=djuser' not found. Run permission denied.
2013-11-12 14:37:37 W msg:[DJPROTOCOLSHOUTCAST] Login denied from GET /admin.cgi?pass=djuser:XXXX&mode=updinfo&song=Billy%20Joel%20-%20My%20Life&url=http://hrdtest.hotrocketdevelopment.com/seradio HTTP/1.1
2013-11-12 14:37:37 D msg:[DJPROTOCOLSHOUTCAST] State SENDREPLY
2013-11-12 14:37:37 D msg:[DJPROTOCOLSHOUTCAST] State KILL
2013-11-12 14:37:37 D msg:[DJPROTOCOLSHOUTCAST] State KILL
-------------------


I do not believe it's the user which is not found as I also have this entry in the log file after starting sc_trans

msg:[DJMGR] DJ `djuser' enabled. Archive flag is false

Here is the sc_trans config

-----------------------
[eric@hrdtest shoutcast]$ cat my_sc_trans_dj.conf
;Transcoder configuration file
;Made with the SHOUTcast 2 Configuration Builder

streamtitle=HRD Test Server
streamurl=http://hrdtest.hotrocketdevelopment.com/seradio
genre=Talk
;inheritconfig=/usr/local/www/apache22/data/freelance/seradio/shoutcast/my_sc_serv.conf
logfile=/var/www/html/seradio/shoutcast/sc_trans.log
;playlistfile=/var/www/html/seradio/shoutcast/playlists/playlist.lst
shuffle=0
calendarrewrite=1
encoder_1=mp3
bitrate_1=56000

outprotocol_1=3
serverip_1=127.0.0.1
; default is 8000, if not change to sc_serv's 'portbase'
serverport_1=8000
password_1=*****
; this is the same as 'streamid' in sc_serv_basic.conf for
; the stream we are acting as the source for
streamid_1=1
; this is a name for the source we're creating and is used
; with the AJAX control api or can be left blank to get a
; generic name created in the form of 'endpointX' where 'X'
; is the index of the created source from sc_trans lists.
endpointname_1=/seradio



; here we enable support for a SHOUTcast 1 or SHOUTcast 2
; source as the DJ input though bear in mind the port usage
; as detailed in sc_trans.txt - section 3.0.3
djport=8500
djport2=8505
; NOTE: remember to change this to something else if needed
djlogin_1=djuser
; NOTE: remember to change this to something else
djpassword_1=*****
; NOTE: remember to change this to something else if you do
; setup multiple DJ's into the system as well as with
; updating your calendar.xml to allow access for them
djpriority_1=1

djdebug=1
djcapture=0

; this is needed otherwise sc_trans will not allow DJ joins
; to be allowed to connect to the sc_trans instance.
calendarfile=calendar/dj_calendar.xml


adminport=5000
adminuser=admin
adminpassword=*****


-------------------

Here is the calendar file

<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
<event type="dj">
<dj archive="0">djuser</dj>
<calendar starttime="00:00:00"/>
</event>
</eventlist>



There is no issue streaming MP3 files to sc_serv, so I believe that is configured correctly. I'm just having a difficult time connecting Nicecast to sc_trans. Any help would be greatly appreciated.

Thank you!

Eric
hotrockdev is offline   Reply With Quote
Old 12th November 2013, 17:36   #2
hotrockdev
Junior Member
 
Join Date: Nov 2013
Posts: 2
DJ `GET /admin.cgi?pass=dj' not found

Hello!

I seem to be getting a weird error and am wondering if anyone would be able to lend me an assist.

I'm trying to connect to sc_trans from Nicecast and believe I have everything correct, however upon making the connection from Nicecast I get the following errors


msg:[DECODE] Playlist is empty
2013-11-12 12:31:18 D msg:[DJMGR] DJ `dj' enabled. Archive flag is false
2013-11-12 12:31:19 D msg:[DJPROTOCOLSHOUTCAST] State EMPTY
2013-11-12 12:31:19 D msg:[DJPROTOCOLSHOUTCAST] State NEEDPASS
2013-11-12 12:31:19 D msg:[DJPROTOCOLSHOUTCAST] State CHECKPASS
2013-11-12 12:31:19 D msg:[DJMGR] DJ `GET /admin.cgi?pass=dj' requesting run permission
2013-11-12 12:31:19 D msg:[DJMGR] DJ `GET /admin.cgi?pass=dj' not found. Run permission denied.
2013-11-12 12:34:12 W msg:[DJPROTOCOLSHOUTCAST] Login denied from GET /admin.cgi?pass=dj:noise&mode=updinfo&song=Steven%20Curtis%20Chapman%20-%2011-6-64&url=http://seradio.local HTTP/1.1
2013-11-12 12:31:19 D msg:[DJPROTOCOLSHOUTCAST] State SENDREPLY
2013-11-12 12:31:20 D msg:[DJPROTOCOLSHOUTCAST] State KILL
2013-11-12 12:31:20 D msg:[DJPROTOCOLSHOUTCAST] State KILL




Also attached is the sc_trans.conf file

Transcoder configuration file
;Made with the SHOUTcast 2 Configuration Builder

streamtitle=HRD Test Server
streamurl=http://seradio.local
genre=Talk
;inheritconfig=/usr/local/www/apache22/data/freelance/seradio/shoutcast/my_sc_serv.conf
logfile=/usr/local/www/apache22/data/freelance/seradio/shoutcast/sc_trans.log
;playlistfile=/usr/local/www/apache22/data/freelance/seradio/shoutcast/playlists/playlist.lst
shuffle=0
calendarrewrite=1
encoder_1=mp3
bitrate_1=56000

outprotocol_1=3
serverip_1=127.0.0.1
; default is 8000, if not change to sc_serv's 'portbase'
serverport_1=8000
password_1=hrd3112
; this is the same as 'streamid' in sc_serv_basic.conf for
; the stream we are acting as the source for
streamid_1=1
; this is a name for the source we're creating and is used
; with the AJAX control api or can be left blank to get a
; generic name created in the form of 'endpointX' where 'X'
; is the index of the created source from sc_trans lists.
endpointname_1=/seradio

; here we enable support for a SHOUTcast 1 or SHOUTcast 2
; source as the DJ input though bear in mind the port usage
; as detailed in sc_trans.txt - section 3.0.3
djport=8500
djport2=8505
; NOTE: remember to change this to something else if needed
djlogin_1=dj
; NOTE: remember to change this to something else
djpassword_1=noise
; NOTE: remember to change this to something else if you do
; setup multiple DJ's into the system as well as with
; updating your calendar.xml to allow access for them
djpriority_1=1
djdebug=1

; this is needed otherwise sc_trans will not allow DJ joins
; to be allowed to connect to the sc_trans instance.
calendarfile=calendar/dj_calendar.xml


Thank you!
hotrockdev is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Tags
djs, nicecast, sc_trans

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