Discussion:
[Opendnssec-user] Relax-NG validity error : Extra element Host in interleave
Bas van den Dikkenberg
2016-11-19 12:02:37 UTC
Permalink
HI all,

Solved the problem i remove port number.
Maybe I should be removed from documentation ?


Bas


Van: Bas van den Dikkenberg
Verzonden: zaterdag 19 november 2016 12:56
Aan: opendnssec-***@lists.opendnssec.org
Onderwerp: Relax-NG validity error : Extra element Host in interleave

Hi,

I am trying to do fresh setup of opendnssec

When I try to setup my mysql database I get the error :

***@scripting:/var/lib/opendnssec/db# ods-enforcer-db-setup
*WARNING* This will erase all data in the database; are you sure? [y/N] y
Relax-NG validity error : Extra element Host in interleave
/etc/opendnssec/conf.xml:52: element Host: Relax-NG validity error : Element MySQL failed to validate content
Error: unable to load configuration!
***@scripting:/var/lib/opendnssec/db#

my datastore setup looks like this in conf.xml

<Datastore>
<MySQL>
<Host port="3306">localhost</Host>
<Database>opendnssec</Database>
<Username>opendnssec</Username>
<Password>************</Password>
</MySQL>
</Datastore>


Any one an idea.

I used the schema.mysql from the source file to setup the database

With kind regards,


Bas
Bas van den Dikkenberg
2016-11-19 11:55:45 UTC
Permalink
Hi,

I am trying to do fresh setup of opendnssec

When I try to setup my mysql database I get the error :

***@scripting:/var/lib/opendnssec/db# ods-enforcer-db-setup
*WARNING* This will erase all data in the database; are you sure? [y/N] y
Relax-NG validity error : Extra element Host in interleave
/etc/opendnssec/conf.xml:52: element Host: Relax-NG validity error : Element MySQL failed to validate content
Error: unable to load configuration!
***@scripting:/var/lib/opendnssec/db#

my datastore setup looks like this in conf.xml

<Datastore>
<MySQL>
<Host port="3306">localhost</Host>
<Database>opendnssec</Database>
<Username>opendnssec</Username>
<Password>************</Password>
</MySQL>
</Datastore>


Any one an idea.

I used the schema.mysql from the source file to setup the database

With kind regards,


Bas
(Berry) A.W. van Halderen
2016-11-19 18:55:55 UTC
Permalink
Post by Bas van den Dikkenberg
I am trying to do fresh setup of opendnssec
*WARNING* This will erase all data in the database; are you sure? [y/N] y
Relax-NG validity error : Extra element Host in interleave
/etc/opendnssec/conf.xml:52: element Host: Relax-NG validity error : Element MySQL failed to validate content
Error: unable to load configuration!
Apparently the "Port" attribute is case sensitive. XML is case sensitive in
general, but as a general user friendliness case is ignored by groups.
The example in the documentation is incorrect in giving "port" rather
than "Port", the other parts seem to be corrent.

Good one to point out though, thanks.
I guess not many people run MySQL on a different port though.

\Berry
Post by Bas van den Dikkenberg
my datastore setup looks like this in conf.xml
<Datastore>
<MySQL>
<Host port="3306">localhost</Host>
<Database>opendnssec</Database>
<Username>opendnssec</Username>
<Password>************</Password>
</MySQL>
</Datastore>
Any one an idea.
I used the schema.mysql from the source file to setup the database
With kind regards,
Bas
_______________________________________________
Opendnssec-user mailing list
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
--
N: (Berry) A.W. van Halderen
E: ***@nlnetlabs.nl
O: NLnet Labs
W: http://www.nlnetlabs.nl/
Yuri Schaeffer
2016-11-21 09:07:35 UTC
Permalink
Post by Bas van den Dikkenberg
Solved the problem i remove port number.
Maybe I should be removed from documentation ?
Changed 'port' with 'Port' in 1.4 and 2.0 documentation.

//Yuri

Loading...