Riak服务器返回错误404

时间:2015-08-21 01:07:11

标签: riak

我在Centos 6盒子上安装了Riak 2并且我设法启动了Riak,但是当我尝试测试它时出现了这个错误:

curl -v http://<hostname>:8098/types/default/props
* About to connect() to <hostname> port 8098 (#0)
*   Trying <hostname>... connected
* Connected to <hostname> (<hostname>) port 8098 (#0)
> GET /types/default/props HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: <hostname>:8098
> Accept: */*
> 
< HTTP/1.1 404 Object Not Found
< Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
< Date: Fri, 21 Aug 2015 01:02:48 GMT
< Content-Type: text/html
< Content-Length: 193
< 
* Connection #0 to host <hostname> left intact
* Closing connection #0
<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>[root@riak1 ~]# 

我还修改了我的apps.config和vm,如下所示:  {pb,[{&#34;&#34;,8087}]}  {http,[{&#34;&#34;,8098}]}, -name riak @

这是什么意思,我该如何解决?

0 个答案:

没有答案
相关问题