On Tue, 19 Feb 2002, Carl Bowden wrote:
> correct  password & login's etc and checked these do work
> off the command line.

The output you discribe is what I've seen only when the password
combination was incorrect.

> I have also tried it with and without  <replicate
> all="yes"/> and 'schema="/usr/local/share/midgard/repligard_withsg.xml"'
> or 'schema="/usr/local/share/midgard/repligard.xml"'

As importing from the withsg.xml has a bug that places objects in the
wrong sitegroup, I suggest using the vanilla version.

> this is some of the output with -d -d set
> repligard -d -d -c /usr/local/etc/SmartWEB_001.rgd -m
> repligard-Message: Reading config file
> /usr/local/etc/SmartWEB_001.rgd
> repligard-Message: Making missing GUIDs...

> REPLIGARD/SCHEMA-Message: ADDING OBJ article 
> REPLIGARD/SCHEMA-Message: Storing Link:   person 6
> REPLIGARD/SCHEMA-Message: Storing Link:   person 6
> ....
> REPLIGARD/SCHEMA-Message: reverse linking oid sitegroup
> tablename id
> REPLIGARD/SCHEMA-Message: reverse linking oid article
> tablename id
> REPLIGARD/SCHEMA-Message: reverse linking oid eventmember
> tablename id
> which looks great, but it just doesn't do any thing!

Well, it should make GUIDS for any object in your db not having a GUID
yet. And at least it tells you and me that the database username/password
combination in your /usr/local/etc/SmartWEB_001.rgd is correct.


> so a test with 'repligard -a -c
> /usr/local/etc/SmartWEB_001.rgd  -e test.xml.gz ; zcat
> test.xml.gz '
> produces this:
> <?xml version="1.0" encoding='ISO-8859-1'?>
> <Database xmlns="http://www.midgard-project.org/repligard/1.4";>
> </Database>

looks like something goes wrong with the login information in your
configuration file.

  <!-- Login account description for Repligard operation -->
  <!-- Always use 'username+sitegroup' when logging into specific
sitegroup -->
  <!-- because there is no information elsewhere for Repligard to choose
-->
  <!-- correct sitegroup if it is unspecified -->
  <!-- Sitegroup administrators should login as 'username*sitegroup' -->
  <login
    username="rootuser*sitegroup"
    password="notasecretnow"
  />

I've been succesfull exporting sitegroups with rootuser*sitegroup in every
incarnation since it's first 1.4 appearance...

> should i go back a step with repligard? eg 1.4.1

.. I don't think there is a need for that.

wkr,

-- 
Envida                     http://www.envida.net/
Armand A. Verstappen       Graadt van Roggenweg 328
[EMAIL PROTECTED]       3531 AH Utrecht
tel: +31 (0)30 298 2255    Postbus 19127
fax: +31 (0)30 298 2111    3501 DC Utrecht


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to