thanks for the info, currently in testing I am working on the same node. But in the near future after setting stuff up I suppose there will be a need to work on separate nodes as other developers will also need to run queries etc.
On Wed, Nov 7, 2012 at 4:12 PM, Andria Arisal andria.arisal@gmail.com wrote:
Hi Bryan,
Are you working with one node which acts as basexserver and basexclient or two different nodes (node-s as basexserver and node-c as basexclient).
if you are working with two different nodes, you have to edit .basex on both nodes.
- server; where you specify where will you save basex database (you (the
user who starts basexserver) need to have read/write access to that directory) [changing /data-test/... to /home/[user]/data-test/... might help] 2. client; where you specify hostname/ipaddress of your basexserver node.
regarding to those errors on basexserver's log, it looks like that you do not have/installed required jars (libraries) (in that case: tagsoup).
on previous email if you want to get more verbose output, you can add -V or -d on your client command.[1]
[1] http://docs.basex.org/wiki/Startup_Options#BaseX_Client
regards, -andria
On Wed, Nov 7, 2012 at 3:52 PM, Dirk Kirsten dk@basex.org wrote:
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.com wrote:
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
-- Dirk Kirsten, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk