I invite all people with troubles getting started the script at start-up to read CAREFULLY this HOW-TO on update-rc.d command (for Ubuntu and Debian):
http://www.debuntu.org/how-to-manage-services-with-update-rc.d
I have managed to run the command without an error.
However the media server is not found (presumably not started) unless i log into Ubuntu and start the script either directly or using the following command
'sudo /etc/init.d/PS3MediaServer start'
start-stop-daemon --stop --signal 2 --retry 5 --quiet --name java start-stop-daemon --stop --signal 15 --retry 5 --quiet --name javabombino wrote:Also, my PMS.conf isn't being loaded when using the daemon PMS.sh, not sure how to add this back in. Any help would be greatly appreciated.
[EDIT: this is still an issue for me, would someone please let me know how to point the daemon at the PMS.conf file?]
mushroomblue wrote:bombino wrote:Also, my PMS.conf isn't being loaded when using the daemon PMS.sh, not sure how to add this back in. Any help would be greatly appreciated.
[EDIT: this is still an issue for me, would someone please let me know how to point the daemon at the PMS.conf file?]
what I did was log in as the user who runs PMS.sh, and run it from that directory, in my case /opt/pms/.
according to the script, it's only going to look in the current directory. the PS3MediaServer script cd's to that directory first, then runs the script.
alternatively, you can take your existing PMS.conf, and database/ directory, and copy them to where pms is located.
hope this helps.
[main] TRACE 15:43:56.716 Scanning network interface lo / lo
[main] TRACE 15:43:56.726 Using localhost address
[main] TRACE 15:43:56.727 [b]Created socket: 0.0.0.0/0.0.0.0:5001[/b]
[Thread-1] TRACE 15:43:56.940 Starting DLNA Server on host 127.0.1.1 and port 5001...
[main] TRACE 15:43:57.025 Sending ALIVE...
[main] TRACE 15:43:57.028 Unable to retrieve MAC address for UUID creation: using a random one...
[main] TRACE 15:43:57.174 Using following UUID: fe63124b-83d5-4a14-8a85-287bec4743fe
[main] TRACE 15:44:05.023 It's ready! You should see the server appears on XMB
[main] TRACE 15:43:56.716 Scanning network interface eth0 / eth0
[main] TRACE 15:43:56.726 Using address /192.168.1.100 found on network interface: name:eth0 (eth0) index: 2 addresses: /192.168.1.100;
[main] TRACE 15:43:56.727 [b]Created socket: /192.168.1.100:5001[/b]
[Thread-1] TRACE 15:43:56.940 Starting DLNA Server on host 192.168.1.100 and port 5001...
[main] TRACE 15:43:57.025 Sending ALIVE...
[main] TRACE 15:43:57.174 Using following UUID: f1ba2f3e-8c20-317a-a5fb-de483e6dbff0
[main] TRACE 15:44:05.023 It's ready! You should see the server appears on XMB
Return to Linux Specific Support
Users browsing this forum: Bing [Bot] and 4 guests