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

FIWARE.Request.Tech.IoT.IDAS.mqttError

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Chapter:
      IoT
    • HD-Enabler:
      IDAS

      Description

      Hello,
      This is a task for the IDAS developper team,

      i have installed the IotAgent base and mqtt. But it seems that mqtt biding does not work with fatal error (from log file) :

      [root@Host-001 log]# cat IoTAgent-mqttOPENHAB.log | grep FATAL
      100615T162754,971.930CEST|lvl=FATAL|comp=iota:mqttOPENHAB|op=main|140385652533376:main.cc:295] ======= IoTAgent StartingWebServer: 192.168.1.48 ========
      100615T162755,094.447CEST|lvl=FATAL|comp=iota:mqttOPENHAB|op=main|140385652533376:main.cc:383] unable to open plugin: MqttService

      this is my ini_iotagent.sh script :

      export LD_LIBRARY_PATH=/usr/local/iot/lib
      /usr/local/iot/bin/iotagent -n mqttOPENHAB -i 192.168.1.48 -v DEBUG -d /usr/local/iot/lib -c /etc/iot/config.json &

      This is my config.json file :

       {
             "resources": [
             {
              "resource": "/iot/mqtt",
              "options": {
      	    "ConfigFile": "/etc/iot/MqttService.xml",
                  "FileName": "MqttService"
              }
             }
          ],
          "timezones": "/etc/iot/date_time_zonespec.csv",
          "storage": {
            "type": "mongodb",
            "dbname": "iot"
          },
          "ngsi_url": {
             "cbroker": "http://192.168.1.78:1026",
             "updateContext": "/NGSI10/updateContext",
             "registerContext": "/NGSI9/registerContext",
             "queryContext": "/NGSI10/queryContext"
           },
           "timeout": 11,
           "dir_log": "/var/log/"
         }
      

      You will find attached the hole log file with this jira issue.

      What am i doing wrong here?

      Can you provide live feedback? if yes please send me an email so we can make a skype chat/voice.

      1. IoTAgent-mqttOPENHAB.log
        22 kB
        Abbas Ahmad
      1. iotAgentLibDIR.PNG
        21 kB

        Activity

        Hide
        ralli Carlos Ralli Ucendo added a comment -

        Hi,

        I have passed this to the dev team so we can answer ASAP.

        Thanks for using IDAS.
        Cheers,

        Show
        ralli Carlos Ralli Ucendo added a comment - Hi, I have passed this to the dev team so we can answer ASAP. Thanks for using IDAS. Cheers,
        Hide
        ralli Carlos Ralli Ucendo added a comment -

        Hi,

        Can you let us know what is there in your /usr/local/iot/lib folder ? ( ls -l /usr/local/iot/lib )

        Thanks,

        Show
        ralli Carlos Ralli Ucendo added a comment - Hi, Can you let us know what is there in your /usr/local/iot/lib folder ? ( ls -l /usr/local/iot/lib ) Thanks,
        Hide
        abbas.ahmad Abbas Ahmad added a comment -

        ls -l /usr/local/iot/lib

        Show
        abbas.ahmad Abbas Ahmad added a comment - ls -l /usr/local/iot/lib
        Hide
        ralli Carlos Ralli Ucendo added a comment -

        So you don't have anything on that folder ?

        Show
        ralli Carlos Ralli Ucendo added a comment - So you don't have anything on that folder ?
        Hide
        abbas.ahmad Abbas Ahmad added a comment - - edited

        Yes i do!! I posted the picture like 20 days ago! Here it is : iotAgentLibDIR.PNG

        Show
        abbas.ahmad Abbas Ahmad added a comment - - edited Yes i do!! I posted the picture like 20 days ago! Here it is : iotAgentLibDIR.PNG
        Hide
        ralli Carlos Ralli Ucendo added a comment -

        Sorry, I did not see the attached picture

        I process it ASAP with the team.

        Cheers,

        Show
        ralli Carlos Ralli Ucendo added a comment - Sorry, I did not see the attached picture I process it ASAP with the team. Cheers,
        Hide
        ralli Carlos Ralli Ucendo added a comment -

        Hi,

        1. It looks like you are not using the OS the RPMs were made for (CentOS 6.5). In this case you have to compile the source code available in Github (please use the latest stable version, not the development branch).

        2. However, It you might have some compatiblity problem with your mosquito installation and the client libraries (versions 1.2.3 & 1.3.5). Maybe as a consequence of (1)

        3. Just for our records, can you please let us know your mosquitto version ? (rpm –qa | grep mosquitto)

        Thanks for using IDAS!
        Cheers,

        Show
        ralli Carlos Ralli Ucendo added a comment - Hi, 1. It looks like you are not using the OS the RPMs were made for (CentOS 6.5). In this case you have to compile the source code available in Github (please use the latest stable version, not the development branch). 2. However, It you might have some compatiblity problem with your mosquito installation and the client libraries (versions 1.2.3 & 1.3.5). Maybe as a consequence of (1) 3. Just for our records, can you please let us know your mosquitto version ? (rpm –qa | grep mosquitto) Thanks for using IDAS! Cheers,
        Hide
        abbas.ahmad Abbas Ahmad added a comment -

        [root@localhost ~]# rpm -qa | grep mosquitto
        libmosquitto1-1.4.2-3.1.x86_64
        libmosquitto-devel-1.4.2-3.1.x86_64
        mosquitto-1.4.2-3.1.x86_64
        libmosquittopp1-1.4.2-3.1.x86_64
        mosquitto-clients-1.4.2-3.1.x86_64

        Show
        abbas.ahmad Abbas Ahmad added a comment - [root@localhost ~] # rpm -qa | grep mosquitto libmosquitto1-1.4.2-3.1.x86_64 libmosquitto-devel-1.4.2-3.1.x86_64 mosquitto-1.4.2-3.1.x86_64 libmosquittopp1-1.4.2-3.1.x86_64 mosquitto-clients-1.4.2-3.1.x86_64

          People

          • Assignee:
            ralli Carlos Ralli Ucendo
            Reporter:
            abbas.ahmad Abbas Ahmad
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: