Hello,

I'm trying to setup hastd on two servers and got error, which I can't
understand. Box is running as primary, then i reboot it, another box
get primary role by carp events, then 1st box at boot tries to set up
primary role on own hast instance and fails with this:
Jan 18 22:13:03 gw_chlb_2 hastd[1387]: [storage0] (primary)
G_GATE_CMD_DONE failed: No such file or directory.
Jan 18 22:13:08 gw_chlb_2 hastd[1004]: [storage0] (primary) Worker
process exited ungracefully (pid=1387, exitcode=71).

I thought that geom_gate module can be problem, so i compiled it in
kernel. As you can see - it doesn't help. Both servers are
FreeBSD9.0-stable, updated 1 week ago. Hastd use whole disk. More info
from hastd:
gw_chlb_2# hastd -dF -c /etc/hast.conf
[INFO] Started successfully, running protocol version 1.
[DEBUG][1] Listening on control address /var/run/hastctl.
[INFO] Listening on address 192.168.0.1:8457.
[INFO] [storage0] (init) Role changed to primary.
[DEBUG][1] [storage0] (primary) Obtained info about /dev/ada2.
[DEBUG][1] [storage0] (primary) Locked /dev/ada2.
[INFO] [storage0] (primary) Device hast/storage0 created.
[DEBUG][1] [storage0] (primary) Privileges successfully dropped using
jail+setgid+setuid.
[INFO] [storage0] (primary) Privileges successfully dropped.
[INFO] [storage0] (primary) Connected to tcp4://192.168.0.2.
[INFO] [storage0] (primary) Synchronization started. 6.0MB to go.
[ERROR] [storage0] (primary) G_GATE_CMD_DONE failed: No such file or directory.
[INFO] [storage0] (primary) Received cancel from the kernel, exiting.
[DEBUG][1] Unable to receive event header: Socket is not connected.
[ERROR] [storage0] (primary) Worker process exited ungracefully
(pid=1452, exitcode=71).
[INFO] [storage0] (primary) Changing resource role back to init.

Any thoughts?

---
With Best Regards / Ystävällisin terveisin
Artem Kajalainen
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to