Apr 3 2015

Anacron run-parts: /etc/cron.daily/amavisd-new exited with return code 1.

Messages like the ones in the article list, originated from a cron job, could be generated on debian systems:

/etc/cron.daily/amavisd-new:
Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1

Continue reading


Mar 20 2015

Mikrotik IPSec VPNs with multiple destination Networks/Policies and SA(s) management.

While configuring Multiple Networks VPNs (Multiple policy and destination SubNets reached via the same remote IPSec VPN Peer) between Mikrotik and other Firewalls, traffic would randomly stop for certain destinations.

Packet forwarding and encryption only works for one destination (the first matched IPSec Policy) and any other destination (and only the first matched one) will be reachable by performing a ‘SA Flush’.

Continue reading


Dec 11 2014

Extracting a Single Database From a mysqldump File containing –all-databases Dump.

Imagine to have a full MySQL DB Dump (containing a lot of Single Database Dumps) and imagine also to need the extraction or restoration of a single one. This is a quite common task that can be accomplished using some shell commands.
Continue reading


Oct 3 2014

Protect Servers Against Shellshock Bash Vulnerability.

On September 24, 2014, a GNU Bash vulnerability (Shellshock or “Bash Bug”), was discovered and published.
The vulnerability allows remote attackers to execute arbitrary code given specific conditions, by injecting strings of code following environment variable assignments.
Because of Bash’s large utilization (Ex: Linux, BSD, OsX), many computers are vulnerable to Shellshock Bash Bug.
All unpatched Bash versions between 1.14 through 4.3 seems to be compromised.
Continue reading


Sep 26 2014

VirtualHost settings upgrading from Apache 2.2 to Apache 2.4.

Upgrading from Apache 2.2 to 2.4 is simply but some configuration updates are necessary, because a working Apache 2.2 VirtualHost setup will break silently when you upgrade to Apache 2.4.
A full and comprehensive guide to updating from Apache 2.2 to 2.4 is available in the apache.org website.
Continue reading