[Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log ‘server-bin.000001′ at postion

I’ve got this on one of my mysql powerdns replication slaves. I restored the server from another slave and forgot to change the server-id in my.cnf.
hope it saves someone sometime …

Google Apps BES Connector : Invalid Credentials. Please try again

Make sure your time on the BES server is correct …

Create ISO in MacOS

open terminal ( of course )

# get drive name
$ drutil status
#un mount
$ diskutil unmountDisk /dev/disk1
#make iso
$ dd if=/dev/disk1 of=file.iso bs=2048
#test iso
$ hdid file.iso

kudos to the original post

Delete all OSSIM incidents

If you’re just starting out with OSSIM, chances are you have thousands of incidents due to misconfiguration.
One way to “start fresh” is to to launch ossim-db and run the following :

DELETE FROM incident;

This will delete ALL incidents and tickets.
Note: Backup first, and keep that backup for reference.

Issues with FTP on CentOS 5.4

If you’re getting “data connection refused errors” when trying to ftp onto a CentOS box, make sure your ip_conntrack_ftp is loaded.
The default RH/CentOS iptables script includes a conntrack statement :

-A RH-Firewall-1-INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT

but does not load the ftp module.
to fix on the fly run :

modprove ip_conntrack_ftp

to make sure it happens again on boot modify your /etc/sysconfig/iptables-config modules list :

IPTABLES_MODULES=”ip_conntrack_netbios_ns ip_conntrack_ftp”