NetBSD Problem Report #44023

From www@NetBSD.org  Mon Nov  1 16:38:32 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 897FF63BA08
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  1 Nov 2010 16:38:32 +0000 (UTC)
Message-Id: <20101101163832.2690F63B8CE@www.NetBSD.org>
Date: Mon,  1 Nov 2010 16:38:32 +0000 (UTC)
From: vs@nifelheim.info
Reply-To: vs@nifelheim.info
To: gnats-bugs@NetBSD.org
Subject: audio/squeezeboxserver crashes upon start
X-Send-Pr-Version: www-1.0

>Number:         44023
>Category:       pkg
>Synopsis:       audio/squeezeboxserver crashes upon start
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 01 16:40:00 +0000 2010
>Originator:     Volkmar Seifert
>Release:        NetBSD 5.1_RC4
>Organization:
>Environment:
NetBSD panther.home.nifelheim.info 5.1_RC4 NetBSD 5.1_RC4 (PANTHER 1.1) #0: Sat Oct 30 20:36:59 CEST 2010  build@panther.home.nifelheim.info:/build/work/i386/panther/obj/build/src/sys/arch/i386/compile/PANTHER i386

>Description:
After running a manually installed Squeezebox-Server for years, I finally stumbled over audio/squeezeboxserver.
I installed it today, and after worming my way through 

/var/lib/squeezeboxserver        , 
/usr/pkg/share/squeezeboxserver  , 
/usr/pkg/etc/squeezeboxserver    , and 
/var/log/squeezeboxserver        , 

with none of these locations having been mentioned or documented in any way, tried to start the squeezeboxserver.

There is neither a 

/usr/pkg/share/doc/squeezeboxserver 

nor a 

/usr/pkg/share/examples/squeezeboxserver.

Next thing I noticed was a NEWLY started mysqld-instance next to my already running one. This is very inconvenient, to put it mildly.
And then the next thing was a crash:

Can't call method "log" on an undefined value at /usr/pkg/lib/squeezeboxserver/CPAN/Log/Log4perl/Appender.pm line 189.

After this, there's no squeezeboxserver anymore. And it happens everytime, I launch the squeezeboxserver.

I have fallen back to my manually installed one, at the moment, which neither starts any new mysqld-instance, nor crashes with logging-problems, but of course, that is no solution.


>How-To-Repeat:
- install squeezeboxserver
  # cd audio/squeezeboxserver
  # make install

- copy pkg/share/examples/rc.d/squeezeboxserver to /etc/rc.d/
- edit /etc/rc.conf and add the line
  squeezeboxserver=YES
- start squeezeboxserver
  # /etc/rc.d/squeezeboxserver start

- wait. The crashing won't take long.
>Fix:
Add documentation about paths, configuration etc.
Add at least the docs provided by the original package.

How to solve the crashing-problem is unknown to me, as I have no idea what exactly causes it. It only happens in the version installed via pkgsrc, not in any version installed from the vendor.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.