PMS not functioning, with Exceptions in debug.log

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.

PMS not functioning, with Exceptions in debug.log

Postby nphase » Sun Sep 09, 2012 1:17 am

Oddly enough it has worked before, but for whatever reason now is not. See below error. I searched around before posting but only saw HeadlessException's combined with X11 errors, which I don't have below:

Code: Select all
INFO  2012-09-08 19:16:16.841 [main] Configuration error: Requested memory: 3014777
INFO  2012-09-08 19:16:17.100 [main] Exception in thread "main" java.awt.HeadlessException
INFO  2012-09-08 19:16:17.101 [main]    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
INFO  2012-09-08 19:16:17.101 [main]    at java.awt.Window.<init>(Window.java:477)
INFO  2012-09-08 19:16:17.101 [main]    at java.awt.Frame.<init>(Frame.java:419)
INFO  2012-09-08 19:16:17.101 [main]    at java.awt.Frame.<init>(Frame.java:384)
INFO  2012-09-08 19:16:17.101 [main]    at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1754)
INFO  2012-09-08 19:16:17.102 [main]    at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1831)
INFO  2012-09-08 19:16:17.102 [main]    at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1692)
INFO  2012-09-08 19:16:17.102 [main]    at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:864)
INFO  2012-09-08 19:16:17.102 [main]    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:668)
INFO  2012-09-08 19:16:17.102 [main]    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:639)
INFO  2012-09-08 19:16:17.103 [main]    at net.pms.PMS.main(PMS.java:876)


Thoughts?
nphase
 
Posts: 4
Joined: Sun Sep 09, 2012 1:15 am

Re: PMS not functioning, with Exceptions in debug.log

Postby chocolateboy » Sun Sep 09, 2012 2:48 am

chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: PMS not functioning, with Exceptions in debug.log

Postby nphase » Sun Sep 09, 2012 3:06 pm

ubuntu 12.04
ppa:happy-neko/ps3mediaserver, version 1.6 (MEncoder, i guess)
headless install

excerpt is above

Do I need anything else? ps3mediaserver is not showing up on my ps3 or lg smart tv with this exception, but it was previously.
nphase
 
Posts: 4
Joined: Sun Sep 09, 2012 1:15 am

Re: PMS not functioning, with Exceptions in debug.log

Postby chocolateboy » Sun Sep 09, 2012 3:49 pm

Launch PMS manually with:

Code: Select all
/usr/bin/ps3mediaserver 2>&1 > /tmp/pms.log


Then zip and attach /tmp/pms.log, your PMS.conf and the full debug.log.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: PMS not functioning, with Exceptions in debug.log

Postby nphase » Sun Sep 09, 2012 3:57 pm

attached zip
Attachments
pms.zip
(10.08 KiB) Downloaded 80 times
nphase
 
Posts: 4
Joined: Sun Sep 09, 2012 1:15 am

Re: PMS not functioning, with Exceptions in debug.log

Postby chocolateboy » Sun Sep 09, 2012 4:07 pm

debug.log wrote:
Code: Select all
DEBUG 2012-09-09 09:55:34.279 [main] Using database URL: jdbc:h2:/var/lib/ps3mediaserver/database-nphase/medias
INFO  2012-09-09 09:55:34.280 [main] Using database located at: /var/lib/ps3mediaserver/database-nphase
INFO  2012-09-09 09:55:50.497 [main] Configuration error: Requested memory: 3014777



Try removing the cache database from /var/lib/ps3mediaserver/database-nphase.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: PMS not functioning, with Exceptions in debug.log

Postby nphase » Sun Sep 09, 2012 4:51 pm

Yep, that seems to have fixed it. thanks!
nphase
 
Posts: 4
Joined: Sun Sep 09, 2012 1:15 am


Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 5 guests