|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2003
Posts: 33
|
Segmentation fault FOUND!
Hi, if you try to start shoutcast on a read-only filesystem, it'll crash:
******************************************************************************* ** SHOUTcast Distributed Network Audio Server ** Copyright (C) 1998-2000 Nullsoft, Inc. All Rights Reserved. ** Use "sc_serv filename.ini" to specify an ini file. ******************************************************************************* Event log: <03/12/03@07:10:14> [SHOUTcast] DNAS/Linux v1.9.2 (Nov 25 2002) starting up... <03/12/03@07:10:14> [main] pid: 727 <03/12/03@07:10:14> [main] loaded config from sc_serv.conf <03/12/03@07:10:14> [main] initializing (usermax:490 portbase:8888)... <03/12/03@07:10:14> [main] No ban file found (sc_serv.ban) <03/12/03@07:10:14> [main] No rip file found (sc_serv.rip) <03/12/03@07:10:14> [main] relay thread starting <03/12/03@07:10:14> [source] creating relay socket <03/12/03@07:10:14> [source] resolving relay host <03/12/03@07:10:14> [main] opening client socket <03/12/03@07:10:14> [main] Client Stream thread [0] starting <03/12/03@07:10:14> [main] client main thread starting <03/12/03@07:10:19> [source] relay host gave success (ICY 200 OK) <03/12/03@07:10:19> [source] relay from xxxxxxxxxx.de established. <03/12/03@07:10:19> [source] icy-name:[:: Radio #xxxxxxxxxx:: On air mit der xxxxxxxxxxxxx powered by xxxxxxxxxxxxxxx ::] ; icy-genre:Partyfeeling<03/12/03@07:10:19> [source] icy-pub:1 ; icy-br:56 ; icy-url:www.xxxxxxxxxxxxxxxxxx.de <03/12/03@07:10:19> [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A Segmentation fault |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Apr 2000
Posts: 4,491
|
It has to do with the log files it is trying to write to. Disable the logs in sc_serv.conf and see if it still seg faults.
Tom |
|
|
|
|
|
#3 |
|
Major Dude
|
yea this has been posted a few times.
the DNAS does do a segmentation fault if it cant write to its logs. this means it will do it if u run shoutcast as a user that doesn't have write permission to the log files, OR, the file system is read only just disable logging and wolla
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Mar 2002
Location: g
Posts: 1,603
|
try setting log file to /dev/null
BB 192k Mp3 HIGH DEFINITION | BB 24k Mp3 | BB 20k WMA | BB Community __________________________ My Host - Fast-Serv.com | Free Shoutcast Hosting - Coming Soon... |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jan 2003
Posts: 33
|
You are funny guys
![]() If the filesystem is READ ONLY - you CANT CHANGE THE CONFIG FILE!! )That was my problem! I set up shoutcast (with rw permissions) and logfiles were ON! Then, the OS did set the filesystem to READ-ONLY - that means, no more logfiles! But I ALSO can't change the config-file. However, I was wondering a lot, because I learn @ study to handle these errors directly... (what I don't learn is to write correct english )Oh, before I forget: Listen to www.radio-network.de/listen.pls !
|
|
|
|
|
|
#6 |
|
Major Dude
Join Date: Mar 2002
Location: g
Posts: 1,603
|
i havent had seg faults when log file permissions don't allow writing. it simply doesnt log, but works perfectly otherwise. looks like your problem is not the DNAS is is your dying server =)
BB 192k Mp3 HIGH DEFINITION | BB 24k Mp3 | BB 20k WMA | BB Community __________________________ My Host - Fast-Serv.com | Free Shoutcast Hosting - Coming Soon... |
|
|
|
|
|
#7 |
|
Senior Member
|
WHOOPS!
Hah, your system turned your filesystem read-only... sounds like its time to run fsck! haha
.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|