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.

tcl modules do not load unless I run eggdrop manually

Old posts that have not been replied to for several years.
Locked
m
mickazoid

tcl modules do not load unless I run eggdrop manually

Post by mickazoid »

Hi folks!

Eggdrop runs great (including all my delightful logging and joinandpart .tcl scripts) when i run it from my user shell, using

Code: Select all

./eggdrop DevBot.conf
However whether I use autobotchk & a botchk crontab or a startup command from the root shell, like

Code: Select all

su myname -c ./eggdrop DevBot.conf
those delightful TCL modules won't load.

Permissions? Environment Variables?

Sorry if this is posted elsewhere - I did my honest best to track it down!

Thanks in advance for any help.
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

I think it's the paths. But well, why wud you wanna start your bot from the root shell though, maybe eggdrop chokes even if you try to run it on another a/c thru the root shell? Just a guess.

Get inthat user a/c and setup autobotchk.
Dormant egghead.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I think you should use su - my name .....
m
mickazoid

Post by mickazoid »

the 'su -' before the name (while including the subsequent -c) did the trick delightfully.

Now, immediately following startup of the irc server, eggdrop loads with full functionality.

Thanks guys, and thanks Sir_Fz for the extra-elegant eye.
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

My bad, when I said "I think it's the paths", I had "Try su -" in the line that followed it. But well, someone else too care of it :)
Dormant egghead.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

ur welcome :)
Locked