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:[email protected]]
Sent: Wednesday, March 28, 2018 2:42 PM
To: Yang, Zhiyong <[email protected]>
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Sara 
Gittlin
Sent: Tuesday, March 27, 2018 11:27 PM
To: [email protected]<mailto:[email protected]>
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