Hi Joe,

I have Fink's virtuoso installed,

Version 6.1.2.3127-pthreads as of Apr 29 2011
Compiled for Darwin (i386-apple-darwin10.7.0)

When I try to start the server (with or without sudo privileges), I
get messages like below (copied to the log file as well).  However,
trying to connect via isql gives errors (further below).  Any help is
appreciated!

/sw/var/lib/virtuoso/db $ sudo virtuoso-t -f

                Wed May 25 2011
11:30:09 { Loading plugin 1: Type `plain', file `wikiv' in
`/sw/lib/virtuoso/hosting'
11:30:09   FAILED  plugin 1: Unable to locate file }
11:30:09 { Loading plugin 2: Type `plain', file `mediawiki' in
`/sw/lib/virtuoso/hosting'
11:30:09   FAILED  plugin 2: Unable to locate file }
11:30:09 { Loading plugin 3: Type `plain', file `creolewiki' in
`/sw/lib/virtuoso/hosting'
11:30:09   FAILED  plugin 3: Unable to locate file }
11:30:09 { Loading plugin 4: Type `plain', file `im' in
`/sw/lib/virtuoso/hosting'

So the fink installation does not install these plugins.

They are only important if you want to run the ODS-Wiki vad package, which i think they probably have not build either.

11:30:09   IM version 0.5 from OpenLink Software
11:30:09   Support functions for Image Magick 6.5.8
11:30:09 SUCCESS plugin 4: loaded from /sw/lib/virtuoso/hosting/ im.so }
11:30:09 { Loading plugin 5: Type `plain', file `wbxml2' in
`/sw/lib/virtuoso/hosting'
11:30:09   WBXML2 version 0.9 from OpenLink Software
11:30:09   Support functions for WBXML2 0.10.7 Library
11:30:09 SUCCESS plugin 5: loaded from /sw/lib/virtuoso/hosting/ wbxml2.so }

So these plugins were loaded without a problem.

11:30:09 { Loading plugin 9: Type `Hosting', file `hosting_perl.so' in
`/sw/lib/virtuoso/hosting'


There should be more output at this point including the SQL and HTTP port to connect with like:

13:14:52 OpenLink Virtuoso Universal Server
13:14:52 Version 06.01.3127-pthreads for Darwin as of May 19 2011
13:14:52 uses parts of OpenSSL, PCRE, Html Tidy
13:14:52 Database version 3126
13:14:52 SQL Optimizer enabled (max 1000 layouts)
13:14:54 Compiler unit is timed at 0.001573 msec
13:14:55 Roll forward started
13:14:55 Roll forward complete
13:14:55 Checkpoint started
13:14:55 Checkpoint finished, log reused
13:14:58 HTTP/WebDAV server online at 8894
13:14:58 Server online at 31111 (pid 57000)

These ports are set in the virtuoso.ini file in this db directory.

/sw/var/lib/virtuoso/db $ isql.virtuoso -U dba -P dba

*** Error S2801: [Virtuoso Driver]CL033: Connect failed to
localhost:1111 = localhost:1111.
at line 0 of Top-Level:

This means that your virtuoso installation either is not running yet on port 1111 or is possibly configured to use another port. Please check your virtuoso.ini file and look for

        [Parameters]
        ...
        ServerPort      = XXXX
        ...
        
If it is running on a different port you need to use:

        isql.virtuoso -U dba -P dba -S XXXX

   or using short connect method:

        isql.virtuoso localhost:XXXX dba dba

where XXXX is the port number from your virtuoso.ini file.

        
Best regards,

Patrick

Reply via email to