virtuoso-opensource icon indicating copy to clipboard operation
virtuoso-opensource copied to clipboard

Unable to load plugin

Open CAROLZXYZXY opened this issue 7 years ago • 3 comments

Hi, I cannot load the plugin. I'm using MacOS Sierra.

I want to use the open source code here: https://github.com/CAROLZXYZXY/QuestionAnsweringOverFB. And it says that I need to download the virtuoso engine to query everything here: https://www.dropbox.com/sh/zxv2mos2ujjyxnu/AAACCR4AJ1MMTCe8ElfBN39Ha?dl=0.

This is what I do:

  1. homebrew install virtuoso
  2. I change the DatabaseFile, ErrorLogFile, LockFile, TransactionFile, xa_persistent_file, DatabaseFile, TransactionFile and LoadPath in [Plugins] in the .ini file from dropbox.

This is the error message:

virtuoso-t -f

		Wed Jul 04 2018
23:54:44 { Loading plugin 1: Type `plain', file `wikiv' in `/usr/local/Cellar/virtuoso/7.2.4.2/var/lib/virtuoso/hosting'
23:54:44   FAILED  plugin 1: Unable to locate file }
23:54:44 { Loading plugin 2: Type `plain', file `mediawiki' in `/usr/local/Cellar/virtuoso/7.2.4.2/var/lib/virtuoso/hosting'
23:54:44   FAILED  plugin 2: Unable to locate file }
23:54:44 { Loading plugin 3: Type `plain', file `creolewiki' in `/usr/local/Cellar/virtuoso/7.2.4.2/var/lib/virtuoso/hosting'
23:54:44   FAILED  plugin 3: Unable to locate file }
23:54:44 OpenLink Virtuoso Universal Server
23:54:44 Version 07.20.3217-pthreads for Darwin as of Sep 27 2016
23:54:44 uses parts of OpenSSL, PCRE, Html Tidy
23:54:45 Database version 3126
23:54:50 SQL Optimizer enabled (max 1000 layouts)
23:54:51 Compiler unit is timed at 0.000201 msec
23:55:09 Roll forward started
^C23:55:09 Server received signal 2
23:55:09 Server shutdown is pending
23:55:09 The transaction log file has been produced by server version '06.01.3127'. The version of this server is '07.20.3217'. If the transaction log is empty or you do not want to replay it then delete it and start the server again. Otherwise replay the log using the server of version '06.01.3127' and make checkpoint and shutdown to ensure that the log is empty, then delete it and start using new version.
23:55:09 Server exiting

This is what my Plugins look like:

LoadPath			= /usr/local/Cellar/virtuoso/7.2.4.2/var/lib/virtuoso/hosting
Load1				= plain, wikiv
Load2				= plain, mediawiki
Load3				= plain, creolewiki

Am I installing correctly?

When I download the file in the dropbox, should I just run virtuoso-t -f in the directory I downloaded the files from dropbox?

When changing file path, is it correct to change the DatabaseFile, ErrorLogFile, LockFile, TransactionFile, xa_persistent_file, DatabaseFile, TransactionFile into the directory I downloaded the files from dropbox?

Is it correct to change the loadpath into where I install the virtuoso engine? However, the hosting directory doesn't exist.

Thank you very much!

CAROLZXYZXY avatar Jul 05 '18 14:07 CAROLZXYZXY

Hello --

The issue you're hitting has nothing to do with Plugins. You should be able to simply comment out (add leading ;) the lines for Load1, Load2, Load3 to eliminate those confusing messages.

It looks like the files @syxu828 put on Dropbox came from a Virtuoso 6.x instance. It's unfortunate they didn't consult with OpenLink, as we could have helped them provide a better kit. As things stand, we don't know what's in their transaction log -- so we don't know whether it's important to get the data they intended, or can be thrown away. You can probably simply discard the virtuoso.trx file, to resolve the later error, and proceed from there.

I've made a quick PR to adjust their ReadMe, but there will be further changes needed. (It will take some time to download the 60GB of data from their dropbox.) After cleaning that up, I realized there was another fork and PR which has been pending since October 2016.

TallTed avatar Jul 05 '18 21:07 TallTed

I had the same problem, I assume it happened because of a system update under Ubuntu 20.04, which added a reference to the configuration file which does not exist. I got it to run again by commenting out the load path and all the Loadn statements, however I didn't actually need the plugins so that was an easy fix for me. I don't know how to fix it, if the plugins are actually necessary, as I didn't find that hosting directory that was referenced there. Virtuoso version is 7.1.

KonradHoeffner avatar Jan 13 '21 11:01 KonradHoeffner

@KonradHoeffner --

It's worth noting that Virtuoso 7.1 is several years out of date, as it shipped in February 2014, and was replaced by 7.2.x in February 2015.

The Open Source Edition is up to 7.2.6+, and the Commercial/Enterprise Edition is up to 8.3+.

Whatever path you followed to get v7.1 should be adjusted to get a more recent, if not the most current, version.

TallTed avatar Jan 13 '21 15:01 TallTed