[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Database Corrupt message prevents SonkKong use  XML
Forum Index -> SongKong Issues
Author Message
arroz



Joined: 19/11/2006 08:12:27
Messages: 2
Offline

Installed SongKong on a OpenSuse box. Each time I try to run it, it stops with a message that the database is corrupted. A zero byte file "database.delete" is created in my Prefs folder, but deleting it doesn't change anything.

I was able to run SonkKong in an Arch Install before.
[Thumb - Screenshot from 2017-03-24 11-54-30.png]
 Filename Screenshot from 2017-03-24 11-54-30.png [Disk] Download
 Description Error Message
 Filesize 10 Kbytes
 Downloaded:  113 time(s)

paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7298
Offline

I have reviewed the logs and there is nothing obvious that should cause such a problem, have you tried as reboot in case database is being held on to by a dead thread.

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7298
Offline

The issue is due to an incorrectly configured hosts file, and a call made by 3rd party library used for SongKongs database (Hibernate) that requires the localhost to be configured correctly

(Instructions on how to run on linux since problem has not been seen on PC or Mac so far.) If running the attached test program

Code:
 cd songkong/jre64/bin
 ./java Addresses
 


gives an error similar to:

java.net.UnknownHostException: hostname: hostname: Name or service not known

then you have an issue and need to add an entry to /etc/hosts for the hostname
 Filename Addresses.class [Disk] Download
 Description
 Filesize 1 Kbytes
 Downloaded:  120 time(s)


thanks Paul (Administrator)
 
Forum Index -> SongKong Issues
Go to:   
Powered by JForum 2.1.6 © JForum Team