Greetings!

I'm running the latest CVS snapshot (1.4.1-cvs-20010719/SG) on my
system. I'm trying to export a site I've built to another box. However,
Repligard keeps segfaulting on export, both as root and as the mysql
user.

I've attached my repligard.conf, and can also send the core file
on request.

$ repligard -c /tmp/repligard.conf -a -e /tmp/test.xmlgz
Message: Reading config file /tmp/repligard.conf
Message: Exporting to /tmp/test.xmlgz
Segmentation fault (core dumped)

$ ls -la core 
-rw-------    1 mysql    mysql     1384448 Jul 19 10:33 core

$ ls -la test.xmlgz 
-rw-rw-r--    1 mysql    mysql           0 Jul 19 10:33 test.xmlgz

-- 
Henri Kaukola                           [EMAIL PROTECTED]
Consultant Trainee                      Tel: +358-40-8268 934
Nemein Solutions Oy                     http://www.nemein.com
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Id: repligard.conf.in,v 1.5 2001/03/23 18:53:53 ab Exp $ -->
<!DOCTYPE Repligard [
<!ELEMENT Repligard (database?,login?,replicate?)>

<!ELEMENT database EMPTY>
<!ATTLIST database schema CDATA #REQUIRED>
<!ATTLIST database name CDATA #REQUIRED>
<!ATTLIST database username CDATA #REQUIRED>
<!ATTLIST database password CDATA #REQUIRED>
<!ATTLIST database encoding CDATA #REQUIRED>
<!ATTLIST database blobdir CDATA #REQUIRED>

<!ELEMENT login EMPTY>
<!ATTLIST login username CDATA #REQUIRED>
<!ATTLIST login password CDATA #REQUIRED>

<!ELEMENT replicate (resource*)>
<!ATTLIST replicate all (yes|no) 'no'>

<!ELEMENT resource EMPTY>
<!ATTLIST resource type CDATA #IMPLIED>
<!ATTLIST resource id CDATA #IMPLIED>
<!ATTLIST resource guid CDATA #IMPLIED>
]>
<Repligard xmlns="http://www.midgard-project.org/repligard/1.4";>
        <!-- Database description -->
        <!-- Path to optionally compressed Repligard schema file -->
        <!-- Note that if you want to replicate whole sitegroup, then -->
        <!-- religard_withsg.xml schema should be referenced here  -->
        <!-- instead of repligard.xml -->
        <database
                schema="/usr/local/share/midgard/repligard_withsg.xml"
                name="midgard"
                username="midgard"
                password="midgard"
                encoding="ISO-8859-1"
                blobdir="/var/www/blobs"
        />
        <!-- 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="admin"
                password="password"
        />
        
        <!-- Use <include name="filename" /> to include another Repligard config file 
-->
        <replicate>
                <resource id="14" type="group" />
        </replicate>    
        <!-- Description of the exportable resources -->
        <!--
        <replicate all="yes"/>
        -->
        <!-- replicate section can contain references for additional resource trees -->
        <!-- that should be replicated. In this case attribute 'all' shouldn't be used 
-->
        <!-- and section itself looks like: -->
        <!-- <replicate> -->
        <!-- First form: referencing resource by its local ID and type (table name) 
from schema file -->
            <!--
                <resource id="some-local-id-of-resource" type="name-of-resource" />
            -->
        <!-- Second form: referencing resource by its globally unique ID (GUID) -->
            <!--
                <resource guid="some-guid-of-resource" />
            -->
        <!-- </replicate> -->
</Repligard>

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

Reply via email to