View Single Post
Old 15th June 2011, 02:27   #104
daejin4u
Junior Member
 
Join Date: Jun 2011
Posts: 5
hi~


what(): XML parser error: no element found at line 1

help me...PLZ.. ^^


ubuntu 10.04 x64 + sc_serv2_linux_x64_02_25_2011.tar.gz
XP SP3 + shoutcast-dsp-2-2-1-windows.exe

==================================================================
cast@rush79:~/prog/local/sc_serv2$ ./sc_serv
2011-06-15 11:22:46 I msg:<***> Logger startup
2011-06-15 11:22:46 I msg:<***> version 0.2.0.0 build 0.0.19.0
2011-06-15 11:22:46 D msg:<***>
2011-06-15 11:22:46 I msg:*******************************************************************************
2011-06-15 11:22:46 I msg:** SHOUTcast Distributed Network Audio Server (DNAS)
2011-06-15 11:22:46 I msg:** Copyright (C) 1999-2011 Nullsoft, Inc. All Rights Reserved.
2011-06-15 11:22:46 I msg:** Use "sc_serv filename.conf" to specify a config file.
2011-06-15 11:22:46 I msg:*******************************************************************************
2011-06-15 11:22:46 I msg:[SHOUTcast] DNAS/posix(linux x64) v 0.2.0.0 b 0.0.19.0 (Feb 25 2011) starting up...
2011-06-15 11:22:46 I msg:[MAIN] PID: 2739
2011-06-15 11:22:46 I msg:
2011-06-15 11:22:46 I msg:[CONFIG] Choose one of the detected config file(s) to load or enter `x' to abort this instance:
2011-06-15 11:22:46 I msg:[CONFIG] Note: Press `Enter' after choosing the config file desired.
2011-06-15 11:22:46 I msg:
2011-06-15 11:22:46 I msg:[CONFIG] [0] : sc_serv_basic.conf
2011-06-15 11:22:46 I msg:[CONFIG] [1] : sc_serv_simple.conf
2011-06-15 11:22:46 I msg:[CONFIG] [2] : sc_serv.conf
2011-06-15 11:22:46 I msg:[CONFIG] [3] : sc_serv_relay.conf
2011-06-15 11:22:46 I msg:[CONFIG] [4] : sc_serv_debug.conf
2011-06-15 11:22:46 I msg:[CONFIG] [5] : sc_serv_public.conf
2011-06-15 11:22:46 I msg:
2
2011-06-15 11:22:48 I msg:[MAIN] Loaded config from ./sc_serv.conf
2011-06-15 11:22:48 I msg:[MAIN] Calculated CPU count is 4
2011-06-15 11:22:48 I msg:[MAIN] Starting 4 network threads
2011-06-15 11:22:48 I msg:[MICROSERVER] Listening for connection on port 8001
2011-06-15 11:22:48 I msg:[MICROSERVER] Listening for connection on port 8000
2011-06-15 11:23:07 I msg:[SRC 10.101.10.11:4292] SHOUTcast 2 source connection.
2011-06-15 11:23:07 I msg:[SRC 10.101.10.11:4292] password accepted. Stream id is 1
2011-06-15 11:23:07 I msg:[SRC 10.101.10.11:4292 sid=1] stream configuration complete. [
type=SHOUTcast 2
mimeType=audio/mpeg
maxPayloadSize=16377
avgBitrate=128000
maxBitrate=128000
desiredBufferSize=320
minimumBufferSize=0
icyName=KPOP RUSH
icyGenre=pop
icyURL=http://rush79.com
icyPub=1
]
2011-06-15 11:23:08 I msg:[SRC 10.101.10.11:4292 sid=1] Got complete metadata message type=14594 id=77 span=1 content=
<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<TIT2>Year Mandala</TIT2>
<TPE1>Ralf Bach</TPE1>
<TENC>SHOUTcast Source DSP Plug-in v2.2.1 099</TENC>
<TRSN>KPOP RUSH</TRSN>
<WORS>http://www.shoutcast.com</WORS>
<extension>
<title seq="1">Ralf Bach - Year Mandala</title>
<title seq="2">Delerium feat Joanna Stevens - Myth</title>
<soon>Delerium feat Joanna Stevens - Myth</soon>
</extension>
</metadata>

terminate called after throwing an instance of 'std::runtime_error'
what(): XML parser error: no element found at line 1
Aborted
cast@rush79:~/prog/local/sc_serv2$
===============================================================

XML parser error: no element found at line 1


cast@rush79:~/prog/local/sc_serv2$ cat sc_serv.conf
;DNAS configuration file built with the SHOUTcast 2 Configuration Builder

password=ilove7
adminpassword=ilove77
portbase=8000
requirestreamconfigs=1
yp2=1
log=1
screenlog=1
logclients=1
logfile=sc_serv.log
w3cenable=1
w3clog=sc_w3c.log
publicserver=never
banfile=sc_serv.ban
ripfile=sc_serv.rip
riponly=0
savebanlistonexit=1
saveriplistonexit=1
maxuser=32
listenertime=0

streamid=1
streampath=/listen1

streamauthhash=12345
daejin4u is offline