-
Notifications
You must be signed in to change notification settings - Fork 8
Description
On FreeBSD, there seems to be a problem shutting down pDLNA. The following error message will occur:
[root@mediaserver ~]# /etc/rc.d/rc.pDLNA start
Starting pDLNA ...
[root@mediaserver ~]# /etc/rc.d/rc.pDLNA stop
[root@mediaserver ~]# /etc/rc.d/rc.pDLNA start
Starting pDLNA ...
[root@mediaserver ~]# Cannot bind to Multicast socket: Address already in use
Going to terminate pDLNA/v0.63.0b on freebsd/9.0-release with FriendlyName 'pDLNA v0.63.0b on mediaserver' ...
At the moment there is a workaround for this problem. Just geht es listing of the processes, kill the pDLNA process, remove the PID file (if any) and use the initscript afterwards again to start pDLNA:
[root@mediaserver ~]# ps
PID TT STAT TIME COMMAND
1354 v0 Is 0:00.04 login pam
1355 v1 Is+ 0:00.00 /usr/libexec/getty Pc ttyv1
1356 v2 Is+ 0:00.00 /usr/libexec/getty Pc ttyv2
1357 v3 Is+ 0:00.00 /usr/libexec/getty Pc ttyv3
1358 v4 Is+ 0:00.00 /usr/libexec/getty Pc ttyv4
1359 v5 Is+ 0:00.00 /usr/libexec/getty Pc ttyv5
1360 v6 Is+ 0:00.00 /usr/libexec/getty Pc ttyv6
1361 v7 Is+ 0:00.00 /usr/libexec/getty Pc ttyv7
1411 0 Ss 0:00.14 -bash (bash)
2246 0 S 0:01.60 /usr/bin/perl ./pDLNA.pl -f /etc/pdlna.conf (perl5.12.4)
2264 0 R+ 0:00.01 ps
[root@mediaserver ~]# kill -9 2246
[root@mediaserver ~]# rm /var/run/pdlna.pid
[root@mediaserver ~]# /etc/rc.d/rc.pDLNA start
Starting pDLNA ...