egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop not saving userfile

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
alan
Voice


Joined: 26 Apr 2020
Posts: 1

PostPosted: Sun Apr 26, 2020 9:44 am    Post subject: Eggdrop not saving userfile Reply with quote

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
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1101

PostPosted: Sun Apr 26, 2020 11:13 am    Post subject: Re: Eggdrop not saving userfile Reply with quote

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

Quote:

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.

Quote:

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.

Quote:

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:

# 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.

Quote:

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 !
Back to top
View user's profile Send private message
ComputerTech
Op


Joined: 22 Feb 2020
Posts: 152
Location: Northern Ireland

PostPosted: Sun Apr 26, 2020 2:56 pm    Post subject: Reply with quote

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 Smile
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Yourname
Master


Joined: 24 Sep 2001
Posts: 358
Location: Toronto

PostPosted: Fri May 22, 2020 4:26 pm    Post subject: Reply with quote

Look at the folder permissions, like the guys above me said
_________________
Dormant egghead.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber