Hi there,
I've downloaded a copy of a live GN installation onto my notebook and on
starting GN the McKoi database appears to stall?
In the geonetwork log, the process appears to get stuck at 'Starting
activator':
...
011-06-16 10:19:12,907 INFO [jeeves.engine] - Initializing general
configuration...
2011-06-16 10:19:12,910 INFO [jeeves.engine] - Initializing defaults...
2011-06-16 10:19:12,911 INFO [jeeves.engine] - Default local is :true
2011-06-16 10:19:12,918 INFO [jeeves.engine] - Initializing resources...
2011-06-16 10:19:12,918 INFO [jeeves.engine] - Adding resource : main-db
2011-06-16 10:19:12,9..18 INFO [jeeves.engine] - Loading activator :
org.fao.geonet.activators.McKoiActivator
2011-06-16 10:19:12,922 INFO [jeeves.engine] - Starting activator :
org.fao.geonet.activators.McKoiActivator
In the database debug.log log:
**** Debug log started: Thu Jun 16 10:19:12 ICT 2011 ****
% Storage System: v1 file storage mode.
% Internal Data Cache size: 4194304
% Internal Data Cache max cell size: 8192
% lookup_comparison_list = false
% read_only = false
% transaction_error_on_dirty_select = true
% ignore_case_for_identifiers = true
% Java NIO API is available.
% io_safety_level = 10
% Using stardard IO API for heap buffered file access.
% [Buffer Manager] Using IO API: Java IO
% [Buffer Manager] Page Size: 8192
% [Buffer Manager] Max pages: 256
% Using Java regex API.
% No 'function_factories' config property found.
% statement_cache = true
% Max worker threads set to: 4
% Starting Database Server
I'm unable to connect to the database using Druid.
Previously I haven't had this trouble. I did recently add category
translations on the live site, but this shouldn't be the problem? I've since
exported metadata from the live site into a fresh notebook install without
trouble.
Cheers,
Richard
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-loading-McKoi-database-after-backing-up-tp6481623p6481623.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
There appears to be a problem with the database:
java -jar
/home/USER/geonetwork_263_orig/web/geonetwork/WEB-INF/lib/mckoi-1.0.2.jar
Mckoi SQL Database ( 1.0.2 )
Copyright (C) 2000, 2001, 2002, 2003 Diehl and Associates, Inc. All rights
reserved.
Use: -h for help.
Mckoi SQL Database comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt for details of the
GPL License.
Exception in thread "main" java.lang.Error: Assert failed - area not marked
as deleted. pos = 865864 this = [ JournalledFileStore: BlobStore ]
at com.mckoi.store.AbstractStore.addToBinChain(AbstractStore.java:1010)
at com.mckoi.store.AbstractStore.free(AbstractStore.java:1353)
at com.mckoi.store.AbstractStore.deleteArea(AbstractStore.java:1387)
at com.mckoi.database.BlobStore.releaseReference(BlobStore.java:706)
at
com.mckoi.database.V2MasterTableDataSource.removeAllBlobReferencesForRecord(V2MasterTableDataSource.java:700)
at
com.mckoi.database.V2MasterTableDataSource.internalDeleteRow(V2MasterTableDataSource.java:1214)
at
com.mckoi.database.MasterTableDataSource.doHardRowRemove(MasterTableDataSource.java:1000)
at
com.mckoi.database.MasterTableDataSource.doOpeningScan(MasterTableDataSource.java:1131)
at
com.mckoi.database.V2MasterTableDataSource.open(V2MasterTableDataSource.java:401)
at
com.mckoi.database.TableDataConglomerate.readVisibleTables(TableDataConglomerate.java:383)
at
com.mckoi.database.TableDataConglomerate.open(TableDataConglomerate.java:1096)
at com.mckoi.database.Database.init(Database.java:1803)
at
com.mckoi.database.control.DBController.startDatabase(DBController.java:131)
at com.mckoi.runtime.McKoiDBMain.doBoot(McKoiDBMain.java:163)
at com.mckoi.runtime.McKoiDBMain.main(McKoiDBMain.java:296)
Not sure how this happened, but ideas on the best way to fix?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-loading-McKoi-database-after-backing-up-tp6481623p6481986.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Problem resolved by single re-start of online installation.
Prior to this I was unable to add or save any record, but after re-starting
all seems fine.
Now sure how the problem arose ... perhaps related to downloading
installation for backing up a few days back?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-loading-McKoi-database-after-backing-up-database-problem-tp6481623p6482432.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.