hivefans / phphbaseadmin

phphbaseadmin is a hbase admin web tool,it developed using thrift interface、php CodeIgniter framework .
Other
130 stars 106 forks source link

安装之后打开http://localhost/phphbaseadmin地址是404... #3

Closed seagod closed 11 years ago

seagod commented 11 years ago

什么情况?

seagod commented 11 years ago

apache启动了。

seagod commented 11 years ago

git 按装失败..自己安装了下 clone下来后 现在打开空白一排 。

seagod commented 11 years ago

应该是安装脚本的问题 我6.4的centos 不能用

hivefans commented 11 years ago

我在centos 6测试可以的啊,安装apache,php,mysql server,python 2.6或2.7环境,启动hbase thrift server 就可以的。

seagod commented 11 years ago

[root@centos phphbaseadmin]# ./setup_centos6.sh Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile

hivefans commented 11 years ago

不好意思,里面少写了phphbaseadmin/cherrypy路径,现在脚本已经修复。注意: 用户登录后,需要到用户管理中设置用户所属表的权限才可以浏览表。

seagod commented 11 years ago

安装ok了...按照您的步骤配置了 但是打开后出现如下错误 A PHP Error was encountered

Severity: Warning

Message: file_get_contents(http://192.168.1.106:60010/jmx): failed to open stream: Permission denied

Filename: models/hbase_table_model.php

Line Number: 63

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/tables.php

Line Number: 31

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: data

Filename: controllers/tables.php

Line Number: 48

xianglei commented 11 years ago

将你selinux关闭掉,然后重启服务器

xx135793332 commented 10 years ago

错误跟楼主的一样 Message: file_get_contents(http://127.0.0.1:60010/jmx?qry=hadoop:service=Master,name=Master): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

Filename: models/hbase_table_model.php

Line Number: 63

selinux 已关闭 手工访问http://hbase ip:60010/jmx 同样是 Not Found hbase需要单独设置或者更改什么配置么?貌似是jetty不识别jmx 另外hbase的jmx已开启 使用jconsole连接能得到数据