In which case lircd isn't running so you need to enter: sudo /etc/init.d/lirc start first, then run the irsend command again.