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.

Eggdrop refusing to create a userfile.

General support and discussion of Eggdrop bots.
Post Reply
O
OddPanda
Voice
Posts: 2
Joined: Sat Oct 10, 2009 6:02 am
Location: United States
Contact:

Eggdrop refusing to create a userfile.

Post by OddPanda »

I know this topic has been brought up a few times before. I looked at each of them and none helped. My bot starts up perfectly fine but refuses to create a userfile.

STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type: /msg Herbert hello
This will make the bot recognize you as the master.

[04:56] === Herbert: 1 channels, 0 users.
* Warning! Could not write pid.Herbert file!
Launched into the background (pid: 16140)

That is what it tells me. When I try .save in DCC Chat, it refuses.

# Specify here the filename your userfile should be saved as.
set userfile "Herbert.user"

# Specify here the filename Eggdrop will save its pid to. If no pidfile is
# specified, pid.(botnet-nick) will be used.
set pidfile "pid.Herbert"

That is what is written in my .conf file.

Please help the best you can. I really do not feel like having to restart my bot and his entire memory everytime I use him.

Thanks in advance.



I got some help from someone and I now get this error:

[20:08] * Old userfile, use 'tclsh scripts/weed <userfile> c' to convert

I have googled it a few times and I can't follow the instructions. Please help me.
~OddPanda Will Eat Your Heart~
D
DjSlash
Voice
Posts: 8
Joined: Wed Jul 29, 2009 7:12 am
Location: Groningen, Netherlands
Contact:

Post by DjSlash »

How did that 'someone' help you?

Since you get also the error 'Could not write pid.Herbert file', you must examine the permissions on the directories where you running your bot from. See if you can create files with the user the bot is running with.
O
OddPanda
Voice
Posts: 2
Joined: Sat Oct 10, 2009 6:02 am
Location: United States
Contact:

Post by OddPanda »

He talked me through creating the user file or something. I am not entirely sure. Linux newbie. O_O I changed the location for it to save my userfile and it started giving me the other error. The one to convert. When I do the command, it says the userfile could not be read.
~OddPanda Will Eat Your Heart~
D
DjSlash
Voice
Posts: 8
Joined: Wed Jul 29, 2009 7:12 am
Location: Groningen, Netherlands
Contact:

Post by DjSlash »

Remove the file that you created with the person trying to help you, as you've seen it ain't working for you.

Did you do the following to make the bot and install it?

Code: Select all

./configure
make
make config
make install DEST=/home/user/botdirectory
After compiling your bot, did you cd to the directory you've installed it in?

Do you use the same user running the bot, as when you are configuring it?

Did you edit the config file completely?

Run the bot from the directory it's in.

Start the bot with the "-m" option to create a user file, i.e. './eggdrop -m LamestBot.conf'
Post Reply