January, 2014 | [Dev|Web|Sys]Ops
image_pdfimage_print
Reset idrac password from the Operating System

Reset idrac password from the Operating System

Went to login to one of the Dell iDRACs today and our usual password did not work. So how to reset it remotely if you have root access to the server OS? Use ipmitool or racadm, but racadm has to be licensed and setup from within iDRAC So, ipmitool. Install of ipmitool is subject for […]

Changing terminal text color

Changing terminal text color

Our ecommerce platform, Hybris, really enjoys colorizing the logs. So whenever I read the logs, it changes the text color of my terminal. Contrary to popular belief, red on black is not very readable. This command will set the text back to white (on black background): tput setaf 7 More info can be found my […]

Plus “+” in URL can cause redirection loop

Plus “+” in URL can cause redirection loop

The fix is to add nocanon to the proxy config. For example: ProxyPass / balancer://frontendcluster/ stickysession=ROUTEID nocanon ProxyPassReverse / http://10.1.1.1:9001/ nocanon ProxyPassReverse / http://10.1.1.2:9001/ nocanon http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Normally, mod_proxy will canonicalise ProxyPassed URLs. But this may be incompatible with some backends, particularly those that make use of PATH_INFO. The optional nocanon keyword suppresses this, and passes […]

image_pdfimage_print