ERROR: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found Testes on CentOS 6.4 x64 with Tomcat 6 Instalar o APR, ——————- Install pre-req: yum install apr apr-devel openssl-devel gcc Download tomcat-native-1.1.30-src.tar.gz: […]
Linux how to change interface name
When cloning vm’s inside a ESX I always get a eth1 instead of eth0. So here is what I do to fix that. Step #1:Get Mac ifconfig -a | grep hwaddr eth0 Link encap:Ethernet HWaddr b8:ac:6f:65:31:e5 Step #2: Rename eth1 […]
How to connect NFS with a specfic user under CentOS/RedHat 6
How to connect NFS with a specfic user under CentOS/RedHat 6 ##SERVER SIDE## 1. On server side must have the insecure option enabled edit /etc/exports /exports/real 192.17.36.147/255.255.255.255(rw,nohide,insecure,no_subtree_check,sync) 2. Make the change exportfs -ra 3. Make sure it is running rpcinfo […]
bash get analytics data
This is a bash script to get Google Analytics Data, in this case A total day Pageviews. Here is the code: #!/bin/bash # Get google anlytics pageview results # by Felipe Ferreira Dec 17 2013 # v1 #todo: get REAL […]
Run jenkins with another user
How to configure jenkins to run under different user other then tomcat6 account. I configured it to run a bash script using: sudo -u ubuntu /opt/script NOTE: inside the script debug it using whoami and env I had problems with […]
check_error_log
Yet another log monitoring script.. The date field is very specific for each system and I keep having to refix each time. I like this one about the way it works, it first find the date/time where we want to […]
check_procs: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
When monitoring a server process/services using check_procs plugin On new servers x64 many times you will get this error # ./check_procs -bash: ./check_procs: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory The solution is to install: glibc.i686 : The […]