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

FIWARE.Request.Tech.Data.BigData-Analysis.CygnusError

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hi

      We installed Cygnus on our FIWARE cloud server and are getting the
      following error message:

      SSH command:
      /usr/local/apache-flume-1.4.0-bin/bin/flume-ng agent --conf
      /usr/local/apache-flume-1.4.0-bin/conf -f
      /usr/local/apache-flume-1.4.0-bin/conf/cygnus.conf -n orionagent
      -Dflume.root.logger=INFO,console

      Error:
      (lifecycleSupervisor-1-8) [ERROR -
      org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:253)]
      Unable to start EventDrivenSourceRunner: {
      source:org.apache.flume.source.http.HTTPSource

      {name:http-source,state:IDLE}

      } - Exception follows.
      java.lang.IllegalStateException: Running HTTP Server found in source:
      http-source before I started one.Will not attempt to start.
      at com.google.common.base.Preconditions.checkState(Preconditions.java:145)
      at org.apache.flume.source.http.HTTPSource.start(HTTPSource.java:137)
      at
      org.apache.flume.source.EventDrivenSourceRunner.start(EventDrivenSourceRunner.java:44)
      at
      org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at
      java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
      at
      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
      at
      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
      at
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:701)

      Can you please clarify?

      Best
      Keyvan

      3DPrinteo Ltd

      M: +44(0)7575531633

      Address: 1 East Poultry Avenue, EC1A 9PT, London
      3DPrinteo Ltd is registered in England & Wales Company Number 8486322
      VAT Registration Number: 160393911

      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Keyvan K <keyvan.k@3dprinteo.com>]

        Activity

        Hide
        frb Francisco Romero added a comment -

        As the log says:

        Running HTTP Server found in source: http-source before I started one.Will not attempt to start.

        This means there is another Http server running on the configured port for the source (typically, a previous Cygnus execution not stopped or killed apropriatelly). Check it by doing:

        $ netstat -nap | grep <your_configured_port>

        That will show you, if any, the PID listening on that port. If it is a previous Cygnus instance, just kill it:

        $ kill -9 <PID>

        If it is not a previous Cygnus instance, do not kill the process since it amy be useful for any other application. Simply move to another free TCP port. This can be done at the configuration (in your case: /usr/local/apache-flume-1.4.0-bin/conf/cygnus.conf):

        orionagent.sources.<your_http_source_name>.port = <typically_5050_change_it>

        Hope this helps

        Show
        frb Francisco Romero added a comment - As the log says: Running HTTP Server found in source: http-source before I started one.Will not attempt to start. This means there is another Http server running on the configured port for the source (typically, a previous Cygnus execution not stopped or killed apropriatelly). Check it by doing: $ netstat -nap | grep <your_configured_port> That will show you, if any, the PID listening on that port. If it is a previous Cygnus instance, just kill it: $ kill -9 <PID> If it is not a previous Cygnus instance, do not kill the process since it amy be useful for any other application. Simply move to another free TCP port. This can be done at the configuration (in your case: /usr/local/apache-flume-1.4.0-bin/conf/cygnus.conf): orionagent.sources.<your_http_source_name>.port = <typically_5050_change_it> Hope this helps
        Hide
        frb Francisco Romero added a comment -

        After contacting the user, he said this issue could be closed:

        De: Keyvan K <keyvan.k@3dprinteo.com>
        Fecha: jueves, 11 de junio de 2015, 9:58
        Para: Francisco Romero Bueno <francisco.romerobueno@telefonica.com>
        CC: "fiware-tech-help@lists.fi-ware.org" <fiware-tech-help@lists.fi-ware.org>
        Asunto: Re: FIWARE HELP 3239

        Hi Francisco

        Thanks for your email!

        Tickets 3239 and 3279 can be closed please.

        Best regards
        Keyvan

        3DPrinteo Ltd

        M: +44(0)7575531633

        Address: 1 East Poultry Avenue, EC1A 9PT, London
        3DPrinteo Ltd is registered in England & Wales Company Number 8486322
        VAT Registration Number: 160393911

        On 11 June 2015 at 08:18, FRANCISCO ROMERO BUENO <francisco.romerobueno@telefonica.com> wrote:
        Hi Keyvan,

        I’ve seen this other issue at Jira related to you: https://jira.fiware.org/browse/HELP-3239. I’ll copy the answer here:
        ...
        ...
        ...

        Show
        frb Francisco Romero added a comment - After contacting the user, he said this issue could be closed: De: Keyvan K <keyvan.k@3dprinteo.com> Fecha: jueves, 11 de junio de 2015, 9:58 Para: Francisco Romero Bueno <francisco.romerobueno@telefonica.com> CC: "fiware-tech-help@lists.fi-ware.org" <fiware-tech-help@lists.fi-ware.org> Asunto: Re: FIWARE HELP 3239 Hi Francisco Thanks for your email! Tickets 3239 and 3279 can be closed please. Best regards Keyvan 3DPrinteo Ltd M: +44(0)7575531633 Address: 1 East Poultry Avenue, EC1A 9PT, London 3DPrinteo Ltd is registered in England & Wales Company Number 8486322 VAT Registration Number: 160393911 On 11 June 2015 at 08:18, FRANCISCO ROMERO BUENO <francisco.romerobueno@telefonica.com> wrote: Hi Keyvan, I’ve seen this other issue at Jira related to you: https://jira.fiware.org/browse/HELP-3239 . I’ll copy the answer here: ... ... ...

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: