> > 3) Then I edited he repligard.conf. I duplicated the > block of codes which define the database, thus the > conf file has both midgardlive and midgardstaging > defined in it. >
You need separate repligard config files for the databases. I suggest naming them accordingly (then use repligard -c conffile.conf) personally I never use the system-wide repligard.conf for anything I always make a copy and edit it as neccessary, in fact to avoid accidents (replicating stuff into wrong db) the common repligard.conf on my systems has nonexistant db, user and password. > 4) I used repligard to import the M5.xmlgz file > > No body told me to do it this way, and I know I am > wrong. > > Can you tell me the story in details : how did u > install M5 and get two servers running? > > and does the aproving function work? > Only nadmin installations I have personally got working with the staging/live setup was using RPMs from HKLC (not that I really bothered to try doing it by hand after running into some complicaties). But to get the approving to work you need the Perl and shell scripts that tweak the databases before they call repligard (they should prevent unapproved articles from replicating but this does not always work, I'm not sure why exactly). In theory it goes like this: 0) install midgard, php, apache etc. 1) create live and staging dbs 2) use repligard to import Nadmin to both dbs 3) install the scripts used in approving (and set up cron to call them), you might want to install the system admin scrips as well (ones that auto-generate midgard-data.conf for you) 4) create new company (SG) 5) create new website (nadmin should automatically create both the port 8001 and 80 hosts, as well attachment host) 6) if you didn't install the system admin scripts fill in needed data to midgard-data.conf (separate entries for both ports since they use different dbs) 7) check that your staging environment works 8) try the approvals -- Eero af Heurlin [EMAIL PROTECTED] Consultant Partner Tel: +358 (0)20 198 6035 Nemein Solutions Oy http://www.nemein.com/ Nadmin Studio and Midgard support at 0600-1-2552 available for Finnish customers. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
