# Error acquiring the state lock

**URL:** <https://discuss.hashicorp.com/t/error-acquiring-the-state-lock/52541>\
**Category:** Terraform\
**Created:** [April 10, 2023, 6:23pm UTC](https://discuss.hashicorp.com/t/error-acquiring-the-state-lock/52541 "2023-04-10T18:23:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles.ajah](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@charles.ajah](https://discuss.hashicorp.com/u/charles.ajah)\
**Post date:** [April 10, 2023, 6:23pm UTC](https://discuss.hashicorp.com/t/error-acquiring-the-state-lock/52541/1 "2023-04-10T18:23:22Z")

</div>

Hi,  
Today is my first day using Terraforms for anything.  
I am an Oracle DBA dabbling into DevOps.  
Now i have my terraforms state file but i am not able to run terraform apply.  
Each time i tried it shows the errors below:  
Please how do fix this.  
The file it is looking for is not in the directory

Error: Error acquiring the state lock  
│  
│ Error message: 2 errors occurred:  
│ \* Incorrect function.  
│ \* open .terraform.tfstate.lock.info: The system cannot find the file specified.  
│
