Monthly Archives: September 2013

Rsyslog not listening TCP on port 514?

Check if rsyslog’s configuration has the following lines: $ModLoad imtcp $InputTCPServerRun 514 $PrivDropToUser syslog $PrivDropToGroup syslog As the user syslog cannot listen on ports below 1024 in TCP. Rsyslog will not fail and will silently run without any drawback. You … Continue reading

Posted in Uncategorized | Leave a comment

Good collection of quotes

In http://tarbox.org/, like: Don’t worry about people stealing your ideas. If your ideas are any good, you’ll have to ram them down people’s throats — Howard Aiken, IBM engineer  

Posted in Uncategorized | Leave a comment

Need to debug a bash script?

Add the following two lines: set -x export PS4=’$LINENO ‘ And you will get the line number and the text of each executed line 🙂

Posted in Uncategorized | Leave a comment