# Unable to run the simple\_switch\_grpc in the system even after proper installation!

**URL:** <https://forum.p4.org/t/unable-to-run-the-simple-switch-grpc-in-the-system-even-after-proper-installation/1119>\
**Category:** Getting Started with P4\
**Created:** [March 6, 2024, 1:04pm UTC](https://forum.p4.org/t/unable-to-run-the-simple-switch-grpc-in-the-system-even-after-proper-installation/1119 "2024-03-06T13:04:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JungMee](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JungMee](https://forum.p4.org/u/JungMee)\
**Post date:** [March 6, 2024, 1:04pm UTC](https://forum.p4.org/t/unable-to-run-the-simple-switch-grpc-in-the-system-even-after-proper-installation/1119/1 "2024-03-06T13:04:38Z")

</div>

## \*\*\* Starting L2 nodes s1 …

s1 log (from /tmp/bmv2-s1-log):simple\_switch\_grpc --device-id 1 -i 1@s1-eth1 -i 2@s1-eth2 -i 3@s1-eth3 --thrift-port 50001 --log-console -Linfo ../p4src/build/no\_controller.json – --cpu-port 255 --grpc-server-addr 0.0.0.0:39855--------------------------------------------------------------------------------simple\_switch\_grpc: Permission deniedTraceback (most recent call last):  
File “mn\_code.py”, line 181, in   
topology()  
File “mn\_code.py”, line 72, in topology  
net.start()  
File “/usr/local/lib/python3.8/dist-packages/mininet\_wifi-2.6-py3.8.egg/mn\_wifi/net.py”, line 822, in start  
nodeL2.start(self.controllers)  
File “/usr/local/lib/python3.8/dist-packages/mininet\_wifi-2.6-py3.8.egg/mn\_wifi/bmv2.py”, line 361, in start  
self.waitBmv2Start()  
File “/usr/local/lib/python3.8/dist-packages/mininet\_wifi-2.6-py3.8.egg/mn\_wifi/bmv2.py”, line 531, in waitBmv2Start  
raise Exception(“Switch did not start before timeout”)

---

<div class="post-metadata">

**Author:** ![Faris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.p4.org/faris/32/134_2.png) [@Faris](https://forum.p4.org/u/Faris)\
**Post date:** [March 6, 2024, 2:32pm UTC](https://forum.p4.org/t/unable-to-run-the-simple-switch-grpc-in-the-system-even-after-proper-installation/1119/2 "2024-03-06T14:32:07Z")

</div>

on the fourth line of the error you have a “Permission denied” message.  
So perhaps you need to run the switch with root privilege.  
try re-running the switch using sudo.
