Re: haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread German Gutierrez :: OLX Operation Center
Looks like the field

  X-GSS-Metadata:

Has utf-8 encoded characters, I don't know if that's valid or not, I think not.


-- 
Germán Gutiérrez

OLX Operation Center
OLX Inc.
Buenos Aires - Argentina
Phone: 54.11.4775.6696
Mobile: 54.911.5669.6175
Skype: errare_est
Email: germ...@olx.com

Delivering common sense since 1969 Epoch Fail!.

The Nature is not amiable; It treats impartially to all the things.
The wise person is not amiable; He treats all people impartially.

(a)bort (r)etry (e)pic fail?



Re: HAProxy Logging in AIX5.3

2010-08-27 Thread German Gutierrez :: OLX Operation Center
 The only think I could think of would be to check in man syslogd or
 man syslog, in order to find the correct option to make syslogd listen
 on UDP. You will then probably find references to the config file to
 change if any. If the daemon is started from a specific script, it is
 possible that you have to modify the script to pass an option to syslogd.

 Alternatively if using the default AIX's syslogd is too complicated to set
 up, you could install your own syslogd. After all, you managed to build
 haproxy, now that your build environment is ready, simply build syslog-ng
 and it will be a *lot* better. It won't even require running as root.

 Regards,
 Willy


Perhaps 
http://www.softpanorama.org/Commercial_unixes/AIX/managing_aix_logs.shtml
can be helpful





-- 
Germán Gutiérrez

OLX Operation Center
OLX Inc.
Buenos Aires - Argentina

Delivering common sense since 1969 Epoch Fail!.

The Nature is not amiable; It treats impartially to all the things.
The wise person is not amiable; He treats all people impartially.

(a)bort (r)etry (e)pic fail?



Re: how to enable syslogging

2010-02-18 Thread German Gutierrez :: OLX Operation Center
On Wed, Feb 17, 2010 at 11:02 PM, Nelson Serafica ntseraf...@gmail.com wrote:
 I need to enable syslog of haproxy. I search in Google but can't find the
 right one. I'm using Fedora 8 so syslog was rsyslog. I edit
 /etc/rsyslog.conf and put the ff:

 local0.* /var/log/haproxy.log
 local1.* /var/log/haproxy-1.log

 Then I edit /etc/sysconfig/rsyslog and put SYSLOGD_OPTIONS=-m 0 -r. After
 that I restart rsyslog service. I see the file haproxy.log and haproxy-1.log
 but when I restart the haproxy, nothing comes up in the log file. I even
 browse the site but still no input on the log file. Am I missing something?
 Most of the suggestion was on the above but its not working on mine.

 Does anyone also experience the same problem and found a solution?


I had trouble identifying this on debian lenny, we need rsyslog to
listen on the 514 UDP port
in my case I needed to uncomment the following lines on the rsyslog.conf file:
#$ModLoad imudp
#$UDPServerRun 514

That's because the parameter that enables the UDP listening is now deprecated.

Hope this helps.


Regards,

-- 
Germán Gutiérrez

OLX Operation Center
OLX Inc.
Buenos Aires - Argentina


Delivering common sense since 1969 Epoch Fail!.

The Nature is not amiable; It treats impartially to all the things.
The wise person is not amiable; He treats all people impartially.

No afecta al sitio, no necesita QA.



Re: Enabling logging on solaris

2010-02-18 Thread German Gutierrez :: OLX Operation Center
On Thu, Feb 18, 2010 at 2:09 PM, Mallin, Eoin emal...@revenue.ie wrote:

 Hi all,
 I'm trying to get HAProxy logging enabled on solaris 9. My HAProxy
 configuration file looks as follows:

 log 127.0.0.1   local0 info

 /etc/syslog.conf now has the following entry

 local0.* /haproxy/log/haproxy.log

 Is there another step to allow syslog accept socket connections?

 Many thanks,
 Eoin


 Eoin Mallin
 __
 ITS Architecture
 Castle View
 Georges Street
 Dublin 2
 VPN: 35379



Just a hint, try to see if syslog is listening on udp port 514,
netstat or, if its installed, lsof -i :514 can help you on that.



-- 
Germán Gutiérrez

OLX Operation Center
OLX Inc.
Buenos Aires - Argentina


Delivering common sense since 1969 Epoch Fail!.

The Nature is not amiable; It treats impartially to all the things.
The wise person is not amiable; He treats all people impartially.

No afecta al sitio, no necesita QA.