-
-
Notifications
You must be signed in to change notification settings - Fork 605
Troubleshooting
Tzach Livyatan edited this page Mar 10, 2014
·
7 revisions
- Symptom: make fail with no clear output
>make
ANT tests/bench
make: *** [all] Error 1
- How to diagnose: run verbose make
make V=1
- Problem: JAVA_HOME was set to the wrong directory
- Solution: set JAVA_HOME
- Symptom: OSV do not get to the shell, while starting with -n
./scripts/run.py -n -v
- How to diagnose:
- Adding -V to the arguments to start in verbose mode. This showed that OSv got stuck on sending DHCP requests.
- Using tcpdump to capture the packets. "tcpdump -i tap0", where tap0 is the name of the interface on virbr0 (I found it using "brctl show virbr0"). This showed that the DHCP requests were going out properly.
- Testing if "libvirtd" daemon is running ("ps aux | grep libvirtd"). In my case, it wasn't running because my system didn't have it installed. Hope this helps.
- problem: libvirtd was not running
- Followups:
- Explicitly validate libvirtd is available, and return meaningful output in case it does not.
- Return return meaningful output if DHCP fail