Hello everyone!
(not sure if the H@H program was made to work on ubuntu, but i was hoping)
im having some problems setting up my H@H server. (well, abviously (IMG:[
invalid]
style_emoticons/default/wink.gif) )
it is currently running its own virtual server on a VMware computer.
it is running on a home network with one port routed through the FW which is specified in the control panel for H@H servers i am running.
i have currently set up a Ubuntu Linux server for the sole purpose of running H@H.
it is running the latest version (12.04) and has been "upgraded" and updated once it was installed (today).
i have verified that the network is working correctly (had some dns problems earlier).
it has a static internal IP with a route in the firewall for H@H connection.
i have removed the java program that comes with ubuntu and installed "SUN java" through this guide:
wikihow[dot]com/Install-Oracle-Java-on-Ubuntu-Linux
and verified running newest version by checking "java -version": (it is stated in the H@H thread from Tenboro that the server needs JRE version 6 update 24 OR newer)
java version "1.7.0_04"
Java SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot 64-Bit Server VM (build 23.0-b21, mixed mode)the server files for H@H (V1.0.9) was downloaded today and saved in /usr/local/hath
i am logged on to the server with my root user atm. to test everything...
have run chown and chmod on the HATH folder to be on the safe side.
but no matter how much i have tried i get an error message on startup.
havent found anything on this forum or in the FAQ about a similar case (like mine, only ones with fixes that has not worked for me).
this is what happens from maual start of H@H program:
CODE
randomuser@randommachine:/usr/local/hath# java -jar HentaiAtHome.jar
2012-05-28T18:32:52Z [info] Started logging to data/log_out
2012-05-28T18:32:52Z [info] Started logging to data/log_err
2012-05-28T18:32:52Z [info] Hentai@Home 1.0.9 starting up
2012-05-28T18:32:52Z [info]
2012-05-28T18:32:52Z [info] Copyright (c) 2008-2012, E-Hentai.org - all rights reserved.
2012-05-28T18:32:52Z [info] This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v3 license.
2012-05-28T18:32:52Z [info]
2012-05-28T18:32:52Z [info] Loaded login settings from client_login
2012-05-28T18:32:52Z [info] Connecting to the Hentai@Home Server to register client with ID xxxx...
2012-05-28T18:32:52Z [info] Connecting to rpc.hentaiathome.net...
2012-05-28T18:32:52Z [info] /clientapi.php?clientbuild=68&act=server_stat: Retrieving 66 bytes...
2012-05-28T18:32:52Z [info] Reading Hentai@Home client settings from server...
2012-05-28T18:32:52Z [info] Connecting to rpc.hentaiathome.net...
2012-05-28T18:32:52Z [info] /clientapi.php?clientbuild=68&act=client_login&add=&cid=xxxx&acttime=xxxxxxxxxxx&actkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: Retrieving 283 bytes...
2012-05-28T18:32:52Z [info] Applying settings...
2012-05-28T18:32:52Z [info] Finished applying settings
2012-05-28T18:32:52Z [info] CacheHandler: Initializing database engine...
2012-05-28T18:32:52Z [info] CacheHandler: Loading database from data/hath.db
2012-05-28T18:32:52Z [ERROR] {org.hath.base.CacheHandler.initializeDatabase(CacheHandler.java:180)} CacheHandler: Encountered error reading database.
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} java.lang.ClassNotFoundException: org.sqlite.JDBC
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.net.URLClassLoader$1.run(Unknown Source)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.net.URLClassLoader$1.run(Unknown Source)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.security.AccessController.doPrivileged(Native Method)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.net.URLClassLoader.findClass(Unknown Source)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.lang.ClassLoader.loadClass(Unknown Source)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.lang.ClassLoader.loadClass(Unknown Source)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.lang.Class.forName0(Native Method)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.lang.Class.forName(Unknown Source)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at org.hath.base.CacheHandler.initializeDatabase(CacheHandler.java:137)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at org.hath.base.CacheHandler.<init>(CacheHandler.java:93)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at org.hath.base.HentaiAtHomeClient.run(HentaiAtHomeClient.java:109)
2012-05-28T18:32:52Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Unknown Source)} at java.lang.Thread.run(Unknown Source)
2012-05-28T18:32:52Z [info]
2012-05-28T18:32:52Z [info] ************************************************************************************************************************************
2012-05-28T18:32:52Z [info] The database could not be loaded.
2012-05-28T18:32:52Z [info] In order to fix this, please do the following:
2012-05-28T18:32:52Z [info] 1. Locate the directory /usr/local/hath/data
2012-05-28T18:32:52Z [info] 2. Delete the file hath.db
2012-05-28T18:32:52Z [info] 3. Rename the file hath.db.bak to hath.db
2012-05-28T18:32:52Z [info] 4. Restart the client again.
2012-05-28T18:32:52Z [info] If this fails to work, just delete the file hath.db and all backups, and restart. The system will then rebuild the database.
2012-05-28T18:32:52Z [info] ************************************************************************************************************************************
2012-05-28T18:32:52Z [info]
2012-05-28T18:32:52Z [ERROR] {org.hath.base.HentaiAtHomeClient.dieWithError(HentaiAtHomeClient.java:268)} Critical Error: Failed to load the database.
2012-05-28T18:32:52Z [info] Shutting down...
2012-05-28T18:32:52Z [info] Your business is appreciated
the problem im having is as you have seen by now related to the DB file.
the problem is, there is no db file, it is never created. even tho im root and i have the privileges to create and modify files in the hath/data folder.
i have several times tried removing the client login and log files. no luck
have tried resetting my "Client Key". no luck.
if anyone can spot any missing links or can get me started somewhere id really much appreciate it!! (IMG:[
invalid]
style_emoticons/default/smile.gif)
Kind Regards
Melkeku
UPDATE:
a guide on how to install H@H on an Ubuntu server is made in the Wiki, please check it out if you need help
installing H@H on ubuntuThis post has been edited by Melkeku: Jun 2 2012, 23:08