Avamar: spawn after execve errno:8 code 8: Exec format error

When running pre/post scripts, it is possible that you are getting the following error message: 2017-03-20 19:43:43 avtar Info <5916>: Executing run-at-start ‘/usr/local/avamar/etc/scripts/test.sh’2017-03-20 19:43:43 avtar Info <6033>: Begin STDERR from run-at-start:avspawn::spawn after execve errno:8 code 8: Exec format error   In order to resolve that, ensure that you specified the…

Read MoreAvamar: spawn after execve errno:8 code 8: Exec format error

Java: Start profiler

Add the following options to the java: -Dcom.sun.management.jmxremote-Dcom.sun.management.jmxremote.port=8010-Dcom.sun.management.jmxremote.local.only=false-Dcom.sun.management.jmxremote.authenticate=false-Dcom.sun.management.jmxremote.ssl=false

Read MoreJava: Start profiler

Powershell: Open TCP listener port

If you want to test a firewall rule, while the application isn’t ready yet, you can start that port on the Windows server using Powershell. This way you can test the firewall functionality. Those actions can be done with the following commands: $Listener = [System.Net.Sockets.TcpListener]4444; $Listener.Start(); Where “4444” is the…

Read MorePowershell: Open TCP listener port

Fail2ban: show active jails

Fail2ban is a daemon that can be used to monitor the logs of services and ban clients that based on incorrect behaviour. A must have on your Linux system. But sometimes you can forget enabling the correct jails, therefore always check the active jails on your system. This can be…

Read MoreFail2ban: show active jails