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 not saving userfile

General support and discussion of Eggdrop bots.
Post Reply
a
alan
Voice
Posts: 1
Joined: Sun Apr 26, 2020 9:34 am

Eggdrop not saving userfile

Post by alan »

Goodday everybody,

thank you for your time reading my problem.

I set up the eggdrop-1.8.4 but it has some problems.

The bot is showing up in the channel.
It reacts on /msg hello
And I can set a password.

But for the rest it is not responding at all.
commands like "help all" gives "no help available on that".


Also I cannot start the eggdrop without the -m option.
So it looks like the userfile is not saved.

It also gives a warning when I start the eggdrop :"* Warning! Could not write pid.mychan "

I have been looking all over the www but can not find in which directory that userfile should be.

I'm using FreeBSD server.

hope I'm clear enough and somebody can help me out.

Regards Alan
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Eggdrop not saving userfile

Post by willyw »

alan wrote: ...
But for the rest it is not responding at all.
commands like "help all" gives "no help available on that".
You did this on the partyline, correct?
and the first character is a dot, correct?
as in:
.help all
So it looks like the userfile is not saved.
Have a look for it. Be sure.
Is it there?
It sounds like you won't find it ... but it only takes seconds to have a look and be sure.
It also gives a warning when I start the eggdrop :"* Warning! Could not write pid.mychan "
It's sounding like the bot does not have write permission in the dir that it is trying to write these files in.
I have been looking all over the www but can not find in which directory that userfile should be.
Bot will try to write it exactly where you have told it to, in eggdrop.conf .

For example:

Code: Select all

# Specify here the filename your userfile should be saved as.
###set userfile "LamestBot.user"
set userfile "imabot.user"
That's copy-and-paste, right out of a working bot.

Since there is no path specified, the file is created in the bot's dir.
It's relative.
I'm using FreeBSD server.
I know just about nothing of FreeBSD.

I assume that it has file and directory permissions, same as Debian and ubuntu and others.

By chance, did you create the bot's directory while you were root?
In other words, check to see who owns the bot's directory. (All the directories related to the bot, while you are at it.)
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

Like willyw said make sure each important line is set correctly

TIP also make sure none of the important lines are commented ›› #
remember the " " in those lines also :)
ComputerTech
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

Look at the folder permissions, like the guys above me said
Dormant egghead.
Post Reply