# Failed to execute action {:id=\>:main, :action\_type=\>LogStash::ConvergeResult::FailedAction

**URL:** <https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/153521>\
**Category:** Logstash\
**Created:** [October 23, 2018, 5:34am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/153521 "2018-10-23T05:34:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![groverjatin17](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/groverjatin17/32/34657_2.png) [@groverjatin17](https://discuss.elastic.co/u/groverjatin17)\
**Post date:** [October 23, 2018, 5:34am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/153521/1 "2018-10-23T05:34:00Z")

</div>

```
[2018-10-23T05:27:51,602][ERROR][logstash.pipeline] Error registering plugin {:pipeline_id=>"main", :plugin=>"<LogStash::Inputs::Jdbc jdbc_connection_string=>\"jdbc:oracle:thin:@host:port/servicename\", jdbc_user=>\"username\", jdbc_password=><password>, jdbc_driver_library=>\"/path/JatinSandbox/KibanaDbTry/ojdbc7.jar\", jdbc_driver_class=>\"Java::oracle.jdbc.driver.OracleDriver\", statement=>\"SELECT * from mytable WHERE user_id > :sql_last_value ORDER by user_id\", schedule=>\"* * * * *\", tracking_column=>\"user_id\", tracking_column_type=>\"numeric\", record_last_run=>true, last_run_metadata_path=>\"/home/tomadm/.logstash_jdbc_last_run\", id=>\"f12683f8c38ccfda4c5b1d7efc444cb51f42ab6fa6f5082b077f5929b2410d5f\", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>\"plain_2ad6d855-d379-4272-a740-22897da1de5c\", enable_metric=>true, charset=>\"UTF-8\">, jdbc_paging_enabled=>false, jdbc_page_size=>100000, jdbc_validate_connection=>false, jdbc_validation_timeout=>3600, jdbc_pool_timeout=>5, sql_log_level=>\"info\", connection_retry_attempts=>1, connection_retry_attempts_wait_time=>0.5, use_column_value=>false, clean_run=>false, lowercase_column_names=>true>", :error=>"can't dup Fixnum", :thread=>"#<Thread:0x54ed02c6 run>"}
[2018-10-23T05:27:52,327][ERROR][logstash.pipeline] Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<TypeError: can't dup Fixnum>, :backtrace=>["org/jruby/RubyKernel.java:1882:in `dup'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/date/format.rb:838:in `_parse'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/date.rb:1830:in `parse'", "/apps/tomcat/elk/ELK/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/plugin_mixins/value_tracking.rb:87:in `set_value'", "/apps/tomcat/elk/ELK/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/plugin_mixins/value_tracking.rb:36:in `initialize'", "/apps/tomcat/elk/ELK/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/plugin_mixins/value_tracking.rb:29:in `build_last_value_tracker'", "/apps/tomcat/elk/ELK/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-input-jdbc-4.3.9/lib/logstash/inputs/jdbc.rb:216:in `register'", "/apps/tomcat/elk/ELK/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:342:in `register_plugin'", "/apps/tomcat/elk/ELK/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:353:in `block in register_plugins'", "org/jruby/RubyArray.java:1734:in `each'", "/apps/tomcat/elk/ELK/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:353:in `register_plugins'", "/apps/tomcat/elk/ELK/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:500:in `start_inputs'", "/apps/tomcat/elk/ELK/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:394:in `start_workers'", "/apps/tomcat/elk/ELK/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:290:in `run'", "/apps/tomcat/elk/ELK/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:250:in `block in start'"], :thread=>"#<Thread:0x54ed02c6 run>"}
[2018-10-23T05:27:52,367][ERROR][logstash.agent] Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: LogStash::PipelineAction::Create/pipeline_id:main, action_result: false", :backtrace=>nil}

```

I am unable to run any config file with logstash. Please help in finding what and why is this error coming.

---

<div class="post-metadata">

**Author:** ![groverjatin17](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/groverjatin17/32/34657_2.png) [@groverjatin17](https://discuss.elastic.co/u/groverjatin17)\
**Post date:** [October 23, 2018, 5:41am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/153521/2 "2018-10-23T05:41:03Z")

</div>

Someone else had the exact same error previously. Issue resolved.

> [@Error registering plugin, Pipeline aborted due to error (\<TypeError: can't dup Fixnum\>), Failed to execute action](https://discuss.elastic.co/t/error-registering-plugin-pipeline-aborted-due-to-error-typeerror-cant-dup-fixnum-failed-to-execute-action/128987):
>
> Hi, everyone: I'm a beginner on ELK and trying to load data from mysql to elasticsearch(for next step i want query them via javarestclient), so i used logstash6.2.4 and elasticsearch6.2.4. and followed a [example](https://qbox.io/blog/migrating-mysql-data-into-elasticsearch-using-logstash) here. when i run: bin/logstash -f /path/to/my.conf, i got error: [2018-04-22T10:15:08,713][ERROR][logstash.pipeline] Error registering plugin {:pipeline\_id=\>"main", :plugin=\>"\<LogStash::Inputs::Jdbc jdbc\_connection\_string=\>\"jdbc:mysql://localhost:3306/testdb\", jdbc\_user=\>\"r…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 20, 2018, 5:49am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/153521/3 "2018-11-20T05:49:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
