Hi Kat

I am not really sure where you problem might lie. Your repligard.conf file looks fine 
so I think that there must be some issue with your install as /var/www/blobs is not 
where your actually blobs directory is. Also is the address 127.0.0.2 correct in your 
compilation options for midgard-db. I have written up various installations I have 
done at http://www.sydney.wilderness.org.au/docs/node.php?id=237 so you might like to 
have a look at this and try your install again. 

Cheers
John


On Wed, 3 Sep 2003 15:33:48 -0700 (PDT)
Data Meister <[EMAIL PROTECTED]> wrote:

> Hi Again John,
> 
> Being a consummate newbie with Midgard, I am attaching
> my entire repligard.conf file in order that you will
> be able to see the user name and password used in the
> file.
> 
> The username, password, and name values listed in the
> file below are in sync with my mySQL database. 
> 
> 
> Initial mySQL Information =========
> name = cms
> hostname = localhost
> username = root
> password = datait
> 
> One thing to note:  After running dbinstall, the
> database, midgard user, and tables are created. 
> However, no tables (such as host) are populated.
> 
> Thank you very much for your patience!  
> 
> Kat--- (repligard.conf file contents are below.)
> 
> 
> 
> *** Begin repligard.conf *****
> <?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/midgard/share/midgard/repligard.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 -->
>       
> <!-- 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>
> 
> **** End repligard.conf ****
> 
> 
> 
> 
> 
> --- John Habermann <[EMAIL PROTECTED]> wrote:
> > On Tue, 2 Sep 2003 14:43:32 -0700 (PDT)
> > Data Meister <[EMAIL PROTECTED]> wrote:
> > 
> > > John ---
> > > 
> > > Thank you for your reply!  Per your suggestion, I
> > > checked the /usr/local/midgard/etc/repligard.conf
> > > file.  The file contained:
> > > 
> > > <database
> > >
> >
> schema="/usr/local/midgard/share/midgard/repligard.xml"
> > >           name="midgard"
> > >           username="midgard"
> > >           password="midgard"
> > >           encoding="ISO-8859-1"
> > >           blobdir="/var/www/blobs"
> > >   />
> > > 
> > > The password in this file is the one I use to
> > connect
> > > to the mySQL database.  Am I looking in the
> > correct
> > > location? I ask this question because the blobdir
> > > listed above is not correct for my installation. 
> > It
> > > should be /usr/local/apache/htdocs/blobs.
> > 
> > Hi Kat
> > 
> > What is the admin user and password listed as in
> > your repligard.conf file. This is a common problem
> > with repligard connecting to the database when you
> > have midgard installed already. Also is your
> > loopback device meant to be 127.0.0.2?
> > 
> > John
> > > 
> > > Again, thank you for your help!
> > > 
> > > Kat---
> > > 
> > > --- John Habermann <[EMAIL PROTECTED]> wrote:
> > > > Check to see what the password is in the
> > > > /usr/loca/midgard/etc/repligard.conf file. If
> > that
> > > > is wrong then repligard will not be able to
> > connect
> > > > to the database.
> > > > 
> > > > Cheers John
> > > > 
> > > > On Wed, 27 Aug 2003 16:30:54 -0700 (PDT)
> > > > Data Meister <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > Another (!) new user installation question...
> > > > > 
> > > > > I installed Midgard on the following system:
> > > > > 
> > > > > RedHat Linux Version 9
> > > > > Apache Version 1.3.28
> > > > > PHP Version 4.3.2
> > > > > MySQL Version 4.0.14
> > > > > 
> > > > > Tasks:
> > > > > 
> > > > > 1) Installed Midgard libraries using:
> > > > > 
> > > > > ./configure --prefix=/usr/local/midgard \
> > > > > --with-mysql=/usr/local/mysql \
> > > > > --with-expat
> > > > > 
> > > > > This was successful.
> > > > > 
> > > > > 2) Installed Midgard Database using:
> > > > > 
> > > > > ./configure --with-db-admin=root \
> > > > > --with-db-admin-password=datait \
> > > > > --with-db-user=midgard \
> > > > > --with-db-user-password=midgard \
> > > > > --with-db=midgard \
> > > > > --with-lang=en \
> > > > > --with-install=new  \
> > > > > --with-host=www.midgard.test \
> > > > > --with-ip=127.0.0.2 \
> > > > > --with-blobdir=/usr/local/apache/htdocs/blobs
> > \
> > > > > --with-apxs=/usr/local/apache/bin/apxs
> > > > > 
> > > > > This was successful.
> > > > > 
> > > > > 3) Ran dbinstall script.  I received the
> > following
> > > > > screen output:
> > > > > 
> > > > > **** Begin Output ********
> > > > > Creating Midgard database...
> > > > > Updating MySQL database...
> > > > > Creating blobdir...
> > > > > Skipping 1.2.5 admin site...
> > > > > Installing Asgard...
> > > > > repligard-Message: Reading config file
> > > > > install-repligard.conf
> > > > >  
> > > > > repligard-CRITICAL **: Error in DB connection
> > > > >
> > /tmp/midgard/midgard-data-1.5.0/midgard-data.conf
> > > > > contains configuration information for Apache.
> > > > > You should add it to Apache configuration file
> > > > before
> > > > > starting Midgard.
> > > > > ! Asgard as root at
> > > > http://www.midgard.test:80/asgard/
> > > > > using:
> > > > > <username>='admin' and <password>='password'
> > > > > 
> > > > > **** End Output *******
> > > > > 
> > > > > Notice the repligard-CRITICAL error.  The
> > midgard
> > > > > database gets built.  However, none of the
> > > > > expected tables are populated (such as the
> > host
> > > > table
> > > > > in the midgard database).
> > > > > 
> > > > > 4) This looks like it could be a database user
> > > > name
> > > > > and/or password error.  To test this, 
> > > > > I attempted to access the midgard database
> > using
> > > > the
> > > > > user names and databases in the
> > > > > ./configure above:
> > > > > 
> > > > > ./mysql --user=midgard --password=midgard
> > > > > --database=midgard
> > > > > 
> > > > > This was successful.
> > > > > 
> > > > > Has any one experienced this error before? Any
> > > > ideas?
> > > > > 
> > > > > Thank you all very much!
> > > > > 
> > > > > 
> > > > > 
> > > > > __________________________________
> > > > > Do you Yahoo!?
> > > > > Yahoo! SiteBuilder - Free, easy-to-use web
> > site
> > > > design software
> > > > > http://SiteBuilder.yahoo.com
> > > > > 
> > > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > > 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]
> > > > 
> > > 
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
> > > http://SiteBuilder.yahoo.com
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > 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]
> > 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to