# Ubuntu - Error: spawnSync /usr/sbin/getcap ENOENT

**URL:** <https://community.localwp.com/t/ubuntu-error-spawnsync-usr-sbin-getcap-enoent/39225>\
**Category:** Support\
**Tags:** linux, linux-ubuntu\
**Created:** [September 21, 2023, 4:17pm UTC](https://community.localwp.com/t/ubuntu-error-spawnsync-usr-sbin-getcap-enoent/39225 "2023-09-21T16:17:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![merianos](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/merianos/32/19155_2.png) [@merianos](https://community.localwp.com/u/merianos)\
**Post date:** [September 21, 2023, 4:17pm UTC](https://community.localwp.com/t/ubuntu-error-spawnsync-usr-sbin-getcap-enoent/39225/1 "2023-09-21T16:17:36Z")

</div>

### What issue or error are you experiencing?

Today I started the Local, and when I’d liked to start a project I’ve got the error of the screenshot:

 ![2023-09-21_19-07](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/5/2/52eb3d86fee6c01f77432b3aefc554496deefab6.png)

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

I have no idea why I’ve got this error although two days ago the local started and I worked on my project.

* * *

### System Details

- **Local Version: 7.2.0+6425**

- **Operating System (OS) and OS version: Ubuntu 20.04.4 LTS**

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

[local-lightning.log](https://community.localwp.com/uploads/short-url/jkib4ae4wumtftDWNLtqzffbDkh.log) (16.0 KB)

* * *

### My Solution

After doing some research I found that the command getcap instead of located in the path `/usr/sbin/getcap` was under the path `/sbin/getcap`.

My self I didn’t made any update/upgrade on my local system today, thus I have no idea why this file was in different location.

The solution to my problem was to create a symbolic link and that fixed my problem:

`sudo ln -s /sbin/getcap /usr/sbin/getcap`

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 21, 2023, 4:20pm UTC](https://community.localwp.com/t/ubuntu-error-spawnsync-usr-sbin-getcap-enoent/39225/2 "2023-09-21T16:20:56Z")

</div>

Thank you for sharing your solution @merianos!

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 21, 2023, 4:20pm UTC](https://community.localwp.com/t/ubuntu-error-spawnsync-usr-sbin-getcap-enoent/39225/3 "2023-09-21T16:20:59Z")

</div>


