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.

Error when compiling netbots.tcl

Old posts that have not been replied to for several years.
Locked
Z
Z0RrO

Error when compiling netbots.tcl

Post by Z0RrO »

Hi,
I am using the same configuration (netbots.tcl, netset.tcl and my config file) and, I got a new shell and I am trying to install one egg on it with netbots but, the egg does not want to compile, here the error message:

Eggdrop v1.6.15 (C) 1997 Robey Pointer (C) 2003 Eggheads
[23:06] --- Loading eggdrop v1.6.15 (Wed Sep 3 2003)
[23:06] Listening at telnet port 6969 (all)
[23:06] Module loaded: dns
[23:06] Module loaded: channels
[23:06] Module loaded: server
[23:06] Module loaded: ctcp
[23:06] Module loaded: irc
[23:06] Module loaded: notes (with lang support)
[23:06] Module loaded: console (with lang support)
[23:06] Module loaded: blowfish
[23:06] Module loaded: uptime
[23:06] Loading netbots.tcl v4.09 by slennox..
[23:06] Tcl error in file 'logizbnc.conf':
[23:06] couldn't open "netbots/nbmd5": permission denied
while executing
"open $nb_dir/nbmd5 w"
(procedure "nb_md5write" line 4)
invoked from within
"nb_md5write $nb_lsource $filemtime [md5 $fstring]"
("foreach" body line 14)
invoked from within
"foreach nb_lcomponent [lsort [array names nb_component]] {
if {!$nb_component($nb_lcomponent)} {continue}
set nb_lsource $nb_dir/$nb_lcomponen..."
invoked from within
"if {[info exists nb_component]} {
foreach nb_lcomponent [lsort [array names nb_component]] {
if {!$nb_component($nb_lcomponent)} {continue}
..."
(file "netbots/netbots.tcl" line 2319)
invoked from within
"source netbots/netbots.tcl"
(file "logizbnc.conf" line 1319)
[23:06] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

It look like I dont have the permission to write a file, but, I don't understand, my shell type is -bash-2.05b I am also the administrator of this server, so, I can perform whatever I need to do .. How do I fix it ? Help me.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

It looks like the script doesn't have write access to the netbots directory. I assume you have created a dir named "netbots" in your bot's root directory and placed the script, settings file, and components there. Make sure that dir writable, e.g. rwx------ (if that doesn't work, make it world writable, rwxrwxrwx, and see if that changes things). Check that the same is true of the bot's main directory.

Also delete any nbmd5 file that may exist in the netbots dir.
Z
Z0RrO

Command ?

Post by Z0RrO »

Hi, can you give me the command to change the right for the folder ? Thk
D
Darmoth
Master
Posts: 210
Joined: Sun Oct 07, 2001 8:00 pm
Location: old europe

Post by Darmoth »

Z
Z0RrO

Using CHMOD for subdirectories

Post by Z0RrO »

Hi,
I use : chmod -R -L u=rwx logiz /home/logiz1/
now, everything look like find, but, it does give the permission for subdirectories : "/home/logiz1/logizbox/netbots/" How can I use the chmod to allow the same permissions for all files and subdirectories ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You shouldn't use that command.

That will set everything +x (execute).
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

Zorro,

1) log in to your shell
2) type cd eggdrop
3) type chmod go= *
4) type cd netbots
5) type chmod go= *

That will set both the "eggdrop" and "netbots" directories to rwx------ as Slennox suggested.
Locked