Trying to run on Headless Machine (server)
Posted: Wed Jul 11, 2012 1:50 am
Running UMS on an actual server... The error message complains about graphics. Not available, obviously. Elp? :/
Code: Select all
/opt/local/ums-1.3.0 # ./UMS.sh
06:50:03.771 [main] DEBUG o.a.c.c.PropertiesConfiguration - FileName set to UMS.conf
06:50:03.790 [main] DEBUG o.a.c.c.PropertiesConfiguration - Base path set to /root/.config/UMS
06:50:04,338 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPathDefiner]
06:50:04,355 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [debugLogPath] from the object stack
06:50:04,356 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
06:50:04,356 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
06:50:04,521 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
06:50:04,524 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log]
06:50:04,535 |-INFO in ch.qos.logback.core.FileAppender[debug.log] - File property is set to [/opt/local/ums-1.3.0/debug.log]
06:50:04,538 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
06:50:04,541 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log.10MB]
06:50:04,578 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@19e15c - Will use zip compression
06:50:04,603 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - Active log file name: /opt/local/ums-1.3.0/debug.log
06:50:04,603 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - File property is set to [/opt/local/ums-1.3.0/debug.log]
06:50:04,603 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ALL
06:50:04,604 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
06:50:04,604 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [debug.log] to Logger[ROOT]
06:50:04,604 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
ERROR 2012-07-10 06:50:05.057 [main] A serious error occurred during PMS init
java.awt.HeadlessException: null
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159) ~[na:1.6.0_32]
at java.awt.Window.<init>(Window.java:431) ~[na:1.6.0_32]
at java.awt.Frame.<init>(Frame.java:403) ~[na:1.6.0_32]
at java.awt.Frame.<init>(Frame.java:368) ~[na:1.6.0_32]
at javax.swing.JFrame.<init>(JFrame.java:158) ~[na:1.6.0_32]
at net.pms.gui.DummyFrame.<init>(DummyFrame.java:25) ~[ums.jar:na]
at net.pms.PMS.init(PMS.java:310) [ums.jar:na]
at net.pms.PMS.createInstance(PMS.java:804) [ums.jar:na]
at net.pms.PMS.main(PMS.java:877) [ums.jar:na]