Old 29th October 2005, 21:35   #1
gapresse
Junior Member
 
Join Date: Oct 2005
Location: Canada
Posts: 2
segfaulting after a minute

This is the start of a long debugging process I think...

The problem is that my server is segfaulting after some time. Longest time so far is 4:31, I'm hoping to break the 5 minute mark one day.

Running this on a fresh Slackware 10.2 installation.
It was running fine with default config file. My setup needs multiple config files for multiple servers. So I load the global config and then set the password, portbase and unique identifier in the config file:
code:
~ $ cat /configs/conf.alex
; Load global settings first
Include=/home/radio/configs/global.conf

; Unique identifier, used by the global.conf file
Unique=alex

; Password - Required to broadcast and for web admin
; CANNOT BE BLANK!
; For this site, each DJ gets their own password, web admin
; password is set in global.conf
Password=shoutpass

; PortBase - The port to listen on.
; This sets up 2 ports, n and n+1 for listening.
; I'll be using 2000 and higher
PortBase=2000



I call it like this: sc_serv ./configs/conf.alex

The only thing I've changed in the global config is logfile paths, adminpassword, and maxuser (512)

Why does it play for a couple of minutes and then decide to segfault rather than segfault immediatly?

--edit: paths to config files

Last edited by gapresse; 29th October 2005 at 22:00.
gapresse is offline   Reply With Quote
Old 29th October 2005, 22:06   #2
gapresse
Junior Member
 
Join Date: Oct 2005
Location: Canada
Posts: 2
Ok, I moved the config files to the home directory.
Now it doesnt segfault until the DNAS connects
code:

<10/29/05@18:02:08> [source] listening for connection on port 2001
<10/29/05@18:02:08> [main] client main thread starting
<10/29/05@18:02:20> [source] connected from 192.168.0.3
<10/29/05@18:02:20> [source] icy-name:Fleming Radio - Experience Music ; icy-genre:everything
<10/29/05@18:02:20> [source] icy-pub:0 ; icy-br:128 ; icy-url:
<10/29/05@18:02:20> [source] icy-irc: ; icy-icq: ; icy-aim:
Segmentation fault



This is weird..
gapresse is offline   Reply With Quote
Old 30th October 2005, 08:54   #3
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
this sounds like a ownership problem of the logfiles, perhaps you started the server as root first time ? and now are a different user ?

delete the log files ( as root ), change to the user you are running the server as, try again.

BW

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

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