Hi all,
I have a weird issue with xapi on xen 6.2. Below is the errors in the /var/log/messages file when I run service xapi start
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero||watchdog] (Re)starting xapi...
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero|Loading DHCP leases D:6fb0462edd78|xapi_udhcpd]
Caught exception Unix.Unix_error(20, "open", "/var/xapi/dhcp-leases.db") l
oading /var/xapi/dhcp-leases.db: creating new empty leases database
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero|Initialising SM state D:c1604acf39b5|storage_impl] Loading storage state from: /var/run/nonpersistent/xapi/storage.db
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero|Listening unix socket D:5f8bfbcb3d9e|xapi] Successfully bound socket to: UNIX /var/xapi/xapi
Jul 4 15:11:27 xen-rp-hv1 xapi: [ warn|xen-rp-hv1|0 thread_zero|server_init D:9dbe89231d58|startup] task [Manage Dom0] exception: Unix.Unix_error(63, "connect", "")
Jul 4 15:11:27 xen-rp-hv1 xapi: [error|xen-rp-hv1|0 thread_zero||xapi]
Caught exception at toplevel: 'Unix.Unix_error(63, "connect", "")'
Jul 4 15:11:27 xen-rp-hv1 fe: 3813 (/opt/xensource/bin/xapi -nowatchdog -writereadyfile /var/run/xapi_startup.coo...) exitted with code 2
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero||watchdog] received exit code 2
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero||watchdog] Received bad exit, retrying
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero||watchdog] (Re)starting xapi...
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero|Loading DHCP leases D:33a4050b02c5|xapi_udhcpd] Caught exception Unix.Unix_error(20, "open", "/var/xapi/dhcp-leases.db") loading /var/xapi/dhcp-leases.db: creating new
empty leases database
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero|Initialising SM state D:65c3e144da24|storage_impl] Loading storage state from: /var/run/nonpersistent/xapi/storage.db
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero|Listening unix socket D:b97660ec334d|xapi] Successfully bound socket to: UNIX /var/xapi/xapi
Jul 4 15:11:27 xen-rp-hv1 xapi: [ warn|xen-rp-hv1|0 thread_zero|server_init D:b068b33f39f4|startup] task [Manage Dom0] exception: Unix.Unix_error(63, "connect", "")
Jul 4 15:11:27 xen-rp-hv1 xapi: [error|xen-rp-hv1|0 thread_zero||xapi]
Caught exception at toplevel: 'Unix.Unix_error(63, "connect", "")'
Jul 4 15:11:27 xen-rp-hv1 fe: 3826 (/opt/xensource/bin/xapi -nowatchdog -writereadyfile /var/run/xapi_startup.coo...) exitted with code 2
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero||watchdog] received exit code 2
Jul 4 15:11:27 xen-rp-hv1 xapi: [ info|xen-rp-hv1|0 thread_zero||watchdog] Received 2 bad exits within no-retry-interval. Giving up.
When doing xe-toolstack-restart I see a lot of OMMkill errors. Its killed everything from sshd to xcp-rrdd-iostat. The problem with this, however, is that its got loads of memory free. If I restart toolstack and check the memory usage it
stays at arounf 3GB free memory. So why does it think its out of memory when free command shows 3GB free?
Thanks in advance.
Waqar