FAQ  •  Register  •  Login

Can't get Serviio to start

<<

mumi009

Serviio newbie

Posts: 1

Joined: Tue Jan 22, 2013 9:18 pm

Post Tue Jan 22, 2013 9:43 pm

Can't get Serviio to start

I am still kind of a Linux/Ubuntu newbie. I do want kick the Windows habit a move more of my computer experience to Linux/Ubuntu. I can't get the shell script to run. I am using Ubuntu 11.10. My ffmpeg and dcraw are current I see there are errors posted in the log files but I don't know what they mean. I will paste them (first serviio.log followed by derby.log) here. Please forgive me for the volume. Thank you in advance for your assistance.

serviio.log
2013-01-22 22:13:50,649 INFO [MediaServer] ------------------------------------------------------------------------
2013-01-22 22:13:50,650 INFO [MediaServer] Serviio DLNA media streaming server v 1.1 (rev. 6ba0dd933a8e+)
2013-01-22 22:13:50,650 INFO [MediaServer] Petr Nejedly 2009-2012
2013-01-22 22:13:50,650 INFO [MediaServer] http://www.serviio.org
2013-01-22 22:13:50,650 INFO [MediaServer]
2013-01-22 22:13:50,650 INFO [MediaServer] Java 1.6.0_24-Sun Microsystems Inc.
2013-01-22 22:13:50,650 INFO [MediaServer] OS Linux amd64 3.0.0-30-generic
2013-01-22 22:13:50,650 INFO [MediaServer] File encoding: UTF-8
2013-01-22 22:13:50,651 INFO [MediaServer] Headless mode enabled: true
2013-01-22 22:13:50,651 INFO [MediaServer] User: david
2013-01-22 22:13:50,651 INFO [MediaServer] User home dir: /home/david
2013-01-22 22:13:50,651 INFO [MediaServer] Temp dir: /tmp
2013-01-22 22:13:50,651 INFO [MediaServer] ------------------------------------------------------------------------
2013-01-22 22:13:50,826 INFO [WebServer] Socket buffer set to 65535 bytes
2013-01-22 22:13:50,828 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-01-22 22:13:50,876 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-01-22 22:13:50,876 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2013-01-22 22:13:50,894 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2013-01-22 22:13:57,363 INFO [MediaServer] Serviio server instance is already running
2013-01-22 22:13:59,829 INFO [DBSchemaUpdateExecutor] Updating DB schema
2013-01-22 22:14:22,494 INFO [DBSchemaUpdateExecutor] Cleaning persistent cache
2013-01-22 22:14:22,792 INFO [Device] Created UPnP Device with UUID: 123d7bcc-2376-3cd4-8e05-366468b3824b, bound address: 192.168.1.107
2013-01-22 22:14:22,805 WARN [IndexedDiskCache] Region [online_technical_metadata] Reseting cache
2013-01-22 22:14:23,340 INFO [MediaServer] ------------------------------------------------------------------------
2013-01-22 22:14:23,340 INFO [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2013-01-22 22:14:23,340 INFO [MediaServer] ------------------------------------------------------------------------
2013-01-22 22:14:24,759 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-01-22 22:14:25,798 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2013-01-22 22:14:26,287 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2013-01-22 22:14:26,561 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2013-01-22 22:14:26,967 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2013-01-22 22:14:27,216 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2013-01-22 22:14:27,406 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2013-01-22 22:14:28,035 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D/E-series)' (id=7)
2013-01-22 22:14:28,076 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2013-01-22 22:14:28,993 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2013-01-22 22:14:30,096 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player / SMP' (id=10)
2013-01-22 22:14:30,529 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2013-01-22 22:14:30,767 INFO [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2013-01-22 22:14:30,810 INFO [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2013-01-22 22:14:30,991 INFO [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2013-01-22 22:14:31,060 INFO [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2013-01-22 22:14:31,413 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2013-01-22 22:14:31,560 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2013-01-22 22:14:31,891 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2013-01-22 22:14:32,267 INFO [ProfilesDefinitionParser] Added profile 'Philips' (id=20)
2013-01-22 22:14:32,415 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2013-01-22 22:14:32,493 INFO [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2013-01-22 22:14:33,378 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2013-01-22 22:14:33,475 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2013-01-22 22:14:33,574 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2013-01-22 22:14:33,709 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2013-01-22 22:14:33,844 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2013-01-22 22:14:34,038 INFO [ProfilesDefinitionParser] Added profile 'Sony AVReceiver STR' (id=SonySTR)
2013-01-22 22:14:34,145 INFO [ProfilesDefinitionParser] Added profile 'Sony Audio CMT' (id=SonyCMT)
2013-01-22 22:14:34,202 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2013-01-22 22:14:34,551 INFO [ProfilesDefinitionParser] Added profile 'Flash player' (id=flv_player)
2013-01-22 22:14:34,778 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo' (id=serviigo)
2013-01-22 22:14:34,961 INFO [ProfilesDefinitionParser] Added profile 'Windows Phone 8' (id=wp8)
2013-01-22 22:14:35,029 INFO [PluginCompilerThread] Looking for plugins at /home/david/Desktop/serviio-1.1/plugins
2013-01-22 22:14:35,030 INFO [PluginCompilerThread] Started looking for plugins
2013-01-22 22:14:35,035 INFO [UpdateChecker] Checking if a new version is available
2013-01-22 22:14:35,354 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2013-01-22 22:14:35,427 INFO [WebServer] WebServer starting on port 8895
2013-01-22 22:14:35,480 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth1 (eth1) and address 192.168.1.107, timeout = 0
2013-01-22 22:14:35,481 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2013-01-22 22:14:35,489 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2013-01-22 22:14:35,489 INFO [EventDispatcher] Starting EventDispatcher
2013-01-22 22:14:35,495 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2013-01-22 22:14:35,496 INFO [RendererSearchSender] Searching for Renderer devices, will multicast on 1 NICs
2013-01-22 22:15:01,560 INFO [FeedUpdaterThread] Started looking for information about online resources
2013-01-22 22:15:01,580 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-01-22 22:15:01,614 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-01-22 22:15:01,624 INFO [PlaylistMaintainerThread] Started looking playlist changes

derby.log

ue Jan 22 22:13:51 CET 2013:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.9.1.0 - (1344872): instance a816c00e-013c-641c-234d-ffffeb089b1d
on database directory /home/david/Desktop/serviio-1.1/library/db with class loader sun.misc.Launcher$AppClassLoader@35a16869
Loaded from file:/home/david/Desktop/serviio-1.1/lib/derby.jar
java.vendor=Sun Microsystems Inc.
java.runtime.version=1.6.0_24-b24
user.dir=/home/david/Desktop/serviio-1.1/bin
derby.system.home=/home/david/Desktop/serviio-1.1/library
derby.stream.error.file=../log/derby.log
Database Class Loader started - derby.database.classpath=''
<<

slaute

Serviio newbie

Posts: 5

Joined: Sun Jan 20, 2013 9:02 pm

Post Wed Jan 23, 2013 1:54 pm

Re: Can't get Serviio to start

I don't see any errors in those logs.
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Wed Jan 23, 2013 8:41 pm

Re: Can't get Serviio to start

I am assuming that is a complete log.

What exactly is the issue/problem you are having? It is not really clear based on your description.

Are you saying that serviio is no longer available after you close the terminal window? If so, try this.

  Code:
./serviio.sh &


or put that command in a shell script and add the script to your startup.
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox
<<

AliBrown

Serviio newbie

Posts: 11

Joined: Mon Jan 28, 2013 12:18 pm

Post Mon Jan 28, 2013 12:24 pm

Re: Can't get Serviio to start

I also have the same problem on Ubuntu 12.04 server....

I installed all the pre-dependencies for ffmpeg from https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide and then downloaded and installed the latest Serviio install from the website.

The problem is, I just can't get it to start.

When I type
  Code:
sudo start serviio


I get
  Code:
serviio start/running, process 3183
, or something similar.

But when I check the status a couple of seconds later with
  Code:
sudo status serviio


It gives me
  Code:
serviio stop/waiting


This is really frustrating as I have had it working on 12.04 in the past before my old server died.
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Mon Jan 28, 2013 3:49 pm

Re: Can't get Serviio to start

AliBrown - Post log after that transaction happens.
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox
<<

AliBrown

Serviio newbie

Posts: 11

Joined: Mon Jan 28, 2013 12:18 pm

Post Mon Jan 28, 2013 9:05 pm

Re: Can't get Serviio to start

khurram23 wrote:AliBrown - Post log after that transaction happens.


I can't find the log file. Is there an option to enable it?
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Wed Jan 30, 2013 12:52 am

Re: Can't get Serviio to start

Is it not in serviio/log folder?

If not, then serviio isn't starting at all. Instead of using service to start serviio, try it in console first.

In serviio/bin folder:
  Code:
./serviio.sh


or (to put in background)

  Code:
./serviio.sh &


See if that generates a log file.

I am assuming you have JAVA installed.

Provide output of following:

  Code:
java -version
and
  Code:
ffmpeg
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox
<<

AliBrown

Serviio newbie

Posts: 11

Joined: Mon Jan 28, 2013 12:18 pm

Post Wed Jan 30, 2013 1:01 pm

Re: Can't get Serviio to start

OK. Running ./serviio.sh in the serviio/bin folder still did not generate a log.

I check the java and ffmpeg installs....

  Code:
ali@MainServer:~/Serviio/serviio-1.1$ java -version
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.4) (7u9-2.3.4-0ubuntu1.12.04.1)
OpenJDK Client VM (build 23.2-b09, mixed mode, sharing)


  Code:
ali@MainServer:~/Serviio/serviio-1.1$ ffmpeg
ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
  built on Jan 24 2013 18:03:14 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'


Both seem ok to me. I installed Java from the Java download section and ffmpeg etc from the Serviio wiki.
<<

marculos

Streaming enthusiast

Posts: 34

Joined: Thu Oct 20, 2011 10:27 pm

Post Fri Feb 01, 2013 3:50 pm

Re: Can't get Serviio to start

I removed the ITV plugin which was showing as an error in the logs and so far seems better.
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Tue Feb 05, 2013 2:08 am

Re: Can't get Serviio to start

ali@MainServer:~/Serviio/serviio-1.1$ ffmpeg
ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jan 24 2013 18:03:14 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Hyper fast Audio and Video encoder


You need to fix your ffmpeg installation. The program you have installed (from repo) is old and out-dated.

  Code:
sudo apt-get remove ffmpeg


and install from source. Following instructions here... http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux

Are you on 32 or 64bit Ubuntu?
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 19 guests

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