View Single Post
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