SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-19-2015, 02:29 PM
rbolande rbolande is offline
Sage User
 
Join Date: Sep 2015
Location: Colorado, USA
Posts: 9
Linux sagetv-server DB error on startup

I am long time SaeTV user and am very excited to see it go Open Source! I still run SageTV 7 on Windows, and I want to migrate to the Open Source version of the server on Ubuntu. I am playing with things on a VirtualMachine until I can prove it out and figure out what I am doing. Currently I get an exception on startup:

Error with DB file:java.lang.ExceptionInInitializerError, attempting to restore backup.

This made me think there is an issue with the Wiz.bin...which upon closer inspection I do not have.

Not being a guru on SageTV or Linux, I wanted to tell you what I did, suspecting that I may have missed something...

1) Starting with clean Ubuntu 64-bit 14.04.1 on Oracle VirtualBox
2) Installed lynx (browser) to download the sagetv-server .deb package (sudo apt-get install lynx-cur)
3) Downloaded the sagetv-server .deb package from the bintray.com location posted by 'stuckless'.
4) Attempted install of sagetv-server, but missing java dependency
5) Attempted install of Java JDK 7 (sudo apt-get install openjdk-7-jre), but missing dependencies
6) Installed java with dependencies (sudo apt-get -f install)
7) Installed sagetv-server (sudo dpkg -i sagetv-server_9.0.0_amd64.deb)
8) Updated 'Sage.jar' from bintray.com (9.0.0.4 version)
9) Reboot
10) Now I get the following exception in the sagetv_0.txt I get the following exception:

thrown java.lang.ExceptionInInitializerError
Sat 9/19 13:52:40.170 [main@6cd9bee] java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.14)
at org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:151)
at sage.Wizard$LuceneIndex.<init>(Wizard.java:9052)
at sage.Wizard.getPersonIndex(Wizard.java:9646)
at sage.Wizard.processXctFromStream(Wizard.java:7174)
at sage.Wizard.loadDBFile(Wizard.java:7457)
at sage.Wizard.startSeq(Wizard.java:2551)
at sage.Wizard.init(Wizard.java:664)
at sage.Wizard.prime(Wizard.java:467)
at sage.SageTV.<init>(SageTV.java:404)
at sage.Sage.startup(Sage.java:1173)
at sage.Sage.main(Sage.java:955)
Caused by: java.lang.NullPointerException
at java.lang.ref.Reference.<init>(libgcj.so.14)
at java.lang.ref.WeakReference.<init>(libgcj.so.14)
at org.apache.lucene.util.WeakIdentityMap$IdentityWeakReference.<init>(WeakIdentityMap.java:112)
at org.apache.lucene.util.WeakIdentityMap.get(WeakIdentityMap.java:77)
at org.apache.lucene.util.VirtualMethod.getImplementationDistance(VirtualMethod.java:95)
at org.apache.lucene.util.VirtualMethod.compareImplementationDistance(VirtualMethod.java:146)
at org.apache.lucene.search.Similarity.<init>(Similarity.java:538)
at org.apache.lucene.search.DefaultSimilarity.<init>(DefaultSimilarity.java:23)
at org.apache.lucene.search.Similarity.<clinit>(Similarity.java:544)
at java.lang.Class.initializeClass(libgcj.so.14)
...11 more
Error with DB file:java.lang.ExceptionInInitializerError, attempting to restore backup.


Any ideas?

Thanks,
REID
Reply With Quote
  #2  
Old 09-21-2015, 12:16 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
It's an issue with the lucene JAR file. You need to download the lucene JAR file from here: https://github.com/google/sagetv/blo...core-3.6.0.jar (click on View Raw to do the download)

And if there is an existing lucene JAR file in your JARs folder...be sure to remove it as well.

Your Wiz.bin file should still be there if you didn't have a backup copy of it. It'll have a .corrupt file extension on it now (just rename it and then it'll be fine)
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sagetv server linux mkstretch SageTV Linux 3 06-13-2014 10:01 AM
Delay sage server startup in linux. shugrue SageTV Linux 1 01-07-2013 10:36 AM
Wife friendly Linux Placeshifter startup birkey SageTV Linux 1 06-15-2011 07:06 AM
Startup Error geekout2 General Discussion 4 02-13-2007 01:35 PM
Error on startup videogeek SageTV Recorder Software 3 07-12-2004 03:38 PM


All times are GMT -6. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.