You can try the following steps if you run on CentOS.

1.       Run “service vpp start”

2.       Waiting vpp startup  for a few minutes.

3.       run “vppctl”

it can work well.

Thanks
Zhiyong

From: Sara Gittlin [mailto:sara.gitt...@gmail.com]
Sent: Wednesday, March 28, 2018 2:42 PM
To: Yang, Zhiyong <zhiyong.y...@intel.com>
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] running VPP failed - clib_socket_init:

Thank you Zhiyong
it is already there
unix {
  nodaemon
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen /run/vpp/cli.sock
  gid vpp
}
- Sara



On Wed, Mar 28, 2018 at 5:01 AM, Zhiyong Yang 
<zhiyong.y...@intel.com<mailto:zhiyong.y...@intel.com>> wrote:
Hi Sara,

You can try to add the following configuration in the file 
/etc/vpp/startup.conf, Maybe it can fix your issue.
unix {
  cli-listen /run/vpp/cli.sock
}

Thanks
Zhiyong

From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> 
[mailto:vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>] On Behalf Of Sara 
Gittlin
Sent: Tuesday, March 27, 2018 11:27 PM
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: [vpp-dev] running VPP failed - clib_socket_init:

Hello all
when i run the vpp as a service - service vpp start it fails with error:
"clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): No such file or 
directory"
if i run it interactive - it is OK
any idea ?
Thank you
-Sara



Reply via email to