Re: "Collection /db/system/security/exist/accounts cannot be created."

Tony Graham <[email protected]> Wed, 23 Jul 2025 13:02:01 +0100
Newsgroups gmane.text.xml.exist
Message-ID <[email protected]>
Michael,

Thanks for following through with this.

On 23/07/2025 09:00, Michael Westbay wrote:
> Okay. Let's first find EXIST_HOME by finding where the conf.xml file is.
> 
> find /usr/local -name conf.xml

It found multiple, but the ones of interest are:

/usr/local/src/exist3/installer/conf.xml
/usr/local/src/exist3/conf.xml

> If /usr/local is EXIST_HOME, then run.sh will be in /usr/local/bin along 
> with all of the other eXist executables.

The only things in '/usr/local/bin' are 'tracd' and 'trac-admin' for use
with Trac. (Still the best issue tracking/wiki system.)

> This conf.xml file will then specify where the data directory is:

'/usr/local/src/exist3/conf.xml' has:

     <db-connection cacheSize="256M" checkMaxCacheSize="true" 
collectionCache="64M" database="native"
         files="/usr/local/src/exist3-data" pageSize="4096" 
nodesBuffer="1000" cacheShrinkThreshold="10000"
         doc-ids="default" minDiskSpace="128M">

> You could also search for run.sh the same way:
> 
> find /usr/local -name run.sh

As before, I don't have a 'run.sh' (unless you count 'run.sh' for
Antenna House Formatter).

Running the Java installer as a non-root user has never given me a 'run.sh'.

I downloaded the 'run.sh' [1] for that eXist-db version from GitHub,
edited it to use the same Java alternative as used for the database, ran
it, and got:

----
cd "/usr/local/src/exist3/" ; ./bin/run.sh org.exist.backup.ExportMain 
-x -d /mnt/tmp
ERROR: Failed to open database: 
org.exist.storage.BrokerPoolServiceException: org.exist.EXistException: 
java.io.IOException: Collection /db/system/security/exist/accounts 
cannot be created.
----

If this can be solved, the problem then becomes that we don't know how
many other collections will have similar problems, so I'm not hopeful.

Regards,


Tony Graham.
-- 
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
[email protected]

[1] 
https://raw.githubusercontent.com/eXist-db/exist/refs/tags/eXist-3.0.RC2/bin/run.sh