I'm trying to get Virtuoso 7 running on CentOS-6.4. The build completes
without errors, but make check generates some failures. Also trying to
start virtuoso with the generated default virtuoso.ini (attached)
results in a segmentation fault.

Any ideas what I can try next?

Failed Tests:

****************
nwxml.sh
****************
...
STARTED: nwml sqlo suite (nwxmlo.sql)
14:43:38 GPF: chash.c:490 bad dc dtp in hash join build
GPF: chash.c:490 bad dc dtp in hash join build
./test_fn.sh: line 161: 16025 Segmentation fault      (core dumped) M2
1111
***ABORTED: nwxml.sh: nwxmlo.sql functions 

****************
trecov.sh
****************
...
PASSED: user USR1 able of reading USR_TABLE
PASSED: user USR1 able of updating USR_TABLE
PASSED: user USR2 able of reading COL1 from USR_TABLE
PASSED: user USR2 able of updating COL1 in USR_TABLE
./test_fn.sh: line 161: 16490 Segmentation fault      (core dumped) M2
1111
***ABORTED: trecov.sh: Connect failed after log roll forward

****************
tsql.sh
****************
...
PASSED: Last word='rapaz'
PASSED: Last word reversed='zapar'
./test_fn.sh: line 161: 17587 Segmentation fault      (core dumped) M2
1111
***ABORTED: nvarchar Wordtest -- tnwords.sql



Here is the commands I used to build, install and run virtuoso: 

****************
Checked out virtuoso stable/7 branch and built virtuoso with CFLAGS
described in README
****************

[root@virtuoso1 ~]# cd /usr/src/virtuoso-opensource
[root@virtuoso1 virtuoso-opensource]# git log |head
commit 1e7b4b77afbc4ab94a1a361404dbe076954ae2bf
Author: VOS Maintainer <[email protected]>
Date:   Fri Jul 15 12:52:36 2011 +0000

    * Merged from V7

commit 6ea7a7905f0c3c30691874b3d61f3a9a83cbdd4f
Author: VOS Maintainer <[email protected]>
Date:   Thu Jul 14 08:25:39 2011 +0000

[root@virtuoso1 virtuoso-opensource]# export CFLAGS="-O2 -m64"
[root@virtuoso1 virtuoso-opensource]# ./configure
--prefix=/opt/virtuoso7 --localstatedir=/var
[root@virtuoso1 virtuoso-opensource]# make clean
...
[root@virtuoso1 virtuoso-opensource]# make
...
[root@virtuoso1 virtuoso-opensource]# make install
...


****************
Tried to run virtuoso with generated virtuoso.ini configuration
****************

[root@virtuoso1 virtuoso-opensource]# cd /var/lib/virtuoso/db/
[root@virtuoso1 db]# /opt/virtuoso7/bin/virtuoso-t -f

Tue Apr 09 2013
13:18:53 { Loading plugin 1: Type `plain', file `wikiv' in
`/opt/virtuoso7/lib/virtuoso/hosting'
13:18:53   WikiV version 0.6 from OpenLink Software
13:18:53   Support functions for WikiV collaboration tool
13:18:53   SUCCESS plugin 1: loaded
from /opt/virtuoso7/lib/virtuoso/hosting/wikiv.so }
13:18:53 { Loading plugin 2: Type `plain', file `mediawiki' in
`/opt/virtuoso7/lib/virtuoso/hosting'
13:18:53   MediaWiki version 0.1 from OpenLink Software
13:18:53   Support functions for MediaWiki collaboration tool
13:18:53   SUCCESS plugin 2: loaded
from /opt/virtuoso7/lib/virtuoso/hosting/mediawiki.so }
13:18:53 { Loading plugin 3: Type `plain', file `creolewiki' in
`/opt/virtuoso7/lib/virtuoso/hosting'
13:18:53   CreoleWiki version 0.1 from OpenLink Software
13:18:53   Support functions for CreoleWiki collaboration tool
13:18:53   SUCCESS plugin 3: loaded
from /opt/virtuoso7/lib/virtuoso/hosting/creolewiki.so }
13:18:53 OpenLink Virtuoso Universal Server
13:18:53 Version 07.00.3201-pthreads for Linux as of Apr  9 2013
13:18:53 uses parts of OpenSSL, PCRE, Html Tidy
13:18:53 SQL Optimizer enabled (max 1000 layouts)
13:18:54 Compiler unit is timed at 0.003990 msec
13:18:57 Checkpoint started
13:19:00 Roll forward started
13:19:00 Roll forward complete
13:19:01 Checkpoint started
13:19:04 Checkpoint finished, log reused
13:19:04 Checkpoint started
13:19:09 Checkpoint finished, log reused
13:19:09 PL LOG: Installing Virtuoso Conductor version 1.00.7920 (DAV)
13:19:09 Checkpoint started
13:19:10 Checkpoint finished, log reused
Segmentation fault (core dumped)


;
;  virtuoso.ini
;
;  Configuration file for the OpenLink Virtuoso VDBMS Server
;
;  To learn more about this product, or any other product in our
;  portfolio, please check out our web site at:
;
;      http://virtuoso.openlinksw.com/
;
;  or contact us at:
;
;      [email protected]
;
;  If you have any technical questions, please contact our support
;  staff at:
;
;      [email protected]
;

;
;  Database setup
;
[Database]
DatabaseFile                    = /var/lib/virtuoso/db/virtuoso.db
ErrorLogFile                    = /var/lib/virtuoso/db/virtuoso.log
LockFile                        = /var/lib/virtuoso/db/virtuoso.lck
TransactionFile                 = /var/lib/virtuoso/db/virtuoso.trx
xa_persistent_file              = /var/lib/virtuoso/db/virtuoso.pxa
ErrorLogLevel                   = 7
FileExtend                      = 200
MaxCheckpointRemap              = 2000
Striping                        = 0
TempStorage                     = TempDatabase


[TempDatabase]
DatabaseFile                    = /var/lib/virtuoso/db/virtuoso-temp.db
TransactionFile                 = /var/lib/virtuoso/db/virtuoso-temp.trx
MaxCheckpointRemap              = 2000
Striping                        = 0


;
;  Server parameters
;
[Parameters]
ServerPort                      = 1111
LiteMode                        = 0
DisableUnixSocket               = 1
DisableTcpSocket                = 0
;SSLServerPort                  = 2111
;SSLCertificate                 = cert.pem
;SSLPrivateKey                  = pk.pem
;X509ClientVerify               = 0
;X509ClientVerifyDepth          = 0
;X509ClientVerifyCAFile         = ca.pem
ServerThreads                   = 20
CheckpointInterval              = 60
O_DIRECT                        = 0
NumberOfBuffers                 = 5000
MaxDirtyBuffers                 = 3200
CaseMode                        = 2
MaxStaticCursorRows             = 5000
CheckpointAuditTrail            = 0
AllowOSCalls                    = 0
SchedulerInterval               = 10
DirsAllowed                     = ., /opt/virtuoso7/share/virtuoso/vad
ThreadCleanupInterval           = 0
ThreadThreshold                 = 10
ResourcesCleanupInterval        = 0
FreeTextBatchSize               = 100000
SingleCPU                       = 0
VADInstallDir                   = /opt/virtuoso7/share/virtuoso/vad/
PrefixResultNames               = 0
RdfFreeTextRulesSize            = 100
IndexTreeMaps                   = 256



[HTTPServer]
ServerPort                      = 8890
ServerRoot                      = /var/lib/virtuoso/vsp
ServerThreads                   = 20
DavRoot                         = DAV
EnabledDavVSP                   = 0
HTTPProxyEnabled                = 0
TempASPXDir                     = 0
DefaultMailServer               = localhost:25
ServerThreads                   = 10
MaxKeepAlives                   = 10
KeepAliveTimeout                = 10
MaxCachedProxyConnections       = 10
ProxyConnectionCacheTimeout     = 15
HTTPThreadSize                  = 280000
HttpPrintWarningsInOutput       = 0
Charset                         = UTF-8

[AutoRepair]
BadParentLinks                  = 0

[Client]
SQL_PREFETCH_ROWS               = 100
SQL_PREFETCH_BYTES              = 16000
SQL_QUERY_TIMEOUT               = 0
SQL_TXN_TIMEOUT                 = 0
;SQL_NO_CHAR_C_ESCAPE           = 1
;SQL_UTF8_EXECS                 = 0
;SQL_NO_SYSTEM_TABLES           = 0
;SQL_BINARY_TIMESTAMP           = 1
;SQL_ENCRYPTION_ON_PASSWORD     = -1

[VDB]
ArrayOptimization               = 0
NumArrayParameters              = 10
VDBDisconnectTimeout            = 1000
KeepConnectionOnFixedThread     = 0

[Replication]
ServerName                      = db-VIRTUOSO1
ServerEnable                    = 1
QueueMax                        = 50000


;
;  Striping setup
;
;  These parameters have only effect when Striping is set to 1 in the
;  [Database] section, in which case the DatabaseFile parameter is ignored.
;
;  With striping, the database is spawned across multiple segments
;  where each segment can have multiple stripes.
;
;  Format of the lines below:
;    Segment<number> = <size>, <stripe file name> [, <stripe file name> .. ]
;
;  <number> must be ordered from 1 up.
;
;  The <size> is the total size of the segment which is equally divided
;  across all stripes forming  the segment. Its specification can be in
;  gigabytes (g), megabytes (m), kilobytes (k) or in database blocks
;  (b, the default)
;
;  Note that the segment size must be a multiple of the database page size
;  which is currently 8k. Also, the segment size must be divisible by the
;  number of stripe files forming  the segment.
;
;  The example below creates a 200 meg database striped on two segments
;  with two stripes of 50 meg and one of 100 meg.
;
;  You can always add more segments to the configuration, but once
;  added, do not change the setup.
;
[Striping]
Segment1                        = 100M, db-seg1-1.db, db-seg1-2.db
Segment2                        = 100M, db-seg2-1.db
;...

;[TempStriping]
;Segment1                       = 100M, db-seg1-1.db, db-seg1-2.db
;Segment2                       = 100M, db-seg2-1.db
;...

;[Ucms]
;UcmPath                        = <path>
;Ucm1                           = <file>
;Ucm2                           = <file>
;...


[Zero Config]
ServerName                      = virtuoso (VIRTUOSO1)
;ServerDSN                      = ZDSN
;SSLServerName                  = 
;SSLServerDSN                   = 


[Mono]
;MONO_TRACE                     = Off
;MONO_PATH                      = <path_here>
;MONO_ROOT                      = <path_here>
;MONO_CFG_DIR                   = <path_here>
;virtclr.dll                    =


[URIQA]
DynamicLocal                    = 1
DefaultHost                     = localhost:8890


[SPARQL]
;ExternalQuerySource            = 1
;ExternalXsltSource             = 1
;DefaultGraph                   = http://localhost:8890/dataspace
;ImmutableGraphs                = http://localhost:8890/dataspace
ResultSetMaxRows                = 10000
MaxQueryCostEstimationTime      = 400   ; in seconds
MaxQueryExecutionTime           = 60    ; in seconds
DefaultQuery                    = select distinct ?Concept where {[] a ?Concept}
DeferInferenceRulesInit         = 0  ; controls inference rules loading
;PingService                    = http://rpc.pingthesemanticweb.com/


[Plugins]
LoadPath                        = /opt/virtuoso7/lib/virtuoso/hosting
Load1                           = plain, wikiv
Load2                           = plain, mediawiki
Load3                           = plain, creolewiki
;Load4                  = plain, im
;Load5          = plain, wbxml2
;Load6                  = plain, hslookup
;Load7                  = attach, libphp5.so
;Load8                  = Hosting, hosting_php.so
;Load9                  = Hosting,hosting_perl.so
;Load10         = Hosting,hosting_python.so
;Load11         = Hosting,hosting_ruby.so
;Load12                         = msdtc,msdtc_sample
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to