# VerneMQ Native process shows exception can't load acl file "./etc/vmq.acl" due to enoent

**URL:** <https://erlangforums.com/t/vernemq-native-process-shows-exception-cant-load-acl-file-etc-vmq-acl-due-to-enoent/1517>\
**Category:** VerneMQ Questions\
**Tags:** community\
**Created:** [June 5, 2022, 1:32pm UTC](https://erlangforums.com/t/vernemq-native-process-shows-exception-cant-load-acl-file-etc-vmq-acl-due-to-enoent/1517 "2022-06-05T13:32:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![baoquach](https://erlangforums.com/letter_avatar_proxy/v4/letter/b/a6a055/32.png) [@baoquach](https://erlangforums.com/u/baoquach)\
**Post date:** [June 5, 2022, 1:32pm UTC](https://erlangforums.com/t/vernemq-native-process-shows-exception-cant-load-acl-file-etc-vmq-acl-due-to-enoent/1517/1 "2022-06-05T13:32:41Z")

</div>

Hi All

I am getting an error can’t load acl file “./etc/vmq.acl” due to enoent in /var/log/vernemq/erlang.log.1

Note: I have /etc/vmq.acl which contain topic #  
root@eveitsdsfew05:~# cat /etc/vmq.acl  
topic #

This prevent me from publish and subscribe to VerneMQ.  
Can you please advise me how to fix this problem.

Thank you for help and support

---

<div class="post-metadata">

**Author:** ![afa](https://erlangforums.com/user_avatar/erlangforums.com/afa/32/298_2.png) [@afa](https://erlangforums.com/u/afa)\
**Post date:** [June 5, 2022, 2:58pm UTC](https://erlangforums.com/t/vernemq-native-process-shows-exception-cant-load-acl-file-etc-vmq-acl-due-to-enoent/1517/2 "2022-06-05T14:58:28Z")

</div>

It looks like you have an absolute vs relative path issue. `enoent` means that there’s no file at the expected location. (The path to the ACL file can be set in the `vernemq.conf` file.)

Note that `topic #` will authorize everything; you need to adapt that for live use.

---

<div class="post-metadata">

**Author:** ![baoquach](https://erlangforums.com/letter_avatar_proxy/v4/letter/b/a6a055/32.png) [@baoquach](https://erlangforums.com/u/baoquach)\
**Post date:** [June 6, 2022, 1:27am UTC](https://erlangforums.com/t/vernemq-native-process-shows-exception-cant-load-acl-file-etc-vmq-acl-due-to-enoent/1517/3 "2022-06-06T01:27:30Z")

</div>

Hi @afa

Thank you for your reply.  
I edit the vernemq.conf file to contain entry vmq\_acl.acl\_file = /etc/vernemq/vmq.acl

Regards, Bao
