Hi,
I've run into some trouble here and can't figure out how to solve it.
Brief overview of events:
-I had LMS version v7.9.0, 0.126.20160422git1461319207 running on a Fedora 23 box.
-The media files were nfs mounted from another machine serving as a NAS.
-Power supply of NAS crashed.
-Initially LMS kept running and as I was only running some radio stations on several raspberries running Max2play, I didn't realize the trouble ahead.
-At one point in time (I don't know what really happened) I couldn't connect anymore to the web interface.
-It was then that I realized the nfs mounts were gone. Since the power supply replacement was going to take some time, I decided to modify the server.prefs and let the media directory point to another (empty) directory on the on the F23 box, thinking that would be enough for the server to start and let me listen to some radio stations.
-Restarted the squeezebox.service but could not connect to the web interface. (firewall disabled)
lsof -Pnl +M -i4 gives the following:
nmap -n gives:
As one can see, there is no listener op port 9000 (which is definitely open since the firewall is disabled).
What is there on port 1900? Note that this is a machine with two network interfaces which are bonded.
I then tried to turn on debug logging but only found some outdated doc on how to do this. Reading through the forum I found out that now there is a --debug argument which needs to be followed by a category, but these categories are nowhere to be found if you don't have a running LMS...
I modified the squeezboxserver service file to the following:
but that didn't do much.
Running systemctl stop squeezeboxserver.service takes a very long time, and I usually end up killing the squeezeboxserver processes instead...
This is the output of systemctl status squeezeboxserver.service:
Any pointers on how to proceed are welcome...
Thanks.
I've run into some trouble here and can't figure out how to solve it.
Brief overview of events:
-I had LMS version v7.9.0, 0.126.20160422git1461319207 running on a Fedora 23 box.
-The media files were nfs mounted from another machine serving as a NAS.
-Power supply of NAS crashed.
-Initially LMS kept running and as I was only running some radio stations on several raspberries running Max2play, I didn't realize the trouble ahead.
-At one point in time (I don't know what really happened) I couldn't connect anymore to the web interface.
-It was then that I realized the nfs mounts were gone. Since the power supply replacement was going to take some time, I decided to modify the server.prefs and let the media directory point to another (empty) directory on the on the F23 box, thinking that would be enough for the server to start and let me listen to some radio stations.
-Restarted the squeezebox.service but could not connect to the web interface. (firewall disabled)
lsof -Pnl +M -i4 gives the following:
Code:
squeezebo 12353 986 7u IPv4 41454519 0t0 UDP *:3483
squeezebo 12353 986 8u IPv4 41454520 0t0 TCP *:3483 (LISTEN)
squeezebo 12353 986 22u IPv4 41455554 0t0 TCP *:9090 (LISTEN)
squeezebo 12353 986 24u IPv4 41455555 0t0 UDP *:41524
squeezebo 12353 986 27u IPv4 41455571 0t0 UDP 192.168.0.178:1900
squeezebo 12353 986 28u IPv4 41455572 0t0 UDP 192.168.0.251:1900
squeezebo 12353 986 29u IPv4 41455573 0t0 UDP *:1900
squeezebo 12353 986 30u IPv4 41455574 0t0 TCP *:41101 (LISTEN)
squeeze2u 12390 986 3u IPv4 41454522 0t0 TCP *:49152 (LISTEN)
squeeze2u 12390 986 4u IPv4 41454523 0t0 UDP 127.0.0.1:56617
squeeze2u 12390 986 5u IPv4 41454524 0t0 UDP *:56441
squeeze2u 12390 986 6u IPv4 41454525 0t0 UDP *:1900
squeeze2u 12390 986 8u IPv4 41455768 0t0 UDP *:57295
squeeze2u 12390 986 10u IPv4 41455981 0t0 UDP *:58766
squeeze2u 12390 986 14u IPv4 41456061 0t0 UDP *:48999
Code:
Host is up (0.00039s latency).
Not shown: 992 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
443/tcp open https
3306/tcp open mysql
5901/tcp open vnc-1
9090/tcp open zeus-admin
49152/tcp open unknown
What is there on port 1900? Note that this is a machine with two network interfaces which are bonded.
I then tried to turn on debug logging but only found some outdated doc on how to do this. Reading through the forum I found out that now there is a --debug argument which needs to be followed by a category, but these categories are nowhere to be found if you don't have a running LMS...
I modified the squeezboxserver service file to the following:
Code:
SQUEEZEBOX_USER="squeezeboxserver"
SQUEEZEBOX_HOME="/usr/libexec"
SQUEEZEBOX_CFG_DIR="/var/lib/squeezeboxserver/prefs"
SQUEEZEBOX_LOG_DIR="/var/log/squeezeboxserver"
SQUEEZEBOX_CACHE_DIR="/var/lib/squeezeboxserver/cache"
SQUEEZEBOX_CHARSET="utf8"
SQUEEZEBOX_PID_FILE="/var/run/squeezeboxserver/squeezeboxserver.pid"
SQUEEZEBOX_OPTIONS="--localfile --logfile=syslog --logging=all --debug server.plugins=DEBUG"
Running systemctl stop squeezeboxserver.service takes a very long time, and I usually end up killing the squeezeboxserver processes instead...
This is the output of systemctl status squeezeboxserver.service:
Code:
● squeezeboxserver.service - SqueezeboxServer Daemon
Loaded: loaded (/usr/lib/systemd/system/squeezeboxserver.service; enabled; vendor preset: disabled)
Active: active (running) since za 2017-02-25 13:53:04 CET; 45min ago
Main PID: 12353 (squeezeboxserve)
CGroup: /system.slice/squeezeboxserver.service
├─12353 /usr/bin/perl /usr/libexec/squeezeboxserver --pidfile=/var/run/squeezeboxserver/squeezeboxserver.pid --cachedir=/var/lib/squeezeboxserver/cache --prefsdir=/var/lib/squeezeboxserver/prefs --logdir=/var/log/squeezeboxserver --charset=utf8 --localfile --logfile=syslog --logging=all --debug server.plugins=DEBUG
└─12390 /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/upnpbridge.xml
feb 25 13:53:04 frodo systemd[1]: Starting SqueezeboxServer Daemon...
feb 25 13:53:05 frodo squeezeboxserver[12353]: [17-02-25 13:53:05.3271] main::init (384) Starting Logitech Media Server (v7.9.0, 0.126.20160422git1461319207, Fri Apr 22 18:01:34 BST 2016) perl 5.022002 - x86_64-linux-thread-multi
feb 25 13:53:05 frodo squeezeboxserver[12353]: [13:53:05.533891] main:1571 Starting squeeze2upnp version: v0.2.10.0 (Nov 23 2016 @ 22:53:30)
feb 25 13:53:05 frodo squeezeboxserver[12353]: [13:53:05.586263] uPNPInitialize:1145 uPNP init success - 192.168.0.178:49152
feb 25 13:53:20 frodo squeezeboxserver[12353]: [13:53:20.024205] AddMRDevice:1277 [0x6a7740]: adding renderer (Denon AVR-X2200W_VDP)
feb 25 13:53:20 frodo squeezeboxserver[12353]: [13:53:20.047583] sq_run_device:1208 Buffer path /tmp
feb 25 13:53:50 frodo squeezeboxserver[12353]: [13:53:50.005511] AddMRDevice:1277 [0x6a9520]: adding renderer (VDP-Kodi)
feb 25 13:53:50 frodo squeezeboxserver[12353]: [13:53:50.018064] sq_run_device:1208 Buffer path /tmp
feb 25 13:54:20 frodo squeezeboxserver[12353]: [13:54:20.053407] AddMRDevice:1277 [0x6ab300]: adding renderer (Denon AVR-X2200W_GLV)
feb 25 13:54:20 frodo squeezeboxserver[12353]: [13:54:20.066351] sq_run_device:1208 Buffer path /tmp
Thanks.