This is on debian Lenny, a cousin to Ubuntu 10.4:
Code:
--------------------
    ps auxn |grep squeeze
  108  1571  0.0  0.1   9076   500 ?        S    Oct03   0:00 /bin/bash 
/usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir 
/var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir 
/var/lib/squeezeboxserver/cache --charset=utf8
  108  1580  0.4 43.2 261740 161592 ?       S    Oct03  14:10 /usr/bin/perl -w 
/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir 
/var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache 
--charset=utf8
  108  1659  0.0  7.2 133580 26952 ?        Sl   Oct03   1:28 /usr/sbin/mysqld 
--defaults-file=/var/lib/squeezeboxserver/cache/my.cnf
  1000  5390  0.0  0.2   7544   824 pts/1    S+   22:21   0:00 grep squeeze
--------------------

You see the bash script launcher, the perl squeezebox process, the
mysql process, and the grep command that caught itself in the filter.
=> You are missing the perl and mysql process. Why is that ?

I guess you could look at the logs in /var/log/squeezeboxserver/ or
maybe /var/log/syslog. (as root.) You can for example "sudo tail -300
/var/log/syslog | less" to page through the 300 last lines of the sytem
log. Use up/down arrows, pg up/pg down, space to page full screens and
hit q to quit "less". You can do that right after "sudo
/etc/init.d/squeezeboxserver restart" to have fresh traces.

It could be your /var/lib/squeezeboxserver/prefs/server.prefs file gone
bad because the drive filled-up. I *think* a corrupted prefs file can
kill the server right away, no traces at all.

But I think the simplest procedure would be to reinstall (keeping the
prefs):
- run "df -h" and it must show there is free space on the drive
- reboot and see if the server works
- if it doesn't, try a reinstall "sudo aptitude reinstall
squeezeboxserver"
- then "sudo /etc/init.d/squeezeboxserver restart" (or stop then
start) and if it still doesn't work, try reinstalling all the packages
squeezeboxserver depends on.
This is what I get on my machine (info will be a bit different on
yours):
Code:
--------------------
    dpkg --status squeezeboxserver
  
  Package: squeezeboxserver
  Status: install ok installed
  Priority: optional
  Section: sound
  Installed-Size: 93200
  Maintainer: Logitech/Slim Devices <[email protected]>
  Architecture: all
  Version: 7.4.2
  Replaces: slimp3, slimserver, squeezecenter
  Depends: perl (>= 5.8.8), mysql-server-4.1 | mysql-server-5.0 | 
mysql-server-5.1, libmysqlclient14-dev | libmysqlclient15-dev | 
libmysqlclient16-dev, mysql-client-4.1 | mysql-client-5.0 | mysql-client-5.1, 
adduser
  Conflicts: slimp3, slimserver, squeezecenter
  Conffiles:
  /etc/squeezeboxserver/modules.conf e20db069ed2f34ec1947c47f57f36c36
  /etc/squeezeboxserver/slimservice-convert.conf 
32a8c6709f238edffb043044a9f2138a
  /etc/squeezeboxserver/types.conf a145712d80542c4e62a5a2c73a4dd838
  /etc/squeezeboxserver/convert.conf 7fced944ce457beace48faf04129d5ec
  /etc/default/squeezeboxserver 7ea65cdca95e099254890d9b85ae585c
  /etc/logrotate.d/squeezeboxserver 43699eb94a005d2525f32ebfd78e85ce
  /etc/init.d/squeezeboxserver 9e118783aad349b0b18b102bd8b6dffb
  Description: Streaming Audio Server
  Squeezebox Server is a cross-platform streaming server that supports a wide 
range
  of formats, including AAC, AIFF, FLAC, Ogg Vorbis, MP3, WAV, and WMA.
  .
--------------------

So from the Depends: line, I'd try "sudo aptitude reinstall
mysql-client-5.1 mysql-server-5.1" and see what happens after that.
Then perhaps the libmysql16-dev package, or perl ??

Good luck.


-- 
epoch1970

Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) •
SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu,
SaverSwitcher by Peter Watkins • Server Power Control by Gordon Harris
•  WeatherTime by Martin Rehfeld • IRBlaster by Gwendesign (Felix) •
FindArt, CDplayer by bpa • BBC iPlayer, SwitchPlayer by Triode •
PowerSave by Jason Holtzapple • TrackStat by Erland Isaksson.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=82338

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

Reply via email to