/etc/vpp/startup.conf only loads if you tell it to. See https://wiki.fd.io/view/VPP/Command-line_Arguments#Configuration_file . I’m pretty sure the exec will occur whether interactive or not.
You may have the generation of coredumps disabled. In any case, “make debug” will run VPP under gdb and is by far the easiest way to look at stack traces. Chris. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of John Wei Sent: Thursday, November 2, 2017 18:13 To: vpp-dev <vpp-dev@lists.fd.io> Subject: [vpp-dev] How to get VPP core dump and run exec file in interactive mode I added an exec file into /etc/vpp/startup.conf. It seems that it is executed only when it is started by systemd (systemctl start vpp)? If I run "vpp unix interactive", it does not run the exec file, is this expected? I was running 17.10 debug build. My vpp crashed and I was not able to find core file. That is why I switched to run vpp interactively. Will this get me the needed coredump? I guess my real, important question is how to get stack trace to find out why my vpp crashed. John
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev