Author : Tim Dunphy

Home » Articles posted by Tim Dunphy

Hey guys, I have this log rotation script setup in my /etc/logrotate.d folder/var/log/elasticsearch/*.log {dailyrotate 100size 50Mcopytruncatecompressdelaycompressmissingoknotifemptycreate 644 elasticsearch elasticsearch}And I notice that log files ..

Read more

all,Im load balancing 4 mysql databases using HAProxy. The setup seems to be working pretty well. Except I keep seeing these messages turning up in syslog:Mar 12 22:11:31 db1 kernel: [6058125.959624] type00audit(1457820691.824:3029129): avc: den..

Read more

all,Im attempting to delete some directories and I want to be able to exclude a directory called logs from being deleted.This is my basic find operation (without the exclusion)# find . -type d|tail -10./d20160124-1120-df8mfb/deployments./d20160124-1120-df8mfb/releases./d20160131-16993-vazqg5./d20160131-16993-vazqg5/metadata./d20160131-16993-vazqg5/deployments./d20160131-16993-vazqg5/releases./logs./d20160203-27735-1tqbjh6./d20160125-1120-1yccr9p./d20160131-16993-1yf9ln..

Read more

Hey guys,We had to recompile apache 2.4.12 because we needed to disable thread safety in php (ZTS).Because for some reason when compiling php with the–disable-maintainer-zts with the worker mpm model and checking the php info page, it was saying t..

Read more

all, I need to restart a service on a few elasticsearch nodes. Im trying to do it with pssh. Im getting this error when I try to do that:pssh -h es_list /bin/sudo -S /bin/systemctl restart elasticsearch[1] 17:01:50 [FAILURE] bluethundr@es2.example…

Read more

Hey guys, Im trying to disable ZTS in php, because an application we need(AppDynamics) is not compatible with it.So I tried compiling php with the following flags:php -i | grep configure Configure Command =>./configure–with-apxs2=/opt/apache2/bin/apxs–with-zlib=/..

Read more