I started my eggdrop bot but it never joined IRC

If the process is up and IRC never sees it, it is almost always conf, bind, or the network refusing the connection. SSH in. Do not keep restarting from screen hoping it "catches."

Is it even running?

ps x | grep eggdrop
cd ~/botdir
tail -n 80 logs/eggdrop.log

Log lines are not always flushed immediately unless quick-logs is on. Wait a minute, or start once in the foreground:

./eggdrop -nt botnick.conf

Quit that session and the bot dies. That is expected. Use it to read the connect error, then go back to ./eggdrop botnick.conf.

Usual causes

  • die still in the conf
  • set vhost4 / set vhost6 is the wrong IP, or you did not bind the vhost you were given
  • ident / set username does not match the shell user the net expects
  • server line is wrong; try another server, or +6697 for TLS
  • keyed channel: you JOINed #chan without the key (chanmode "+ntk thekey")
  • the net dropped you for clone/connection limits — AUP is max 2 IRC connections per shell to a given network (bot + you + ZNC all count if they hit the same net from that shell)
  • listen port clash (less common for "not on IRC", more common for partyline)

Kill a stuck binary (kill the pid from ps x) before starting again. After it works, autobotchk.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Setting up an Eggdrop (the short version)

SSH into your KIRE shell. Not telnet. Tcl and OpenSSL are already on the box. Current Eggdrop is...

Getting the Eggdrop Source Code

Get current Eggdrop from the Eggheads project. That is geteggdrop.com or ftp.eggheads.org. The...

Detailed Installation Instructions (Manual Install Method)

SSH into the shell. Tcl and OpenSSL are already there. Current Eggdrop is 1.9 / 1.10 from...

How to configure your eggdrop bot

Work in the install dir (~/botdir). Copy the sample, do not edit eggdrop.conf in place: cp...

Editing the botchk file to automatically restart your bot

Eggdrop daemonizes. Screen/tmux are for irssi/weechat, not the bot. Persist with crontab via...