Bojian,

You cannot run linux commands in the vpp debug command line shell (vppctl).

This is incorrect.

vpp# pwd
FileNotFoundError error(2): No such file or directory as:
/dev/shm/vpe-api

From the message below, it looks like uio_pci_generic may not be loaded or 
failed.

  Process: 3133 ExecStartPre=/sbin/modprobe uio_pci_generic (code=exited, 
status=1/FAILURE)

From the linux prompt:

Try:

#lsmod | grep uio

You should see something like:

# lsmod | grep uio_pci_generic
uio_pci_generic        16384  2
uio                    20480  5 uio_pci_generic

If you do not,

Try:

#modprobe uio
#modprobe uio_pci_generic
#service vpp restart



From: <vpp-dev@lists.fd.io> on behalf of Bojian Wang <wangboj...@gmail.com>
Date: Monday, February 12, 2018 at 7:22 AM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] FileNotFoundError error(2): No such file or directory as: 
/dev/shm/vpe-api

hi vpp team
I tried to install vpp onto ubuntu 16.04, and everything looks good when I 
followed installation guide from FD.io wiki. but after I complete the 
installation and am going to start vpp service, encounter the error message as 
below:

cisco@server-1:~$ sudo vppctl
    _______    _        _   _____  ___
 __/ __/ _ \  (_)__    | | / / _ \/ _ \
 _/ _// // / / / _ \   | |/ / ___/ ___/
 /_/ /____(_)_/\___/   |___/_/  /_/

vpp# pwd
FileNotFoundError error(2): No such file or directory as:
/dev/shm/vpe-api
cisco@server-1:~$ systemctl status vpp
‚óè vpp.service - vector packet processing engine
   Loaded: loaded (/lib/systemd/system/vpp.service; enabled; vendor preset: 
enabled)
   Active: inactive (dead) (Result: exit-code) since Mon 2018-02-12 07:49:57 
UTC; 2min 39s ago
  Process: 3141 ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)
  Process: 3135 ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf (code=exited, 
status=1/FAILURE)
  Process: 3133 ExecStartPre=/sbin/modprobe uio_pci_generic (code=exited, 
status=1/FAILURE)
  Process: 3129 ExecStartPre=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)
 Main PID: 3135 (code=exited, status=1/FAILURE)
regards/Bojian Wang

Reply via email to