Hi SL,

> ./haproxy -v 
> Illegal Instruction 
> 
> sudo/haproxy -v 
> [no output] 
> 
> Same thing if I try to check the config with -c -f (though I don't 
> think this is a config issue). 
> 
> Here's what I have in kern.log: 
> 
> Mar 7 11:41:41 rproxyws1 kernel: traps: haproxy[4031] trap invalid 
> opcode ip:4843a0 sp:7fff51856ac8 error:0 in haproxy[400000+cf000] 
> 
> One thing that does seem to have happened is a kernel update during the 
> move (from 4.1.5 to 4.4.0), but I've manually renerted to the old 
> kernel, but the new problems remain. 
> 
> Does anyone have any ideas!?

Probably your new host has a different CPU than the CPU that
haproxy was compiled with and CPU=native was used during
the build.

Compile with CPU=generic to avoid this.

Compare /proc/cpuinfo output between the two hosts and
check the build parameters with haproxy -vv.


Also see README:
  - native : use the build machine's specific processor optimizations. Use with
    extreme care, and never in virtualized environments (known to break).


Note that this only applies to the CPU parameter. Never set TARGET to generic.



Regards,

Lukas

                                          

Reply via email to