Re: "Collection /db/system/security/exist/accounts cannot be created."
Michael Westbay <[email protected]> Tue, 22 Jul 2025 20:25:51 +0900
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Message-ID | <CAJ6MVuNDj9EzGm8mWpoJ7-Uuwnj8-R7AmrzaryWULSVuRbO9aw@mail.gmail.com> |
--===============7048373589935318121== Content-Type: multipart/alternative; boundary="000000000000637e4d063a82dcb3" --000000000000637e4d063a82dcb3 Content-Type: text/plain; charset="UTF-8" Hi Tony, Thanks, but still no luck. I don't have a 'run.sh'. [1] That's odd. I have eXist 3.x and the EXIST_HOME/bin directory has the following: backup.bat batch.d client.sh eXist_32x32.ico run.bat server.bat shutdown.bat startup.bat backup.sh client.bat deprecated functions.d *run.sh* server.sh shutdown.sh startup.sh These shell scripts make sure that all of the CLASS_PATH stuff gets setup properly for running the utilities like `org.exist.backup.ExportMain`. If you're on Windows, you would use `run.bat`. > After I made a > script that no longer bombed out from missing dependencies, I ran > 'org.exist.backup.ExportMain'. > > I got multiple messages of the form: > > INFO: None of content dirs exist: > '/usr/local/src/exist3-data/expathrepo/doc-0.4.7/content' and > '/usr/local/src/exist3-data/expathrepo/doc-0.4.7/doc' > Are you trying to execute from the build directory? Did you not run the installer to place it all in a user's directory? Are you running it from a container and pointing to a data directory on the host machine? > then I got: > > 17:09:17.550 [main] ERROR org.exist.storage.DBBroker - no data found at > tid 25; page 60995 > java.io.IOException: no data found at tid 25; page 60995 > at org.exist.storage.index.BFile.getAsStream(BFile.java:492) > ~[exist.jar:?] > at org.exist.storage.index.BFile.getAsStream(BFile.java:462) > ~[exist.jar:?] > at > org.exist.storage.NativeBroker.openCollection(NativeBroker.java:928) > [exist.jar:?] > ... > 17:09:17.554 [main] ERROR org.exist.storage.DBBroker - Collection > '/db/system/security/exist/accounts' found in subCollections set but is > missing from collections.dbx! > 17:09:17.569 [main] ERROR org.exist.storage.BrokerPools - Unable to > initialize database instance 'exist': > org.exist.storage.BrokerPoolServiceException: org.exist.EXistException: > java.io.IOException: Collection /db/system/security/exist/accounts > cannot be created. Before doing anything -- like bringing the eXist server back up, you want to make an emergency backup. Be sure to make the target a local directory that exists and that you have write permission for. I use "~/backup/date-reason" (where "date" is the date that it shut down and "reason" is "locked" or "out-of-memory"). The "backup" directory exists in my exist user's home directory. /usr/local/* is not usually writable by ordinary users. Let's start by locating where the EXIST_HOME/bin directory is. -- Michael Westbay Writer/System Administrator http://www.japanesebaseball.com/ --000000000000637e4d063a82dcb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>Hi Tony,</div><div><br></div></div><= div class=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"> Thanks, but still no luck. I don't have a 'run.sh'. [1]=C2=A0 <= /blockquote><div><br></div><div>That's odd. I have eXist 3.x and the EX= IST_HOME/bin directory has the following:</div><div><br></div><div style=3D= "margin-left:40px">backup.bat =C2=A0batch.d =C2=A0 =C2=A0 client.sh =C2=A0 = eXist_32x32.ico =C2=A0run.bat =C2=A0server.bat =C2=A0shutdown.bat =C2=A0sta= rtup.bat<br>backup.sh =C2=A0 client.bat =C2=A0deprecated =C2=A0functions.d = =C2=A0 =C2=A0 =C2=A0<b><span style=3D"background-color:rgb(255,255,255)">ru= n.sh</span></b> =C2=A0 server.sh =C2=A0 shutdown.sh =C2=A0 startup.sh</div>= <div><br></div><div>These shell scripts make sure that all of the CLASS_PAT= H stuff gets setup properly for running the</div><div>utilities=C2=A0like `= org.exist.backup.ExportMain`.</div><div><br></div><div>If you're on Win= dows, you would use `run.bat`.</div><div>=C2=A0</div><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex">After I made a<br> script that no longer bombed out from missing dependencies, I ran<br> 'org.exist.backup.ExportMain'.<br> <br> I got multiple messages of the form:<br> <br> INFO: None of content dirs exist: <br> '/usr/local/src/exist3-data/expathrepo/doc-0.4.7/content' and <br> '/usr/local/src/exist3-data/expathrepo/doc-0.4.7/doc'<br></blockquo= te><div><br></div><div>Are you trying to execute from the build directory? = Did you not run the installer to place it all in a</div><div>user's dir= ectory? Are you running it from a container and pointing to a data director= y on the host</div><div>machine?</div><div>=C2=A0</div><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex">then I got:<br> <br> 17:09:17.550 [main] ERROR org.exist.storage.DBBroker - no data found at <br= > tid 25; page 60995<br> java.io.IOException: no data found at tid 25; page 60995<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.exist.storage.index.BFile.getAsStream(BF= ile.java:492) ~[exist.jar:?]<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.exist.storage.index.BFile.getAsStream(BF= ile.java:462) ~[exist.jar:?]<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.exist.storage.NativeBroker.openCollectio= n(NativeBroker.java:928) <br> [exist.jar:?]<br> ...<br> 17:09:17.554 [main] ERROR org.exist.storage.DBBroker - Collection <br> '/db/system/security/exist/accounts' found in subCollections set bu= t is <br> missing from collections.dbx!<br> 17:09:17.569 [main] ERROR org.exist.storage.BrokerPools - Unable to <br> initialize database instance 'exist': <br> org.exist.storage.BrokerPoolServiceException: org.exist.EXistException: <br= > java.io.IOException: Collection /db/system/security/exist/accounts <br> cannot be created.</blockquote><div><br></div><div>Before doing anything --= like bringing the eXist server back up, you want to make an emergency</div= ><div>backup. Be sure to make the target a local directory that exists and = that you have write permission</div><div>for. I use "~/backup/date-rea= son" (where "date" is the date that it shut down and "r= eason" is "locked"</div><div>or "out-of-memory"). = The "backup" directory exists in my exist user's home directo= ry.</div><div><br></div><div>/usr/local/* is not usually writable by ordina= ry users.=C2=A0</div><div><br></div><div>Let's start by locating where = the EXIST_HOME/bin directory is.</div><div>=C2=A0</div></div><span class=3D= "gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_sign= ature">Michael Westbay<br>Writer/System Administrator<br><a href=3D"http://= www.japanesebaseball.com/" target=3D"_blank">http://www.japanesebaseball.co= m/</a></div></div> --000000000000637e4d063a82dcb3-- --===============7048373589935318121== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7048373589935318121== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Exist-open mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/exist-open --===============7048373589935318121==--