Linux

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 »

CDP / LLDP Fun

Problem: You want to know which switch and what port your Linux machine is connected to? Solution: If the switch does CDP (all Cisco switches do), it tells you a lot of information. Tcpdump can capture and show this information. # tcpdump -i eth0 -n -v -s 1500 -c 1 ‘ether[20:2] == 8192’ tcpdump: listening

CDP / LLDP Fun Read More »

ejabberd on debian with pam

Problem: After updating from debian lenny (5) to squeeze (6) ejabberd authentication (PAM) stopped working. Solution: ejabberd uses an external programm called epam to authenticate. But this programm had no permission to use pam. I had to type these commands: chown root.ejabberd /usr/lib/ejabberd/priv/bin/epam chmod 4750 /usr/lib/ejabberd/priv/bin/epam killall epam ejabberd 2.1.5-3+squeeze1

ejabberd on debian with pam Read More »