Hi Simon
I see at the bottom of this fedora.server.Server.pidFromFilename - which
suggests that there's some problem with the name of one of the FOXML files
in the data/objects directory.
Could you list all of the files in that directory (recursively, something
like ls -R) and see if there's anything suspicious?
In the filenames, the ":" in the pid is represented by underscore "_" - so
possibly a filename with no underscore in it could cause the issue.
Regards
Steve
-----Original Message-----
From: Simon W Lamb [mailto:[email protected]]
Sent: 01 October 2009 14:17
To: [email protected];
[email protected]
Cc: Richard Green
Subject: [Fedora-commons-developers] PID delimiter (:) is missing...
Hi all,
I thought I'd quickly post up this problem I'm having just in case anybody
else has experienced it and has an easy answer. I'm trying to rebuild the
database with Fedora 3.2.1. On rebuilding I am are getting the following
output:-
Rebuilding...
Cleaning up table: datastreampaths
Cleaning up table: dcdates
Cleaning up table: dofields
Cleaning up table: doregistry
Cleaning up table: modeldeploymentmap
Cleaning up table: objectpaths
Cleaning up table: pidgen
fedora.server.errors.LowlevelStorageException: ending rebuild unsuccessfully
PID delimiter (:) is missing. PID delimiter (:) is missing.
at
fedora.server.storage.lowlevel.DBPathRegistry.rebuild(DBPathRegistry.java:21
6)
at
fedora.server.storage.lowlevel.DefaultLowlevelStorage$Store.rebuild(DefaultL
owlevelStorage.java:210)
at
fedora.server.storage.lowlevel.DefaultLowlevelStorage.rebuildObject(DefaultL
owlevelStorage.java:90)
at
fedora.server.storage.lowlevel.DefaultLowlevelStorageModule.rebuildObject(De
faultLowlevelStorageModule.java:140)
at
fedora.server.utilities.rebuild.SQLRebuilder.start(SQLRebuilder.java:131)
at fedora.server.utilities.rebuild.Rebuild.<init>(Rebuild.java:107)
at fedora.server.utilities.rebuild.Rebuild.main(Rebuild.java:420)
Caused by: fedora.server.errors.LowlevelStorageException: PID delimiter (:)
is missing. PID delimiter (:) is missing.
at
fedora.server.storage.lowlevel.PathAlgorithm.decode(PathAlgorithm.java:49)
at
fedora.server.storage.lowlevel.PathRegistry.traverseFiles(PathRegistry.java:
114)
at
fedora.server.storage.lowlevel.PathRegistry.traverseFiles(PathRegistry.java:
94)
at
fedora.server.storage.lowlevel.PathRegistry.traverseFiles(PathRegistry.java:
191)
at
fedora.server.storage.lowlevel.DBPathRegistry.rebuild(DBPathRegistry.java:21
0)
... 6 more
Caused by: fedora.server.errors.MalformedPidException: PID delimiter (:) is
missing.
at fedora.server.Server.pidFromFilename(Server.java:1375)
at
fedora.server.storage.lowlevel.PathAlgorithm.decode(PathAlgorithm.java:46)
... 10 more
SUCCESS: 0 objects rebuilt.
Finished.
On thinking that I might have an invalid foxml object file, I deleted all
the objects from data/objects, and restarted fedora. Obviously at this
point Fedora creates the basic content model definition objects, which will
be valid foxml. However, if I shutdown fedora and try the rebuild again it
gives me the exact same error, which appears to suggest that it's not object
related?
Is this something stupid I'm doing? I'm going to try a few different ideas
now, but thought I'd post it up here on the off chance that it's something
someone has experienced before.
Simon W Lamb
Software Developer,
IT Systems,
Academic Services
University of Hull
[email protected]
http://www.hull.ac.uk/esig/repomman/
http://www.hull.ac.uk/remap/
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers