Hello Bryan,
looks like the user you are using to start BaseX does not have read and write access to the BaseXData/ path. This is a requirement, because otherwise BaseX can not write the required internal information into this directory. Simply change the permissions accordingly.
Cheers, Dirk
On Wed, Nov 7, 2012 at 3:45 PM, bryan rasmussen rasmussen.bryan@gmail.comwrote:
Ok well I edited my .basex config file to say:
# Property File. # You can set additional options at the end of the file.
DBPATH = /data-test/BaseXData HTTPPATH = /home/u0123444/BaseXHTTP REPOPATH = /data-test/BaseXRepo LANG = English LANGKEYS = false HOST = localhost PORT = 1984 SERVERHOST = SERVERPORT = 1984 EVENTPORT = 1985 HTTPPORT = 8984 STOPPORT = 8985 PROXYHOST = PROXYPORT = 80 NONPROXYHOSTS = TIMEOUT = 30 KEEPALIVE = 600 DEBUG = false PARALLEL = 8 # User defined section
I created a folder BaseXData and BaseXRepo under /data-test
I made a folder BaseXData/.logs when I start basexserver I get
/usr/bin/build-classpath: error: Could not find tagsoup Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found java.io.FileNotFoundException: /data-test/BaseXData/.logs/2012-11-07.log (Permission denied) java.io.FileOutputStream.openAppend(Native Method) java.io.FileOutputStream.<init>(FileOutputStream.java:192) org.basex.server.Log.create(Unknown Source) org.basex.server.Log.<init>(Unknown Source) org.basex.BaseXServer.<init>(Unknown Source) org.basex.BaseXServer.<init>(Unknown Source) org.basex.BaseXServer.main(Unknown Source) BaseX 7.3 [Server] Server was started.
When I do basexclient -c "CREATE DB dk /data-test/dk"
(/data-test/dk path exists)
I get /data-test/BaseXData/dk/tbl.basex (No such file or directory)
I tried to create the same db earlier before changing my config so I just tried with a new db name I haven't tried before and I still got /data-test/BaseXData/newDBNAME/tbl.basex (No such file or directory)
When I do basexclient -c LIST it says
name Resources Size Input Path
0 Databases.
Thanks, Bryan Rasmussen
On Wed, Nov 7, 2012 at 3:08 PM, bryan rasmussen rasmussen.bryan@gmail.com wrote:
ok I guess I found the config setting
http://docs.basex.org/wiki/Options#DBPATH
Thanks, Bryan
On Wed, Nov 7, 2012 at 3:00 PM, bryan rasmussen rasmussen.bryan@gmail.com wrote:
Hi,
I have to move ./BaseXData out to a mounted drive, is that possible with configuration and is there any performance problems associated with it?
Thanks, Bryan Rasmussen
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk