On Wednesday 12 May 2004 09:57, Piotras wrote: > Mike Blonder <[EMAIL PROTECTED]> wrote: > > repligard -a -i Asgard.xml.gz > > > > error message: > > > > repligard-CRITICAL **: Error in DB Connection > > > > What now? > > If there is correct username and his password in repligard.conf file,
I am not sure of this. The repligard.conf file follows: <?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.xml" name="midgard" username="midgard" password="midpass" encoding="ISO-8859-1" blobdir="/var/www/midgardblobs" /> <!-- 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="asgard" password="password" /> <!-- Use <include name="filename" /> to include another Repligard config file --> <!-- 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> > check if your mysql client uses the same socket file as the one used > with mysql server. > > You may run command like: > strace -o repligard.trace repligard -c /path/to/conf -i Asgard.xml.gz > > then check if there is any socket file missing in created trace file. OK, now I received a new error message after running the above command (# strace -o repligard.trace repligard -c /usr/local/etc/repligard.conf -i Asgard.xml.gz) repligard-CRITICAL **: Error logging into Database Therefore, I cannot get results of strace to determine if any socket file is missing. Any thoughts on where to go from here? Thanks Mike > > Piotras > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
