Dieter Heine wrote: > dheine@insight:~/midgard/midgard-data-test$ repligard -c repligard.conf > -i Bremgard-1.6.xml.gz > Message: Reading config file repligard.conf > Message: Importing Bremgard-1.6.xml.gz > > ** CRITICAL **: Error writing BLOB: cannot open file > /var/www/blobs/3/2/218a89b3edeac59b509428a5c1b4e2fa for writing > > First I read the repligard README that tells how transfering of blobs > works. However the procedure there creates all blob dirs for the first > time. The blob dirs now already existed before and have ownerships > equal to apache uid+gid > I shrugged and tried to give write access by doing temporary chmod g+w > on the required file. Then the error messages differs:
Right. Repligard needs to run as the apache process when importing or exporting. > >dheine@insight:~/midgard/midgard-data-test$ repligard -c repligard.conf > -i Bremgard-1.6.xml.gz > >Message: Reading config file repligard.conf > >Message: Importing Bremgard-1.6.xml.gz > > >REPLIGARD/READ-CRITICAL **: Failed to allocate delayed resource > d5103eefe1350478568aa951ebc55e9e as a link sitegroup for blobs. > >dheine@insight:~/midgard/midgard-data-test$ Try the attached patch. It should report the reason why the allocation failed. > The former thread in the dev list kept advices from Emile, Alexander and > Armand. Though I had my doubts I am easy to convince again and open for > further hints. However I have no idea but got my doubts back. My doubt > is that repligard usually works with sets or databases from the same > midgard system and compatible GUIDs. While you could of course have stumbled upon a bug, the GUIDs are supposed to guarantee uniqueness across databases. > Now the sitegroup in the second > midgard system has completely different GUIDs. You said that every > unknown resource will be created. Right. > This doesnot seem to be always true. A > mysql log shows how finally the select request for the missing resource > fails. Are some GUIDs from the source system where the xml file was > exported required ? Maybe the import fails just because blobs cannot be > imported ? Possibly. Alexander knows most about how repligard handles problems. Emile
delayed-report.patch.gz
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
