ubuntu 14でPOIデータプロバイダーをインストールしようとしています。ドキュメントは少し古いですが、問題なくすべてをインストールしました。
イネーブラーをテストしようとすると: http://localhost/poi_dp/radial_search.php?lat=1&lon=1&category=test_poi 空の Web ページが表示され、javascript コンソールに次のエラーが表示されます。
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
プロセスを一覧表示すると、次のようになります。grep 'postgres\|mongo\|apache2'
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 テーブルを確認するとき
$ psql -U gisuser poidatabase
poidatabase=> SELECT count(*) FROM fw_core;
予想どおり4を読みました。
しかし、mongo db を検証しようとすると、次のようになります。
$ mongo
> use poi_db
> db.collections
「poi_db.collections」しか取得できません。db.collections コマンドは、インストールによって作成された 5 つの POI データ コンポーネント コレクションをリストする必要があります: fw_contact、fw_marker、fw_media、fw_relationships、および fw_time。
何が問題ですか?何か案が?ありがとう。