PS3, No Media Servers

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

PS3, No Media Servers

Postby drewian » Sun Feb 01, 2009 2:25 pm

Hi All.
I've trawled these forums and I still can not figure out why the PS3 can't find a Media Server.

PMS starts fine and finds the PS3. When I search for media servers on the PS3 it will not find any. PMS does receive the request and sends out the discover message and there are no errors reported. I have looked at the debug.log and there are no 'error' or 'unexpected' messages.

I connect through a router which has UPnP enabled. I really can't figure out what may be wrong. On PMS, after it finds the PS3 the option to restart the HTTP server is not available, is this normal? When the media server does get found, where exactly does it appear, as a main menu item or a sub item?

The traces display is below, any help much appreciated!

[main] TRACE 13:07:31.702 Starting Java PS3 Media Server v1.03
[main] TRACE 13:07:31.706 by shagrath / 2008
[main] TRACE 13:07:31.711 http://ps3mediaserver.blogspot.com
[main] TRACE 13:07:31.711
[main] TRACE 13:07:31.712 Java 1.6.0_07-Sun Microsystems Inc.
[main] TRACE 13:07:31.717 OS Linux i386 2.6.24-23-generic
[main] TRACE 13:07:31.718 Encoding: UTF-8
[main] TRACE 13:07:31.774 Temp folder: /tmp/javaps3media
[main] TRACE 13:07:34.899 Registering transcoding engine FFmpeg Audio
[main] TRACE 13:07:34.929 Registering transcoding engine MEncoder
[main] TRACE 13:07:34.931 Registering transcoding engine MPlayer Audio
[main] TRACE 13:07:34.934 Registering transcoding engine MEncoder Web
[main] TRACE 13:07:34.939 Registering transcoding engine MPlayer Video Dump
[main] TRACE 13:07:34.941 Registering transcoding engine MPlayer Web
[main] TRACE 13:07:34.946 Registering transcoding engine TsMuxer
[main] TRACE 13:07:34.953 Registering transcoding engine Audio High Fidelity
[main] TRACE 13:07:34.955 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 13:07:34.956 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 13:07:35.204 Scanning network interface eth0 / eth0
[main] TRACE 13:07:35.206 Using address /192.168.1.65 found on network interface: name:eth0 (eth0) index: 2 addresses: /192.168.1.65;
[main] TRACE 13:07:35.207 Created socket: /192.168.1.65:5001
[Thread-12] TRACE 13:07:35.227 Starting DLNA Server on host 192.168.1.65 and port 5001...
[main] TRACE 13:07:35.307 Using following UUID: 59382a92-3cf6-3dd9-91d6-7f658a4a4ca6
[main] TRACE 13:07:35.886 It's ready! You should see the server appears on XMB
[Thread-12] TRACE 13:07:37.106 Receiving a request from: 192.168.1.66
[Thread-16] TRACE 13:08:57.726 Receiving search request from 192.168.1.66! Sending DISCOVER message...
drewian
 
Posts: 3
Joined: Sun Feb 01, 2009 2:19 pm

Re: PS3, No Media Servers

Postby Hollywood » Sun Feb 01, 2009 5:33 pm

It will show up as a green triangle under Video or Music section on the PS3, just click on it. If it does not appear then your 5001 Port is not forwarding, you need to open it.

- Have you setup your Shared Folders under Navigation/Share Settings Tab?
- Do get 'Restart HTTP', enabled you have to go under Navigation/Share Settings Tab, then click on 'Enable Media Library'.

Hollywood
Hollywood
 
Posts: 6
Joined: Sun Feb 01, 2009 6:35 am

Re: PS3, No Media Servers

Postby drewian » Mon Feb 02, 2009 11:30 pm

Right, still not getting anywhere, the PS3 can't see any media servers.

There is a listener on port 5001 when I use the command:
netstat -an | grep "LISTEN "
I get:
tcp 0 0 192.168.1.65:501 0.0.0.0:* LISTEN
If I click "Enable Media Servers" on the "Navigation/Share" settings and then reset I get the following line in the trace:
[AWT-EventQueue-0] TRACE 22:25:54.942 Using database located at : /home/ian/database
It is my desktop directory that I am actually sharing, not a database directory?

Could this be a router issue? I have tried using port forwarding to the PS3 and the PC but it appears to make no difference, which I guess is what you would expect as it is intended for external applications.

What are the purposes of the "Reset Media Servers" and the "Restart HTTP server" commands?

I have pasted in the end of the debug log incase it means something to someone:


[Thread-16] DEBUG 22:27:57.373 Setting multicast network interface: name:eth0 (eth0) index: 2 addresses:
/192.168.1.65;

[Thread-28] DEBUG 22:27:59.063 Opened handler on socket Socket[addr=/192.168.1.66,port=52979,localport=5001]
[Thread-28] DEBUG 22:27:59.064 Received on socket: GET /description/fetch HTTP/1.1
[Thread-28] DEBUG 22:27:59.064 Received on socket: Host: 192.168.1.65:5001
[Thread-28] DEBUG 22:27:59.064 Received on socket: Date: Mon, 02 Feb 2009 22:31:07 GMT
[Thread-28] DEBUG 22:27:59.064 Received on socket: User-Agent: UPnP/1.0
[Thread-28] DEBUG 22:27:59.064 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-28] INFO 22:27:59.086 HTTP: description/fetch / 0-0
[Thread-28] DEBUG 22:27:59.087 Wrote on socket: HTTP/1.1 200 OK
[Thread-28] DEBUG 22:27:59.087 Wrote on socket: Content-Type: text/xml
[Thread-28] DEBUG 22:27:59.087 Wrote on socket: Cache-Control: no-cache
[Thread-28] DEBUG 22:27:59.087 Wrote on socket: Expires: 0
[Thread-28] DEBUG 22:27:59.087 Wrote on socket: Accept-Ranges: bytes
[Thread-28] DEBUG 22:27:59.088 Wrote on socket: Connection: keep-alive
[Thread-28] DEBUG 22:27:59.089 Wrote on socket: Server: Linux-i386-2.6.24-23-generic UPnP/1.0, PMS
[Thread-28] DEBUG 22:27:59.089 Available Content-Length: 1785
[Thread-28] DEBUG 22:27:59.089 Wrote on socket: Content-Length: 1785
[Thread-28] DEBUG 22:27:59.090 Wrote on socket:
[Thread-28] DEBUG 22:27:59.090 Sending stream: 1785 bytes of description/fetch
[Thread-28] DEBUG 22:27:59.090 Close Connection

Thanks again,

Ian
drewian
 
Posts: 3
Joined: Sun Feb 01, 2009 2:19 pm

Re: PS3, No Media Servers

Postby shagrath » Tue Feb 03, 2009 12:22 am

already saw this... ps3 has recognized the server and even fetched the description, but has stopped just after, just like that...
I don't know the reason yet

there will be some revamping of the Upnp discovery code after the 1.04 release, so let's hope that will be better supported
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: PS3, No Media Servers

Postby NikNac » Tue Feb 03, 2009 10:41 pm

I had a similar expereince when I first tried PMS on a Linux system. At the time I did not have any other encoder other than TMuxer. I installed FFmpeg and everything worked fine. Just a thought - try upgrading an encoder.
NikNac
 
Posts: 16
Joined: Mon Jan 19, 2009 5:31 am

Re: PS3, No Media Servers

Postby Hollywood » Wed Feb 04, 2009 3:55 am

Does PS3 Media Server find the PS3? Do you get a Red X or a PS3 Picture in the program? If you do then they are communicating, and this is what you need to do on the PS3 to get the Media Server icon to show up under the Video or Audio Tab in the PS3 Menu.

In the PS3
- Settings / Network Settings / Internet Connection (Enable it)
- Settings / Network Settings / Internet Connection Settings
- Easy / Proxy Server (Do Not Use) / Every protocol should be set Automatic, If you have a password make sure you enter it in correctly

Do a Test on Internet connection to make sure that the router is talking to the PS3 properly.

- Settings / Network Settings / Media Server Connection (Enable it) it's at the bottom of the list.

Load up Java Media Server PS3 and the Status screen should turn from a plug to a PS3 Picture, and if that happens then you should see a green triangle under the Audio and Video Tab in the PS3.

Make sure your permissions for Java Media Server are Admin.

Hollywood
Hollywood
 
Posts: 6
Joined: Sun Feb 01, 2009 6:35 am

Re: PS3, No Media Servers

Postby drewian » Thu Feb 05, 2009 1:52 pm

I shall go through all of your suggestions tonight, thanks. The thing is I am fairly sure that they are all correct. The Jave server finds the PS3 without any problems and the PS3 can access the interenet without problem. Media server is enabled, I will check the permissions of the java server though.

There is still the issue with the "Reset Media Server" and "Restart HTTP Server", any one know the differences?

Thanks again everyone, I will also try reinstalling the encoders, see if that makes any difference.

Cheers all.
drewian
 
Posts: 3
Joined: Sun Feb 01, 2009 2:19 pm

Re: PS3, No Media Servers

Postby Topguy » Fri Feb 06, 2009 1:09 am

drewian wrote:There is still the issue with the "Reset Media Server" and "Restart HTTP Server", any one know the differences?


It says "Reset Media Library", it just clears the media-database that speed up navigation.
Topguy
 
Posts: 219
Joined: Mon Jan 19, 2009 9:27 pm

Re: PS3, No Media Servers

Postby JohnD » Fri Feb 06, 2009 11:11 am

I had this problem too, you can find the thread on this forum. I don't know if the source of our problem is the same, but this is how I fixed it in archlinux:

In my debug.log the following error message appeared:
unexpected io error class java.net.unknownhostexception

This is an error where java cannot resolve the ip of the hostname, so you have to set that in /etc/hosts
In my case I added the line:
10.0.0.2 ginette ginette

Good luck!

JD

Edit: I now see you do not have the same error in your debug.log so this might not help you at all.
JohnD
 
Posts: 3
Joined: Thu Jan 22, 2009 8:29 pm

Re: PS3, No Media Servers

Postby fuzzmo » Wed Feb 11, 2009 1:39 am

I have exactly the same problem. PMS says it has found the PS3 but the PS3 can't see PMS!

* I have the PS3 icon saying it has found the PS3
* All PS3 settings are correct as per the post that outlined them
* Port 5001 is open and listening (both (TCP and UDP)

Here is my log:

[main] TRACE 00:31:25.598 Starting Java PS3 Media Server v1.04
[main] TRACE 00:31:25.599 by shagrath / 2008
[main] TRACE 00:31:25.600 http://ps3mediaserver.blogspot.com
[main] TRACE 00:31:25.600
[main] TRACE 00:31:25.600 Java 1.6.0_10-Sun Microsystems Inc.
[main] TRACE 00:31:25.601 OS Linux i386 2.6.27-11-generic
[main] TRACE 00:31:25.601 Encoding: UTF-8
[main] TRACE 00:31:25.606 Temp folder: /tmp/javaps3media
[main] TRACE 00:31:26.058 Registering transcoding engine FFmpeg Audio
[main] TRACE 00:31:26.072 Registering transcoding engine MEncoder
[main] TRACE 00:31:26.073 Registering transcoding engine MPlayer Audio
[main] TRACE 00:31:26.074 Registering transcoding engine MEncoder Web
[main] TRACE 00:31:26.075 Registering transcoding engine MPlayer Video Dump
[main] TRACE 00:31:26.077 Registering transcoding engine MPlayer Web
[main] TRACE 00:31:26.082 Registering transcoding engine TsMuxer
[main] TRACE 00:31:26.083 Registering transcoding engine Audio High Fidelity
[main] TRACE 00:31:26.084 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 00:31:26.084 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 00:31:26.086 Registering transcoding engine Raws Thumbnailer
[main] TRACE 00:31:26.340 Scanning network interface eth0 / eth0
[main] TRACE 00:31:26.341 Using address /192.168.1.10 found on network interface: name:eth0 (eth0) index: 2 addresses: /fe80:0:0:0:214:22ff:fef9:8c90%2; /192.168.1.10;
[main] TRACE 00:31:26.342 Created socket: /192.168.1.10:5001
[Thread-18] TRACE 00:31:26.347 Starting DLNA Server on host 192.168.1.10 and port 5001...
[main] TRACE 00:31:26.352 Using database located at : /home/fuzzmo/database
[main] TRACE 00:31:26.612 Using following UUID: 1c594b9c-860e-345b-bf28-ccfb918971e5
[main] TRACE 00:31:27.172 It's ready! You should see the server appears on XMB
[Thread-18] TRACE 00:31:28.134 Receiving a request from: 192.168.1.67
[Thread-26] TRACE 00:32:13.488 Receiving search request from 192.168.1.67! Sending DISCOVER message...

So the PS3 seems to make a request, PMS definitely sees the PS3 and sends a DISCOVER message, but for some reason PMS does not appear in XMB on the PS3? I am using version 1.04 - hope somebody can help as it is driving me nuts!

Thanks in advance.

PS to the OP - Ian - you're not using a Thompson Speedtouch (BeBox) router by any chance are you?
fuzzmo
 
Posts: 6
Joined: Wed Feb 11, 2009 1:05 am

Next

Return to Linux/Unix Support

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests