Hi everyone I could use some expert advice. Running 2 qnaps in our environment one ts870pro and a ts470pro with plex Version 1.9.4.4325 running on both. For about a week now (noticed shortly after the recent plex update) the ts870 plex web address/url times out with a standard web address not found error. When i ssh into the NAS the plex service is stopped, i restart the service and received the following error message:
[~] # /etc/init.d/plex.sh start
Starting Plex Media Server…
[~] # Error: Unable to set up server: listen: Address already in use (N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEE
Next step, i looked for the port that’s in use:
[~] # lsof -i :32400
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python 7453 admin 5u IPv4 36577766 0t0 TCP QNAP870NAS:57136->QNAP870NAS:32400 (ESTABLISHED)
Plex 30379 admin 59u IPv4 163595 0t0 TCP *:32400 (LISTEN)
Plex 30379 admin 62u IPv4 4031296 0t0 TCP QNAP870NAS:32400->192.168.0.101:56899 (ESTABLISHED)
Plex 30379 admin 63u IPv4 21416665 0t0 TCP QNAP870NAS:32400->192.168.0.101:56861 (ESTABLISHED)
Plex 30379 admin 68u IPv4 4019367 0t0 TCP QNAP870NAS:32400->192.168.0.101:56788 (ESTABLISHED)
Plex 30379 admin 91u IPv4 20548013 0t0 TCP QNAP870NAS:32400->192.168.0.101:50851 (CLOSE_WAIT)
Plex 30379 admin 102u IPv4 180914 0t0 TCP QNAP870NAS:32400->192.168.0.101:54974 (ESTABLISHED)
Plex 30379 admin 110u IPv4 2412109 0t0 TCP QNAP870NAS:32400->192.168.0.101:65053 (ESTABLISHED)
Plex 30379 admin 111u IPv4 213275 0t0 TCP QNAP870NAS:32400->192.168.0.101:55131 (ESTABLISHED)
The only way i can restart the plex services is by killing the associated PID, in this case
[~] # kill -9 30379
The internal ports on both systems are set to 32400 with dynamic externals, both NAS devices have been running Plex “rock solid” for several years. I’m hoping someone can point me in the right direction so I can get this mess resolved.
Any assistance is appreciated.