Beginner having trouble starting the HTTP server
Monday, 29 September 2014 · 2 messages
S
spaelti29 Sep 2014 10:47 #
I have tried installing BaseX (both 7.9 and 8 beta) on two machines (both macs) and the GUI works fine.
I have now tried following the instructions in “BaseX for dummies” and am having difficulties, when I try to run the HTTP server. On one machine I get the following message:
/usr/local/bin/basexhttp: line 11: cd: /usr/local/Cellar/basex/7.9/libexec/../basex: No such file or directory BaseX 7.9 [Server]
Server was started (port: 1984)
HTTP Server was started (port: 8984)
The server seems to be running, but the browser gives me a 404 with this message:
HTTP ERROR 404
Problem accessing /. Reason:
No function found that matches the request.
Powered by Jetty://
“BaseX for dummies” writes: “ … move all the files in the BaseX folder that you modified after installing BaseX … to another location and try again” What does that mean? Where should I move these files to? I didn’t modify any files after installing BaseX.
On the other machine, I simply get the message: “command not found” in response to the command “basexhttp”, even though I am in the bin folder and the basexhttp script is present and executable.
Any suggestions about what I could try next would be welcome. best
Philip Spaelti
spaelti at mac.com
S
spaelti29 Sep 2014 11:23 #
In partial answer to my own question, I find that despite the error messages I can actually get it to work. So I just ignore the messages? And “moving the files” seems to mean “move the files to the BaseXWeb folder in my home folder”.
However one point that I still do not understand is that the guide is very insistent on the need for authorisation via password. But at no time to I get asked to input a password. Is this normal?
Philip
Quoted text · spaelti · 34 lines
On Sep 29, 2014, at 17:47 , spaelti <spaelti at mac.com> wrote: > I have tried installing BaseX (both 7.9 and 8 beta) on two machines (both macs) and the GUI works fine. > > I have now tried following the instructions in “BaseX for dummies” and am having difficulties, when I try to run the HTTP server. > On one machine I get the following message: > > /usr/local/bin/basexhttp: line 11: cd: /usr/local/Cellar/basex/7.9/libexec/../basex: No such file or directory > BaseX 7.9 [Server] > Server was started (port: 1984) > HTTP Server was started (port: 8984) > > The server seems to be running, but the browser gives me a 404 with this message: > > HTTP ERROR 404 > Problem accessing /. Reason: > No function found that matches the request. > Powered by Jetty:// > > “BaseX for dummies” writes: “ … move all the files in the BaseX folder that you modified after installing BaseX … to another location and try again” > What does that mean? Where should I move these files to? I didn’t modify any files after installing BaseX. > > On the other machine, I simply get the message: “command not found” in response to the command “basexhttp”, even though I am in the bin folder and the basexhttp script is present and executable. > > Any suggestions about what I could try next would be welcome. > best > > > Philip Spaelti > spaelti at mac.com > > > > >
---------------------------------------------------
Philip Spaelti
Kobe Shoin Women's University, Graduate school
---------------------------------------------------
Written for BaseX 7.9. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery