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 error !?

Old posts that have not been replied to for several years.
Locked
s
skilla

eggdrop error !?

Post by skilla »

Can anybody tell me how to start my eggdrop?

Error:
[root@hat eggdrop1.6.13]# su -c './eggdrop -m eggdrop.conf' bnc
bash: /root/.bashrc: Permission denied

Eggdrop v1.6.13 (C) 1997 Robey Pointer (C) 2002 Eggheads
[12:51] --- Loading eggdrop v1.6.13 (Mon Mar 31 2003)
[12:51] Listening at telnet port 3333 (all)
[12:51] Can't load modules dns: /root/eggdrop1.1.5/eggdrop1.6.13/modules/dns.so: cannot open shared object file: Permission denied
[12:51] Can't load modules channels: /root/eggdrop1.1.5/eggdrop1.6.13/modules/channels.so: cannot open shared object file: Permission denied
[12:51] Can't load modules server: /root/eggdrop1.1.5/eggdrop1.6.13/modules/server.so: cannot open shared object file: Permission denied
[12:51] Can't load modules ctcp: /root/eggdrop1.1.5/eggdrop1.6.13/modules/ctcp.so: cannot open shared object file: Permission denied
[12:51] Can't load modules irc: /root/eggdrop1.1.5/eggdrop1.6.13/modules/irc.so: cannot open shared object file: Permission denied
[12:51] Can't load modules notes: /root/eggdrop1.1.5/eggdrop1.6.13/modules/notes.so: cannot open shared object file: Permission denied
[12:51] Can't load modules console: /root/eggdrop1.1.5/eggdrop1.6.13/modules/console.so: cannot open shared object file: Permission denied
[12:51] Can't load modules woobie: /root/eggdrop1.1.5/eggdrop1.6.13/modules/woobie.so: cannot open shared object file: Permission denied
[12:51] Can't load modules blowfish: /root/eggdrop1.1.5/eggdrop1.6.13/modules/blowfish.so: cannot open shared object file: Permission denied
[12:51] Can't load modules uptime: /root/eggdrop1.1.5/eggdrop1.6.13/modules/uptime.so: cannot open shared object file: Permission denied
[12:51] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[12:51] use '.help userinfo' for commands.


STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
This will make the bot recognize you as the master.

You have installed modules but have not selected an encryption
module, please consult the default config file for info.
[root@hat eggdrop1.6.13]#
Thank you !!!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Don't install/run eggdrop as the root user..
Once the game is over, the king and the pawn go back in the same box.
k
karlmiller

Post by karlmiller »

looks like you need to change your file permissions and ownerships

try installing as a normal user
i.e. user bnc

in

/home/bnc/eggdrop

or similar.

The bit about the encryption module appears because the blowfish.so could not be loaded.

So check and change your file permissions and it may work.

Hope This Helps.

Karl
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

caesar wrote:Don't install/run eggdrop as the root user..
That's not what he's doing...installing as root is fine, but then he obviously needs to change some file permissons before trying to run it as another user. Being root he SHOULD have a clue about how things work in the unix world, but he oviously don't.

I suggest reading the error messages :)

http://www.google.com/search?q=clue
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

As far as I know/remeber the eggdrop wont let him run as the root user, an error will pop out when will try to do so.
Once the game is over, the king and the pawn go back in the same box.
s
skilla

Post by skilla »

i added the user "bnc" with adduser bnc
then i used a command which told me a friend: chown -R bnc:users *
chmod of der folder "modules" with all files is 777 and eggdrop is chmod 777, too.

it doesnt work :(
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

chown changes user rights. add what user suits you better and try installing with it the eggdrop, an new one in the /home dir without doing again the chown and chmod commands.
Once the game is over, the king and the pawn go back in the same box.
s
skilla

Post by skilla »

how to add a user with password ?

i only know adduser and then su -c 'command' user

but i dont know how to set a password for an added user.

help please
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

Why don't you just remove the # before 'loadmodule blowfish'? That's what the error message is stating.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is a lot more involved to thsi eror that you think.

It is not just the blowfish module that hasn't loaded, all the module are no loaded (see the error message in full, not the last 2 lines).

Follow these steps.

As you have done, you created a new user called BNC. This is fine, and exactly what you are supposed to do.

What you have done wrong though, is as root alltogether. As any admin will tell you (or any user that has some form of clue), you should never login as root, unless there is no other way around things.

Once you have done the adduser command, perform the following actions

1: use the "passwd" command, to change the users password. In this case, use "passwd bnc"

2: Logout, and then login as the user "bnc"

3: Download eggdrop

4: Unpack and install eggdrop.

5: Do not use "su -c", login as "bnc" and use start the bot, according to the instructions on www.egghelp.org

I would help fix your current issues, but they are very long winded, and would only end with sombody putting a fist through the monitor.
s
skilla

Post by skilla »

BarkerJr wrote:Why don't you just remove the # before 'loadmodule blowfish'? That's what the error message is stating.
in my eggdrop.conf without chanign anything:

#### BLOWFISH MODULE ####

# IF YOU DON'T READ THIS YOU MAY RENDER YOUR USERFILE USELESS LATER
# Eggdrop encrypts its userfile, so users can have secure passwords.
# Please note that when you change your encryption method later (i.e.
# using other modules like a md5 module), you can't use your current
# userfile anymore. Eggdrop will not start without an encryption module.
loadmodule blowfish

################################################

Now i used passwd to set a password to the user bnc.

i downloaded the files with:
wget http://......../eggdrop......tar.gz

then i unzip the zip archiv:
tar xvfz eggdrop......tar.gz

and while unzipping there is an error :((
[bnc@hat bnc]$ tar xvfz eggdrop1.6.13.tar.gz
eggdrop1.6.13/
eggdrop1.6.13/CONTENTS
eggdrop1.6.13/COPYING
eggdrop1.6.13/ChangeLog
eggdrop1.6.13/FEATURES
eggdrop1.6.13/INSTALL
eggdrop1.6.13/Makefile.in
eggdrop1.6.13/NEWS
eggdrop1.6.13/README
eggdrop1.6.13/acconfig.h
eggdrop1.6.13/aclocal.m4
eggdrop1.6.13/config.h.in
eggdrop1.6.13/configure
eggdrop1.6.13/configure.in
eggdrop1.6.13/disabled_modules
eggdrop1.6.13/eggdrop.conf
eggdrop1.6.13/doc/
eggdrop1.6.13/doc/ABOUT
eggdrop1.6.13/doc/AUTHORS
eggdrop1.6.13/doc/BANS
eggdrop1.6.13/doc/BOTNET
eggdrop1.6.13/doc/BUG-REPORT
eggdrop1.6.13/doc/CONTENTS
eggdrop1.6.13/doc/KNOWN-PROBLEMS
eggdrop1.6.13/doc/MODULES
eggdrop1.6.13/doc/Makefile.in
eggdrop1.6.13/doc/PARTYLINE
eggdrop1.6.13/doc/UPDATES.pre1.5
eggdrop1.6.13/doc/UPDATES1.5
eggdrop1.6.13/doc/UPDATES1.6
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Re-download. This just means the file is corrupt.
s
skilla

Post by skilla »

it works now :D

but i cant dcc :(
Chat with ******
Waiting for acknowledgement...
i think there should be written: type password: or something like that.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Because of firewall, router, nat and other issues on both sides of the connection, it may well be that you can't directly DCC chat the bot.

Try using "/ctcp <nickname> chat" replacing <nickname> with the bots.
Locked