FAQ  •  Register  •  Login

Serice not starting

<<

ytrewq

Serviio newbie

Posts: 4

Joined: Sun Mar 13, 2016 1:16 am

Post Sun Mar 13, 2016 1:21 am

Serice not starting

I have Serviio on a Windows 7 media NAS/Server. It is powered on by BIOS and off by Task Scheduler every day. When it restarts after a shutdown Serviio service is not starting automatically, even though it is set to do so and I have to remote in and do it manually every day. Any ideas? Thanks
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Mar 13, 2016 11:16 am

Re: Serice not starting

Does a detailed log shed any light on why it is not starting?
The log should show Serviio attempting to start and then perhaps give a clue as to what went wrong. If there is nothing in the log showing it attempting to start, I'd suggest you havent got the auto start set correctly (run services.msc and check that the Serviio Service is set to StartUp Type: Automatic).
Are you doing a full shutdown, not hibernate or sleep?
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

ytrewq

Serviio newbie

Posts: 4

Joined: Sun Mar 13, 2016 1:16 am

Post Mon Mar 14, 2016 6:42 am

Re: Serice not starting

Thanks for the reply. As you can see from my post it is set to run automatically, but just isn't doing it. It is scheduled to do a full shutdown. Here is a copy of the log:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
<param name="Threshold" value="DEBUG"/>
<param name="Append" value="true" />
<param name="File" value="${serviio.home}/log/serviio.log" />
<param name="MaxFileSize" value="500KB" />
<param name="MaxBackupIndex" value="5" />
<param name="Encoding" value="UTF-8" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

<category name="org.serviio">
<priority value="INFO"/>
</category>

<category name="com.sun.syndication">
<priority value="ERROR"/>
</category>

<category name="org.jaudiotagger">
<priority value="ERROR"/>
</category>

<category name="org.restlet">
<priority value="OFF"/>
</category>

<category name="LogService"> <!-- Restlet access log -->
<priority value="OFF"/>
</category>

<category name="org.apache.jcs">
<priority value="WARN"/>
</category>

<root>
<priority value="INFO"/>
<appender-ref ref="FILE"/>
</root>

</log4j:configuration>

I can't see anything obvious that identifies the problem.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Mar 14, 2016 11:39 am

Re: Serice not starting

Wrong file. The log file is in "C:\Program Files\Serviio\log\serviio.log".

The file in your post ("C:\Program Files\Serviio\config\log4j.xml") controls the level of detail in the log file. You can set:
  Code:
<category name="org.serviio">
<priority value="INFO"/>
</category>
to
  Code:
<category name="org.serviio">
<priority value="DEBUG"/>
</category>
and then save the file and restart your PC/Serviio Service. This sets Serviio to debug mode and gives the most information.

After your task scheduler does its thing and Serviio fails to start, look at the bottom of the log and see if it sheds any light on what is happening.

Once you have the info you need, reset the 'log4j.xml" file back to the way it was, and restart.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

ytrewq

Serviio newbie

Posts: 4

Joined: Sun Mar 13, 2016 1:16 am

Post Wed Mar 16, 2016 9:45 am

Re: Serice not starting

Hmmm. Something up with this forum site. From the time I clicked login it took around 1 minute to actually log in. Posting this reply took the same amount of time before I got here. I expect SUBMIT will be the same based on this.

Is there a way I can get email notification when there is a response as I have no idea if anyone has replied?

I'll take another look at the log and get back, that's if I can log in....
<<

ytrewq

Serviio newbie

Posts: 4

Joined: Sun Mar 13, 2016 1:16 am

Post Thu Mar 17, 2016 9:12 am

Re: Serice not starting

Here's a different log based on debug:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
<param name="Threshold" value="DEBUG"/>
<param name="Append" value="true" />
<param name="File" value="${serviio.home}/log/serviio.log" />
<param name="MaxFileSize" value="500KB" />
<param name="MaxBackupIndex" value="5" />
<param name="Encoding" value="UTF-8" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

<category name="org.serviio">
<priority value="debug"/>
</category>

<category name="com.sun.syndication">
<priority value="ERROR"/>
</category>

<category name="org.jaudiotagger">
<priority value="ERROR"/>
</category>

<category name="org.restlet">
<priority value="OFF"/>
</category>

<category name="LogService"> <!-- Restlet access log -->
<priority value="OFF"/>
</category>

<category name="org.apache.jcs">
<priority value="WARN"/>
</category>

<root>
<priority value="INFO"/>
<appender-ref ref="FILE"/>
</root>

</log4j:configuration>

Is this log any better? I can't see anything that helps me so unless anyone can come up with a solution I'll have to uninstall Serviio and try something else.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Mar 17, 2016 9:20 am

Re: Serice not starting

No , you need to post the C:\Program Files\Serviio\log\serviio.log file (after restarting your PC).
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 28 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.