# Failed to obtain exclusive access post 6.4.0 upgrade

**URL:** <https://discuss.elastic.co/t/failed-to-obtain-exclusive-access-post-6-4-0-upgrade/147751>\
**Category:** Logstash\
**Created:** [September 7, 2018, 4:55pm UTC](https://discuss.elastic.co/t/failed-to-obtain-exclusive-access-post-6-4-0-upgrade/147751 "2018-09-07T16:55:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rreilly-edr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rreilly-edr/32/35305_2.png) [@rreilly-edr](https://discuss.elastic.co/u/rreilly-edr)\
**Post date:** [September 7, 2018, 4:55pm UTC](https://discuss.elastic.co/t/failed-to-obtain-exclusive-access-post-6-4-0-upgrade/147751/1 "2018-09-07T16:55:03Z")

</div>

Hi, I upgraded my cluster yesterday along with logstash. I followed the direction about disabling PQ and renabling i did that. I even went as far as deleting the PQ uninstalling and reinstalling. I keep gettin gthis error

```
[2018-09-07T16:43:05,063][ERROR][org.logstash.execution.AbstractPipelineExt] Logstash failed to cre
ate queue.
org.logstash.LockException: The queue failed to obtain exclusive access, cause: Lock held by this v
irtual machine on lock path: /var/lib/logstash/queue/c360_elb/.lock
        at org.logstash.ackedqueue.Queue.open(Queue.java:262) ~[logstash-core.jar:?]
        at org.logstash.ackedqueue.ext.JRubyAckedQueueExt.open(JRubyAckedQueueExt.java:97) ~[logsta
sh-core.jar:?]
        at org.logstash.ackedqueue.ext.JRubyWrappedAckedQueueExt.initialize(JRubyWrappedAckedQueueE
xt.java:39) ~[logstash-core.jar:?]
        at org.logstash.ackedqueue.QueueFactoryExt.create(QueueFactoryExt.java:37) ~[logstash-core.
jar:?]
        at org.logstash.execution.AbstractPipelineExt.initialize(AbstractPipelineExt.java:130) [log
stash-core.jar:?]
        at org.logstash.execution.AbstractPipelineExt$INVOKER$i$3$0$initialize.call(AbstractPipelineExt$INVOKER$i$3$0$initialize.gen) [jruby-complete-9.1.13.0.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodThree.call(JavaMethod.java:1186) [jruby-complete-9.1.13.0.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:743) [jruby-complete-9.1.13.0.jar:?]
        at org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:983) [jruby-complete-9.1.13.0.jar:?]

```

my logstash.yml

```
path.data: /var/lib/logstash
path.logs: /var/log/logstash
path.settings: /etc/logstash
config.reload.automatic: true
http.host: 'ipaddress'
http.port: 9600
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.url: http://elastic_host:9200
xpack.monitoring.elasticsearch.username: 
xpack.monitoring.elasticsearch.password:

```

pipelines.yml

```
- pipeline.id: c360_elb
  path.config: "/etc/logstash/conf.d/c360_elb_ingest.conf"
  pipeline.workers: 1
  queue.type: persisted
  queue.max_bytes: 8gb
- pipeline.id: logs_beat
  path.config: "/etc/logstash/conf.d/syslog_filebeat_ingest.conf"
  pipeline.workers: 6
  queue.type: persisted
  queue.max_bytes: 8gb
```

---

<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:** [October 5, 2018, 5:05pm UTC](https://discuss.elastic.co/t/failed-to-obtain-exclusive-access-post-6-4-0-upgrade/147751/2 "2018-10-05T17:05:34Z")

</div>

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