Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:WebUI
 - 
                        HD-Enabler:POI Provider
 
Description
Created question in FIWARE Q/A platform on 22-08-2015 at 11:08
Please, ANSWER this question AT https://stackoverflow.com/questions/32154314/poi-data-provider-installation
Question:
POI Data Provider Installation
Description:
I'm trying to isntall POI Data provider on my ubuntu 14. The documentation is a little bit old, but I have installed everything without problems. 
When I try to test my enabler:
http://localhost/poi_dp/radial_search.php?lat=1&lon=1&category=test_poi
I obtain a empty web page and this error in the javascript console:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I obtain this when I list my process:
ps ax | 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
Whe I verify the postgres sql table
$ psql -U gisuser poidatabase
poidatabase=> SELECT count
 FROM fw_core;
I read 4 as expected.
But whe I try to verify mongo db:
$ mongo
> use poi_db
> db.collections
I only get "poi_db.collections" and not:
The db.collections command should list five POI data component collections created by the installation: fw_contact, fw_marker, fw_media, fw_relationships and fw_time.
what is the problem? any idea? thanks.
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Component/s | FIWARE-TECH-HELP [ 10278 ] | 
| Status | Open [ 1 ] | In Progress [ 3 ] | 
| Assignee | Ari Okkonen [ ariokkon ] | 
| Status | In Progress [ 3 ] | Answered [ 10104 ] | 
| Resolution | Done [ 10000 ] | |
| Status | Answered [ 10104 ] | Closed [ 6 ] | 
| HD-Enabler | POI Provider [ 10898 ] | |
| Description | 
                                                                 Created question in FIWARE Q/A platform on 22-08-2015 at 11:08 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/32154314/poi-data-provider-installation +Question:+ POI Data Provider Installation +Description:+ I'm trying to isntall POI Data provider on my ubuntu 14. The documentation is a little bit old, but I have installed everything without problems. When I try to test my enabler: http://localhost/poi_dp/radial_search.php?lat=1&lon=1&category=test_poi I obtain a empty web page and this error in the javascript console: Failed to load resource: the server responded with a status of 500 (Internal Server Error) I obtain this when I list my process: ps ax | 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 Whe I verify the postgres sql table $ psql -U gisuser poidatabase poidatabase=> SELECT count(*) FROM fw_core; I read 4 as expected. But whe I try to verify mongo db: $ mongo > use poi_db > db.collections I only get "poi_db.collections" and not: The db.collections command should list five POI data component collections created by the installation: fw_contact, fw_marker, fw_media, fw_relationships and fw_time. what is the problem? any idea? thanks.  | 
                
                                                               Created question in FIWARE Q/A platform on 22-08-2015 at 11:08
 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/32154314/poi-data-provider-installation +Question:+ POI Data Provider Installation +Description:+ I'm trying to isntall POI Data provider on my ubuntu 14. The documentation is a little bit old, but I have installed everything without problems. When I try to test my enabler: http://localhost/poi_dp/radial_search.php?lat=1&lon=1&category=test_poi I obtain a empty web page and this error in the javascript console: Failed to load resource: the server responded with a status of 500 (Internal Server Error) I obtain this when I list my process: ps ax | 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 Whe I verify the postgres sql table $ psql -U gisuser poidatabase poidatabase=> SELECT count(*) FROM fw_core; I read 4 as expected. But whe I try to verify mongo db: $ mongo > use poi_db > db.collections I only get "poi_db.collections" and not: The db.collections command should list five POI data component collections created by the installation: fw_contact, fw_marker, fw_media, fw_relationships and fw_time. what is the problem? any idea? thanks.  | 
                
| HD-Chapter | WebUI [ 10842 ] | 
| Fix Version/s | 2021 [ 12600 ] | 
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
		    	
  | 
			2h 59m | 1 | Backlog Manager | 25/May/17 9:04 AM | |||||
		    	
  | 
			1h 22m | 1 | Fernando Lopez | 25/May/17 10:27 AM | |||||
		    	
  | 
			2s | 1 | Fernando Lopez | 25/May/17 10:27 AM | 
2017-05-25 06:05|CREATED monitor | # answers= 2, accepted answer= True