首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >POI数据提供程序安装

POI数据提供程序安装
EN

Stack Overflow用户
提问于 2015-08-22 17:04:53
回答 2查看 159关注 0票数 1

我正在尝试在我的ubuntu14上安装POI Data provider,文档有点旧,但是我已经安装好了,没有任何问题。

当我尝试测试我的启用码:http://localhost/poi_dp/radial_search.php?lat=1&lon=1&category=test_poi时,我得到一个空网页,在javascript控制台中出现以下错误:

代码语言:javascript
复制
 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

当我列出我的进程时,我得到了这个: ps ax | grep 'postgres|mongo|apache2‘

代码语言:javascript
复制
  965 ?        Ssl    0:04 /usr/bin/mongod --config /etc/mongod.conf
15480 ?        S      0:00 /usr/lib/postgresql/9.3/bin/postgres -D /var/lib/postgresql/9.3/main -c config_file=/etc/postgresql/9.3/main/postgresql.conf
15482 ?        Ss     0:00 postgres: checkpointer process                                                                                              
15483 ?        Ss     0:00 postgres: writer process                                                                                                    
15484 ?        Ss     0:00 postgres: wal writer process                                                                                                
15485 ?        Ss     0:00 postgres: autovacuum launcher process                                                                                       
15486 ?        Ss     0:00 postgres: stats collector process                                                                                           
16161 ?        Ss     0:00 /usr/sbin/apache2 -k start
16164 ?        S      0:00 /usr/sbin/apache2 -k start
16165 ?        S      0:00 /usr/sbin/apache2 -k start
16166 ?        S      0:00 /usr/sbin/apache2 -k start
16167 ?        S      0:00 /usr/sbin/apache2 -k start
16168 ?        S      0:00 /usr/sbin/apache2 -k start
16188 ?        S      0:00 /usr/sbin/apache2 -k start
16419 pts/4    S+     0:00 grep --color=auto postgres\|mongo\|apache2

何时验证postgres sql表

代码语言:javascript
复制
$ psql -U gisuser poidatabase
poidatabase=> SELECT count(*) FROM fw_core;

我像预期的那样读到了4。

但是当我尝试验证mongo db时:

代码语言:javascript
复制
$ mongo
> use poi_db
> db.collections

我只得到了"poi_db.collections“,而没有: db.collections命令应该列出由安装创建的5个POI数据组件集合: fw_contact、fw_marker、fw_media、fw_relationships和fw_time。

有什么问题吗?有什么想法吗?谢谢。

EN

回答 2

Stack Overflow用户

发布于 2015-08-24 22:52:52

关于db.collections不返回任何内容的问题,try命令如下:

代码语言:javascript
复制
$ mongo
> use poi_db
> show collections
票数 2
EN

Stack Overflow用户

发布于 2015-10-22 20:01:56

这些明显的问题已在推送到GitHub https://github.com/Chiru/FIWARE-POIDataProvider.git的新版本中得到更正。有关安装信息,请参阅更新的指南http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/POI_Data_Provider_-_Installation_and_Administration_Guide。此外,例如在健全检查过程中的错误已经得到纠正。(下面的另一个答案涉及健全性检查中的错误。)

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32154314

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档