![]() |
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 |
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 |
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 :) |
try setting log file to /dev/null
|
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 :D ) Oh, before I forget: Listen to www.radio-network.de/listen.pls ! :) |
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 =)
|
WHOOPS!
Hah, your system turned your filesystem read-only... sounds like its time to run fsck! haha :D .
|
| All times are GMT. The time now is 15:19. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.