It seems the problem was caused by the fact that I had not given the
slimserver user write permission the log file.  As slimserver starts as
root, then changes to the slimserver user, it was initially able to
write to the log file then later found it couldn't - leading to much
confusion.  Not strictly a bug in slimserver, but better handling of
the situation would lead to less confused people.  :-)

Max

kdf;168450 Wrote: 
> Quoting "max.spicer"  
> <max.spicer.2k3ehz1168261202 (AT) no-mx (DOT) forums.slimdevices.com>:
> 
> >> [22:32:59.0218] Slim::bootstrap::theEND (338) Got to the END
> >> eden:/usr/local/slimserver# Can't call method "log" on an undefined
> >> value at /usr/local/slimserver/CPAN/Log/Log4perl/Appender.pm line
> 189.
> >> Can't call method "log" on an undefined value at
> >> /usr/local/slimserver/CPAN/Log/Log4perl/Appender.pm line 189.
> 
> clearly something wrong with the logging initialisation.  However, as 
> 
> it's in a CPAN module, it's hard to know what is leading into that  
> point.  You'd have to add a Slim::Utils::Misc::bt() unless defined  
> $self->{'appender'} before that line in order to work back to the line 
> 
> in slimserver that is causing the problem.
> 
> maybe something in the init.d that is adding bad debug/logfile prefs?  
> 
> svn up doesn't handle the init.d, /etc/defaults or prefs file.  In the 
> 
> init.d/slimserver, for example there was a --logfile command option,  
> which needs to change. It's now:
> 
> --logdir $LOGDIR \
> 
> and at the top of the file:
> 
> $LOGDIR = /var/log/$NAME  (where $NAME = slimserver)
> 
> -kdf (better late than never I guess)


-- 
max.spicer

What do we want?  Smoother Analog VU with FLAC!
When do we want it?  At the soonest possible convenience to the
hard-working yet undervalued Slim Developers.  ;-)
------------------------------------------------------------------------
max.spicer's Profile: http://forums.slimdevices.com/member.php?userid=23
View this thread: http://forums.slimdevices.com/showthread.php?t=31376

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to