Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-9211

[fiware-stackoverflow] POI Data Provider Installation

    Details

      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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        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 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fla Fernando Lopez made changes -
        Assignee Ari Okkonen [ ariokkon ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            ariokkon Ari Okkonen
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: