Hi
fedora-rebuild.sh is throwing an error when I try to run option 3 "rebuild
the FeSL policy cache":
"unable to allocate memory for mutex; resize mutex region
Error: Error instantiating PolicyIndex
org.fcrepo.server.security.xacml.pdp.data.DbXmlPolicyIndex"
the rest of the stack trace is
org.fcrepo.server.security.xacml.pdp.data.PolicyIndexException: Error
instantiating PolicyIndex
org.fcrepo.server.security.xacml.pdp.data.DbXmlPolicyIndex
at
org.fcrepo.server.security.xacml.pdp.data.PolicyIndexFactory.newPolicyIndex(
PolicyIndexFactory.java:38)
at
org.fcrepo.server.security.xacml.pdp.data.PolicyIndexRebuilder.init(PolicyIn
dexRebuilder.java:70)
at
org.fcrepo.server.utilities.rebuild.Rebuild.getUserInput(Rebuild.java:316)
at
org.fcrepo.server.utilities.rebuild.Rebuild.main(Rebuild.java:392)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.fcrepo.server.utilities.rebuild.cli.CLILoader.main(CLILoader.java:77)
Caused by: org.fcrepo.server.security.xacml.pdp.data.PolicyStoreException:
Error: Cannot allocate memory
at
org.fcrepo.server.security.xacml.pdp.data.DbXmlManager.<init>(DbXmlManager.j
ava:157)
at
org.fcrepo.server.security.xacml.pdp.data.DbXmlPolicyIndex.init(DbXmlPolicyI
ndex.java:99)
at
org.fcrepo.server.security.xacml.pdp.data.DbXmlPolicyIndex.<init>(DbXmlPolic
yIndex.java:90)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.fcrepo.server.security.xacml.pdp.data.PolicyIndexFactory.newPolicyIndex(
PolicyIndexFactory.java:36)
... 8 more
Caused by: com.sleepycat.dbxml.XmlException: Error: Cannot allocate memory,
errcode = DATABASE_ERROR
at
com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_openContainerInternal__SWIG_0(N
ative Method)
at
com.sleepycat.dbxml.XmlManager.openContainerInternal(XmlManager.java:621)
at com.sleepycat.dbxml.XmlManager.openContainer(XmlManager.java:197)
at
org.fcrepo.server.security.xacml.pdp.data.DbXmlManager.<init>(DbXmlManager.j
ava:147)
... 17 more
I have tried rebuilding the SQL database and resource index from scratch
and then running it again - both run perfectly well, but makes no
difference. Does anyone have any ideas? Cant believe the underlying cause
is a memory problem
cat /proc/meminfo shows the following (our install sits on a linux ubuntu
box)
MemTotal: 2057832 kB
MemFree: 468324 kB
Buffers: 203732 kB
Cheers
Peri Stracchino
Digital Library Team
University of York
ext 4082
new email address [email protected]
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users