# How do I install logstash ver 6.2.3 by installing from package Repositories

**URL:** <https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030>\
**Category:** Logstash\
**Created:** [May 16, 2018, 5:16am UTC](https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030 "2018-05-16T05:16:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![seungtae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seungtae/32/71413_2.png) [@seungtae](https://discuss.elastic.co/u/seungtae)\
**Post date:** [May 16, 2018, 5:16am UTC](https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030/1 "2018-05-16T05:16:30Z")

</div>

Hi.  
I installed logstash by package repositories.  
It was ver 6.2.4. But, if logstash version 6.2.4, there is an Error like this:

> [ERROR] 2018-05-16 14:00:23.797 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] 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}  
> [ERROR] 2018-05-16 14:00:23.824 [LogStash::Runner] Logstash - java.lang.IllegalAccessError: tried to access class com.mysql.jdbc.NonRegisteringDriver$ConnectionPhantomReference from class com.mysql.jdbc.NonRegisteringDriver

But, if logstash version 6.2.3, there isn't an Error. So, I find how install ver 6.2.3 by installing from package repositories?

> **[Installing Logstash | Logstash Reference \[6.2\] | Elastic](https://www.elastic.co/guide/en/logstash/6.2/installing-logstash.html)**

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 16, 2018, 5:29am UTC](https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030/2 "2018-05-16T05:29:39Z")

</div>

Can you share your config? Perhaps we can fix the underlying issue.

---

<div class="post-metadata">

**Author:** ![seungtae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seungtae/32/71413_2.png) [@seungtae](https://discuss.elastic.co/u/seungtae)\
**Post date:** [May 16, 2018, 5:40am UTC](https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030/3 "2018-05-16T05:40:02Z")

</div>

Hi @warkolm. Thanks for your reply.

My config is too long, so I can't write all of config.

So.. A part of config about mysql.jdbc.Driver Error like this :

> if([data\_info][protocol] == "tcp"){  
> jdbc\_streaming {   
> jdbc\_driver\_library =\> "/usr/share/logstash/vendor/jar/jdbc/mysql-connector-java-5.1.46-bin.jar"  
> jdbc\_driver\_class =\> "com.mysql.jdbc.Driver"  
> jdbc\_connection\_string =\> "jdbc:mysql://localhost:3306/Jecheon?useSSL=false"
> 
> ```
> jdbc_user => " ****"
> jdbc_password => " *******"
> 
> statement => "SELECT CID, OTC2_CID FROM TB_PVC WHERE CID = :tcpCid LIMIT 1;"
> parameters => {
> "tcpCid" => "tcp_cid"
> }
> 
> target => "matchingCid"		
> }
> 
> ```
> 
> }

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 16, 2018, 6:05am UTC](https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030/4 "2018-05-16T06:05:17Z")

</div>

It depends on what OS you are on, but look at version pinning/selection.

It might also be worth raising an issue on Github with as much detail as possible so we can make sure it's not a reversion.

---

<div class="post-metadata">

**Author:** ![seungtae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seungtae/32/71413_2.png) [@seungtae](https://discuss.elastic.co/u/seungtae)\
**Post date:** [May 16, 2018, 6:08am UTC](https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030/5 "2018-05-16T06:08:35Z")

</div>

Ok! Thank you!

---

<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:** [June 13, 2018, 6:08am UTC](https://discuss.elastic.co/t/how-do-i-install-logstash-ver-6-2-3-by-installing-from-package-repositories/132030/6 "2018-06-13T06:08:45Z")

</div>

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