Hi Diana,
> The ca-file loading from directory failed in 2.6.18 system with this
> message during startup:
>
> unable to load CA file '/opt/etc/ca.d/'.
>
> It seems to me the HAProxy in this system doesn't support directory
> loading ca-file?
>
> However, in 2.6.32 system the HAProxy started up successfully.
Here a few suggestions:
- double check filesystems permission
- check if both filesystems are local or if they are remote (e.g. NFS)
- upgrade both haproxy instances to latests stable 1.5.1 (dev21 is unstable)
If that doesn't help, than please run haproxy through strace (for example):
$ strace haproxy -f /etc/haproxy.cfg
And post the outputs when it fails.
> Does directory load for ca-file only work if HAProxy is built with
> TARGET=linux2628 ?
No, that doesn't matter, the TARGET directive enables or disable certain
kernel assisted features, but none if it matters for SSL or filesystem
access.
Regards,
Lukas