This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Problems starting up bot

General support and discussion of Eggdrop bots.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Yep, either you already got a process running, or it exited uncleanly leaving a "pidfile" behind...
Just do as the last line tells you to: Check if you already got a process running, otherwize remove the pidfile
NML_375
h
hype
Voice
Posts: 11
Joined: Sat Aug 05, 2006 7:35 pm

Post by hype »

how do you erase it?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Like you'd remove any file... using rm

I'd strongly suggest making sure there's no process currently running tho, and if so, killing it first...
NML_375
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

hype wrote:how do you erase it?
Make sure you do not have a running process for the bot.

To find this out and to kill that process do the following on your shell:

Code: Select all

ps x
The result will look something like this:
[chuckles@cristie ~/bots]$ ps x
PID TT STAT TIME COMMAND
73073 p0 SNs 0:00.02 -bash (bash)
95803 p0 SN 0:00.01 /home/chuckles/bots/eggdrop ./borg.conf (eggdrop-1.6.18)
96087 p0 RN+ 0:00.00 ps x
[chuckles@cristie ~/bots]$
You will notice that I have highlighted the numbers on the left (in the above example) on the line containing information re eggdrop, that is the PID that needs to be killed if the eggdrop process is running.

You then issue the command to kill that process using the number given on your shell when you are given the PID for your running process.

Code: Select all

kill -9 <PID>
Having done that look for a file named 'pid.<botnick>' using "ls" and then delete:

Code: Select all

rm pid.<botnick>
Unix/Linux is case sensitive so make sure you type everything correctly.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
h
hype
Voice
Posts: 11
Joined: Sat Aug 05, 2006 7:35 pm

Post by hype »

done that, well it seems that it doesen't go online
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

hype wrote:done that, well it seems that it doesen't go online
Then do the following and watch all of the output, it will show what is wrong:

Code: Select all

./eggdrop -n eggdrop.conf
I also gave you a link in an earlier post on setting up egddrop, I suggest you follow the guide.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply