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

[fiware-stackoverflow] Fatal error when starting orion context broker

    Details

      Description

      Created question in FIWARE Q/A platform on 24-05-2019 at 13:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/56292091/fatal-error-when-starting-orion-context-broker

      Question:
      Fatal error when starting orion context broker

      Description:
      My orion context broker does not start and when I enter the command
      /etc/init.d/contextBroker start I get this message

      [root@context-broker ~]# /etc/init.d/contextBroker start
      Starting contextBroker (via systemctl): Job for contextBroker.service failed because the control process exited with error code. See "systemctl status contextBroker.service" and "journalctl -xe" for details.
      [FAILED]

      The systemctl status contextBroker.service commannd gives this message

      [root@context-broker ~]# systemctl status contextBroker.service
      ● contextBroker.service - LSB: run contextBroker
      Loaded: loaded (/etc/rc.d/init.d/contextBroker; bad; vendor preset: disabled)
      Active: failed (Result: exit-code) since Fri 2019-05-24 11:38:50 UTC; 1min 11s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 9782 ExecStart=/etc/rc.d/init.d/contextBroker start (code=exited, status=1/FAILURE)

      May 24 11:38:47 context-broker.novalocal systemd[1]: Starting LSB: run contextBroker...
      May 24 11:38:48 context-broker.novalocal contextBroker[9782]: contextBroker is stopped
      May 24 11:38:48 context-broker.novalocal contextBroker[9782]: Starting...
      May 24 11:38:48 context-broker.novalocal su[9788]: (to orion) root on none
      May 24 11:38:50 context-broker.novalocal contextBroker[9782]: Starting contextBroker... cat: /var/run/contextBroker/contextBroker.pid...irectory
      May 24 11:38:50 context-broker.novalocal systemd[1]: contextBroker.service: control process exited, code=exited status=1
      May 24 11:38:50 context-broker.novalocal contextBroker[9782]: pidfile not found[FAILED]
      May 24 11:38:50 context-broker.novalocal systemd[1]: Failed to start LSB: run contextBroker.
      May 24 11:38:50 context-broker.novalocal systemd[1]: Unit contextBroker.service entered failed state.
      May 24 11:38:50 context-broker.novalocal systemd[1]: contextBroker.service failed.
      Hint: Some lines were ellipsized, use -l to show in full.

      Also the /tmp/contextBroker.log file looks like this

      time=2019-05-24T11:41:12.971Z | lvl=FATAL | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1753]:restStart | msg=Fatal Error (error starting REST interface)

      I checked if mongodb is running and it is running correctly.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5d 1h 27m 1 Ken Zangelin 29/May/19 4:33 PM
        In Progress In Progress Answered Answered
        5s 1 Ken Zangelin 29/May/19 4:33 PM
        Answered Answered Closed Closed
        4h 13m 1 Ken Zangelin 29/May/19 8:47 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        kzangeli Ken Zangelin made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        kzangeli Ken Zangelin added a comment -

        The issue in SOF has been answered, with positive feedback from other users.
        Still waiting for the OK from the author of the issue.

        Show
        kzangeli Ken Zangelin added a comment - The issue in SOF has been answered, with positive feedback from other users. Still waiting for the OK from the author of the issue.
        kzangeli Ken Zangelin made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        kzangeli Ken Zangelin made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 24-05-2019 at 13:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/56292091/fatal-error-when-starting-orion-context-broker


        +Question:+
        Fatal error when starting orion context broker

        +Description:+
        My orion context broker does not start and when I enter the command
        /etc/init.d/contextBroker start I get this message

        [root@context-broker ~]# /etc/init.d/contextBroker start
        Starting contextBroker (via systemctl): Job for contextBroker.service failed because the control process exited with error code. See "systemctl status contextBroker.service" and "journalctl -xe" for details.
                                                                   [FAILED]



        The systemctl status contextBroker.service commannd gives this message

        [root@context-broker ~]# systemctl status contextBroker.service
        ● contextBroker.service - LSB: run contextBroker
           Loaded: loaded (/etc/rc.d/init.d/contextBroker; bad; vendor preset: disabled)
           Active: failed (Result: exit-code) since Fri 2019-05-24 11:38:50 UTC; 1min 11s ago
             Docs: man:systemd-sysv-generator(8)
          Process: 9782 ExecStart=/etc/rc.d/init.d/contextBroker start (code=exited, status=1/FAILURE)

        May 24 11:38:47 context-broker.novalocal systemd[1]: Starting LSB: run contextBroker...
        May 24 11:38:48 context-broker.novalocal contextBroker[9782]: contextBroker is stopped
        May 24 11:38:48 context-broker.novalocal contextBroker[9782]: Starting...
        May 24 11:38:48 context-broker.novalocal su[9788]: (to orion) root on none
        May 24 11:38:50 context-broker.novalocal contextBroker[9782]: Starting contextBroker... cat: /var/run/contextBroker/contextBroker.pid...irectory
        May 24 11:38:50 context-broker.novalocal systemd[1]: contextBroker.service: control process exited, code=exited status=1
        May 24 11:38:50 context-broker.novalocal contextBroker[9782]: pidfile not found[FAILED]
        May 24 11:38:50 context-broker.novalocal systemd[1]: Failed to start LSB: run contextBroker.
        May 24 11:38:50 context-broker.novalocal systemd[1]: Unit contextBroker.service entered failed state.
        May 24 11:38:50 context-broker.novalocal systemd[1]: contextBroker.service failed.
        Hint: Some lines were ellipsized, use -l to show in full.


        Also the /tmp/contextBroker.log file looks like this

        time=2019-05-24T11:41:12.971Z | lvl=FATAL | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1753]:restStart | msg=Fatal Error (error starting REST interface)


        I checked if mongodb is running and it is running correctly.
        Created question in FIWARE Q/A platform on 24-05-2019 at 13:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/56292091/fatal-error-when-starting-orion-context-broker


        +Question:+
        Fatal error when starting orion context broker

        +Description:+
        My orion context broker does not start and when I enter the command
        /etc/init.d/contextBroker start I get this message

        [root@context-broker ~]# /etc/init.d/contextBroker start
        Starting contextBroker (via systemctl): Job for contextBroker.service failed because the control process exited with error code. See "systemctl status contextBroker.service" and "journalctl -xe" for details.
                                                                   [FAILED]



        The systemctl status contextBroker.service commannd gives this message

        [root@context-broker ~]# systemctl status contextBroker.service
        ● contextBroker.service - LSB: run contextBroker
           Loaded: loaded (/etc/rc.d/init.d/contextBroker; bad; vendor preset: disabled)
           Active: failed (Result: exit-code) since Fri 2019-05-24 11:38:50 UTC; 1min 11s ago
             Docs: man:systemd-sysv-generator(8)
          Process: 9782 ExecStart=/etc/rc.d/init.d/contextBroker start (code=exited, status=1/FAILURE)

        May 24 11:38:47 context-broker.novalocal systemd[1]: Starting LSB: run contextBroker...
        May 24 11:38:48 context-broker.novalocal contextBroker[9782]: contextBroker is stopped
        May 24 11:38:48 context-broker.novalocal contextBroker[9782]: Starting...
        May 24 11:38:48 context-broker.novalocal su[9788]: (to orion) root on none
        May 24 11:38:50 context-broker.novalocal contextBroker[9782]: Starting contextBroker... cat: /var/run/contextBroker/contextBroker.pid...irectory
        May 24 11:38:50 context-broker.novalocal systemd[1]: contextBroker.service: control process exited, code=exited status=1
        May 24 11:38:50 context-broker.novalocal contextBroker[9782]: pidfile not found[FAILED]
        May 24 11:38:50 context-broker.novalocal systemd[1]: Failed to start LSB: run contextBroker.
        May 24 11:38:50 context-broker.novalocal systemd[1]: Unit contextBroker.service entered failed state.
        May 24 11:38:50 context-broker.novalocal systemd[1]: contextBroker.service failed.
        Hint: Some lines were ellipsized, use -l to show in full.


        Also the /tmp/contextBroker.log file looks like this

        time=2019-05-24T11:41:12.971Z | lvl=FATAL | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1753]:restStart | msg=Fatal Error (error starting REST interface)


        I checked if mongodb is running and it is running correctly.
        fla Fernando Lopez made changes -
        Assignee Ken Zangelin [ kzangeli ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-05-24 15:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-05-24 15:06|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            kzangeli Ken Zangelin
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: