Hi Roja,



> Hi, 
> 
> We need to install Haproxy on Solaris 11 sparc. 
> 
> I have downloaded from haproxy.org and taken example of sample 
> configuration file haproxy.cfg. 
> 
> I am getting the error while compiling the code. 

You are not compiling the code. You are starting haproxy here.
Thats not exactly the same.



> root@ibri:/usr/local/haproxy# 
> ./haproxy-1.4.24-pcre-solaris-sparc.notstripped -f ./haproxy.cfg 
> [WARNING] 315/124403 (13681) : parsing [./haproxy.cfg:21]: keyword 
> 'redispatch' is deprecated, please use 
> 'opti on redispatch' 
> instead. 
> [ALERT] 315/124403 (13681) : parsing [./haproxy.cfg:79] : error opening 
> file </etc/haproxy/errors/503.http> 
> for custom error message 
> <503>. 
> [ALERT] 315/124403 (13681) : Error(s) found in configuration file : 
> ./haproxy.cfg 
> [ALERT] 315/124403 (13681) : Fatal errors found in configuration. 

Did you read, understand and verify the indicated error? Because it
seems to me you didn't even try and just copy&paste'd the error
message to the mailing list, without taking 2 minutes of your time
to verify it?

Let me spell it out: does the file:
/etc/haproxy/errors/503.http

actually exist on the filesystem and can haproxy access it?




Lukas

                                          

Reply via email to