Linux

Howto generate an SSL key and self signed cert with openssl

For SSH, HTTPS, TLS SMTP,POPS, IMAPS you need a RSA key pair. Most Linux package installers produce this pairs automatically, but if you like, you can generate them yourself. The quickest method I found is: openssl req -x509 -nodes -newkey rsa:2048 -keyout servername.key -out servername.crt -days 1024 This command asks you some questions. The most

Howto generate an SSL key and self signed cert with openssl Read More »

Unix/Linux date command fails when calculating “yesterday”

Problem: A shell-script running every day short after midnight doesn’t work properly once per year after daylight-saving time adjustment. e.g. an expected logfile is missing (“somefile.YYYYMMDD.log”) Discussion: The Unix date command calculates the wrong date when used with “–date yesterday” on the day after daylight-saving time adjustment. # date Mon Mar 31 00:15:03 CEST 2014 # date

Unix/Linux date command fails when calculating “yesterday” Read More »

Openbox Config File

I don’t use desktop environments on Linux. I prefer small,fast, efficient window managers. Some years ago I used olvwm (open look window manager) which was dicontinued by sun. Then I switched to wmx which I patched for my needs, but still it was missing some features. Now I use openbox which is highly configureable yet

Openbox Config File Read More »

Ping to Windows Server 2012 with Direct Access fails

Problem: Ping from Linux computers to Windows Server 2012 with Direct Access fails for hours (no response) although connectivity is working (eg. HTTPS) Discussion: Ping from other windows machines and Cisco machines worked, but from Linux machines ping was not answered. I tried to find the difference between those ICMP Echo Request Packets, and reduced it to

Ping to Windows Server 2012 with Direct Access fails Read More »

Clamav/Freshclam update fails!

Problem: I got the following error message in the the freshclam.log file on several servers with clamav installed. ERROR: getpatch: Can’t download daily-16682.cdiff from database.clamav.net Due to this bug the virus database wasn’t updated for days! It seams to be a bug in clamav with dialy-16682.cdiff (dialy.cvd increment)Normally that would be solve automatically by downloading

Clamav/Freshclam update fails! Read More »

Linux on HP servers

Problem: You want to check the hardware health status on you debian server running on an HP ProLiant hardware. After spending some time on the HP.com homepage, I got really angry. HP does a really bad job on their support homepage. If you search for DL360 G5 you see a list of operating systems. The

Linux on HP servers Read More »