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

Make fails

Open neuswim opened this issue 10 years ago • 12 comments

VAD Sticker vad_fs.xml creation...
VAD Sticker vad_dav.xml creation...
Starting Virtuoso server ...
The VDBMS server process terminated prematurely
after opening the database.
_**FAILED: Could not start Virtuoso Server within 120 seconds
make[2]: *_\* [conductor_dav.vad] Error 1

How to solve?

neuswim avatar Jul 26 '14 08:07 neuswim

Are you sure a Virtuoso instance is not already running on the default ports of 1111/8890? This is the most common cause of such an error, thus please check to ensure no Virtuoso instances are running, and retry.

Or you can use the configure command to set the default port to be different with the --with-port= option

HughWilliams avatar Jul 28 '14 16:07 HughWilliams

@HughWilliams The --with-port= is to assign the SQL port (1111 default), could you tell me how to change the port for 8890 (is it the HTTPSERVER port?)? It seems that 8890 has been established.

youngia avatar Jul 29 '14 06:07 youngia

Only the SQL port is used during a build, so there is no configure option to change the HTTP port, as it is not used. If you want to change the HTTP port for general use, then you just edit the Virtuoso configuration file (virtuoso.ini). There is a ServerPort setting in the [HTTPServer] section where it can be changed ...

HughWilliams avatar Jul 29 '14 08:07 HughWilliams

Thanks for your reply @HughWilliams . I have changed the port number as 1024, however, the error is still there, as follows:

CREATING VAD PACKAGE FOR VIRTUOSO CONDUCTOR (mkvad.sh)

= Tue Jul 29 17:57:28 CST 2014

cp: omitting directory `dav'
cp: omitting directory`help'
cp: omitting directory `images'
cp: omitting directory`syntax'
cp: omitting directory `vad'
cp: omitting directory`dav/image'
cp: omitting directory `dav/image/dav'
cp: omitting directory`images/buttons'
cp: omitting directory `images/dav_browser'
cp: omitting directory`images/icons'
cp: omitting directory `/home/xx/virtuoso-opensource-develop-7/binsrc/oat/images/markers'
VAD Sticker vad_fs.xml creation...
VAD Sticker vad_dav.xml creation...

Starting Virtuoso server ...
The VDBMS server process terminated prematurely
after opening the database.
_**FAILED: Could not start Virtuoso Server within 120 seconds
make[2]: *_\* [conductor_dav.vad] Error 1
make[2]: Leaving directory `/home/xx/virtuoso-opensource-develop-7/binsrc/yacutia'

make[1]: **\* [all-recursive] Error 1
make[1]: Leaving directory `/home/xx/virtuoso-opensource-develop-7/binsrc'
make: **\* [all-recursive] Error 1

And the output file (/binsrc/yacutia/mkvad.output) is as follows:

CREATING VAD PACKAGE FOR VIRTUOSO CONDUCTOR (mkvad.sh)

= Tue Jul 29 17:57:28 CST 2014

VAD Sticker vad_fs.xml creation...
VAD Sticker vad_dav.xml creation...

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

Starting Virtuoso server ...
***FAILED: Could not start Virtuoso Server within 120 seconds

hope for your further help

youngia avatar Jul 29 '14 10:07 youngia

Additionally, the log file at (/binsrc/yacutia/vad.log) is as follows:

            Wed Jul 30 2014

15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at ':=' before 'concat' -- subj_text := concat (split[0], ':', split[2]);
http_escape (subj_text, 3, ses, 1, 1);
http (']">...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at '{' immediately before end of line -- {
if (prev_subj is not null)
http ('\n</td></tr>', ses);
split := sparql_iri_split_rdfa_qname (s...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at 'if' before '(' -- if (sameas is not null)
http ('  define input:same-as <' || sameas || '>\n', ses);
http ('select...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: Too many closing parentheses at ')' before ';' -- s_obj);
}
}
maps := subseq (maps, 0, maps_len-1);
maps_len := maps_len - 1;
}
if (maps_len > 0)
...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at ';' -- classiri;
}
if (DB.DBA.RDF_QM_ASSERT_JSO_TYPE (classiri, 'http://www.openlinksw.com/schemas/virt...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at 'coltype' before ',' -- (coltype, o_dt);
}
if (o_lang is not null)
{
if (__tag (o_lang) = __tag of vector)
{
if (o_lang[...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 6: syntax error at '';
}
if (qm_is_default is not null)
{
if (qm_order is not null)
signal ('' before '22023' -- nds';
}
if (qm_is_default is not null)
{
if (qm_order is not null)
signal ('22023', 'ORDER optio...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at 'done' before '.' -- phs done...');
 ;
}
}

for (select RGGM_MEMBER_IID from DB.DBA.RDF_GRAPH_GROUP_MEMBER
where RGGM...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 2: syntax error at '',
'' before 'grant' -- _SELECT',
'grant execute on DB.DBA.RDF_FORMAT_RESULT_SET_AS_RDF_XML_ACC to SPARQL_SELECT',
'gran...
15:27:28 Error executing a server init statement : 42001: SR185: Undefined procedure DB.DBA.RDF_CREATE_SPARQL_ROLES. -- DB.DBA.RDF_CREATE_SPARQL_ROLES ()

15:27:28 Error compiling a server init statement : 37000: SQ074: Line 2: syntax error at 'goto' before 'g_done' -- result ('00000', 'The resource <' || service_iri || '> exists but does not contain any RDF data,...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 2: syntax error at 'else' before 'if' -- DB.DBA.RDF_TRIPLES_TO_ATOM_XML_TEXT (triples, 1, ses);
else if (ret_format = 'JSON;ODATA')
DB.DB...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at ''writing results'' before ')' -- ('writing results');
if (save_mode is not null)
{
declare status any;
if ((1 = length (metas[0])...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at '', '' before 'http' -- mat', 'http://www.w3.org/ns/formaD_COMPOSE (inout sd any, in host varchar, in complete integer)
...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at '/' before 'x' -- cation/x-turtle, application/turtle, application/xml, _/_';

{
declare mtd, new_origin_uri_save ...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at 'ret_content_type' before ',' -- (ret_content_type, 'application/rdf+n3') is not null or
strstr (ret_content_type, 'application/r...
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at 'DB' before '.' -- rom DB.DBA.SYS_USERS where U_NAME = http_map_get ('soap_uid'));
for select 0 as TP, P_NAME as op...
15:27:28 Error executing a server init statement : 22007: XM003: XML parser detected an error:
        ERROR  : More end tags than start tags
at line 4 column 21 of 'http://local.virt/soap_sch'
          /xsl:if
-------------------^
 --      <attribute ref="enc:arrayType" wsdl:arrayType
15:27:28 Error compiling a server init statement : 37000: SQ074: Line 1: syntax error at '=' before '\' -- name=\'Supporting\' type=\'wsse:SecurityTokenReferenceType\' />\n', ses);
http ('  <xs:element n...
15:27:28 Error executing a server init statement : 42001: SR185: Undefined procedure DB.DBA.WSRM_WSS0212_XSD. -- SOAP_LOAD_SCH (WSRM_WSS0212_XSD (), null, 0, 0)

15:27:28 Error executing a server init statement : 22007: XM003: XML parser detected an error:
        ERROR  : Character data are not allowed here by XML structure rules
at line 1 column 2 of 'http://local.virt/vspx_expand'
ribute name="name"><xsl:value-of select="$p" />_<xsl:value-of select="$c" />_h
-^
 -- ribute name="name"><xsl:value-of select="$p" />_<x

youngia avatar Jul 30 '14 07:07 youngia

I am with the same problem #228 and it is the same as #55

Any help?

Kellli avatar Aug 14 '14 23:08 Kellli

Hi @youngia

Any evolution on your issue? I am getting the same messages on vad.log.

Thanks

Kelli

vad.log

...
18:19:00 Error executing a server init statement : 22007: XM003: XML parser detected an error:
        ERROR  : Character data are not allowed here by XML structure rules
at line 1 column 2 of 'http://local.virt/vspx_expand'
ribute name="name"><xsl:value-of select="$p" />_<xsl:value-of select="$c" />_h
-^
 -- ribute name="name"><xsl:value-of select="$p" />_<x

Kellli avatar Aug 19 '14 00:08 Kellli

I do not solve it. I just change another installing method, install from ubuntu package.

youngia avatar Aug 19 '14 14:08 youngia

Thanks, @youngia for your prompt response.

Does Virtuoso 7 available on ubuntu package?

I have only found Virtuoso 6.1.

Kelli

root@prodgrecosite:~# apt-cache search virtuoso
libvirtodbc0 - high-performance database - ODBC libraries
virtuoso-minimal - high-performance database - core dependency package
virtuoso-nepomuk - transitional package for virtuoso-minimal
virtuoso-opensource-6.1-bin - high-performance database - binaries
virtuoso-opensource-6.1-common - high-performance database - common files
akonadi-backend-odbc - ODBC storage backend for Akonadi
libvirtuoso5.5-cil - high-performance database - Mono assemblies
virtuoso-opensource - high-performance database
virtuoso-opensource-6.0 - transitional package for virtuoso-opensource-6.1
virtuoso-opensource-6.1 - high-performance database - support files
virtuoso-server - high-performance database - server dependency package
virtuoso-vad-bpel - high-performance database - BPEL module
virtuoso-vad-conductor - high-performance database - conductor module
virtuoso-vad-demo - high-performance database - demo module
virtuoso-vad-doc - high-performance database - documentation module
virtuoso-vad-isparql - high-performance database - iSPARQL module
virtuoso-vad-ods - high-performance database - Open Data Spaces module
virtuoso-vad-rdfmappers - high-performance database - RDF mappers module
virtuoso-vad-sparqldemo - high-performance database - SPARQL demo module
virtuoso-vad-syncml - high-performance database - SyncML module
virtuoso-vad-tutorial - high-performance database - tutorial module
virtuoso-vsp-startpage - high-performance database - web interface files

Kellli avatar Aug 19 '14 15:08 Kellli

I am not quit sure. I only found Virtuoso 6.1 and installed this version.

youngia avatar Aug 19 '14 15:08 youngia

On 19 August 2014 01:51, Kellli [email protected] wrote:

18:19:00 Error executing a server init statement : 22007: XM003: XML parser detected an error:

The usual things to consider here are the versions of gawk and bison you're using and the locale settings (LC_ALL, LANG - try setting these to C). Could you perhaps post and check these?

~Tim

Tim Haynes Product Development Consultant OpenLink Software http://www.openlinksw.com/ http://twitter.com/openlink

openlink avatar Aug 19 '14 16:08 openlink

Thanks, Tim @openlink, for the new guidelines. After followed then, here the outputs:

The vad.log and mkvad.output still with the same messages.

1 -

root@prodgrecosite:~# locale
LANG=C
LANGUAGE=en_US.UTF-8
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

2 -

root@prodgrecosite:~/virtuoso-opensource# gawk --version
GNU Awk 3.1.1

root@prodgrecosite:~/virtuoso-opensource# bison --version
bison (GNU Bison) 2.3

3 - fresh login

./configure
make

---

Making all in yacutia
make[2]: Entering directory `/root/virtuoso-opensource/binsrc/yacutia'
PATH="/root/virtuoso-opensource/binsrc/virtuoso:/root/virtuoso-opensource/binsrc                                                                                                             /tests:.:$PATH" PORT=1111 HOME="/root/virtuoso-opensource" HOST=localhost /bin/b                                                                                                             ash ./mkvad.sh

# 

=  CREATING VAD PACKAGE FOR VIRTUOSO CONDUCTOR (mkvad.sh)

# =  Tue Aug 19 10:29:20 BRT 2014

cp: omitting directory `dav'
cp: omitting directory`help'
cp: omitting directory `images'
cp: omitting directory`syntax'
cp: omitting directory `vad'
cp: omitting directory`dav/image'
cp: omitting directory `dav/image/dav'
cp: omitting directory`images/buttons'
cp: omitting directory `images/dav_browser'
cp: omitting directory`images/icons'
cp: omitting directory `/root/virtuoso-opensource/binsrc/oat/images/markers'
VAD Sticker vad_fs.xml creation...
VAD Sticker vad_dav.xml creation...
Starting Virtuoso server ...
The VDBMS server process terminated prematurely
after opening the database.
***FAILED: Could not start Virtuoso Server within 120 seconds
make[2]: *** [conductor_dav.vad] Error 1
make[2]: Leaving directory`/root/virtuoso-opensource/binsrc/yacutia'
make[1]: **\* [all-recursive] Error 1
make[1]: Leaving directory `/root/virtuoso-opensource/binsrc'
make: **\* [all-recursive] Error 1

Kellli avatar Aug 19 '14 17:08 Kellli