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 

botchk issue

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


Joined: 26 Feb 2008
Posts: 57

PostPosted: Wed Mar 29, 2017 4:37 pm    Post subject: botchk issue Reply with quote

I am running eggdrop 1.8 and when I do a ./autobotchk my.conf I get
Quote:

Eggdrop v1.8.1+alpha (C) 1997 Robey Pointer (C) 1999-2017 Eggheads
Configure flags: none
Compiled with: IPv6, TLS, handlen=32
[16:21:05] LANG: No lang files found for section core.
while executing
"exec "$dir/$binary" -v"
invoked from within
"if {![regexp {handlen=([0-9]+)} "[exec "$dir/$binary" -v]" -> handlen]} {
puts " Could not find handlen used, defaulting to 32."
# len 32 means u..."
(file "./autobotchk" line 250)

What am I missing?
Back to top
View user's profile Send private message
m4s
Voice


Joined: 30 Jan 2017
Posts: 23

PostPosted: Sat Apr 01, 2017 3:03 pm    Post subject: Re: botchk issue Reply with quote

Hi,

Try this:
./autobotchk my.conf -dir "/way/to/your/konfig/file/" -noemail -5
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Sun Apr 02, 2017 9:15 am    Post subject: Reply with quote

Same thing for me. Running Debian 8.7, with 3.16.0-4-amd64 kernel.
Eggdrop compiled perfectly, with no stdout errors. It only errored when I created cron using ./autobotchk
Code:

devnull@matrix.home: cd ~/eggdrop/scripts; chmod 700 autobotchk; ./autobotchk chmod.conf -dir /home/devnull/eggdrop -noemail

autobotchk 1.11, (C) 1999-2003 Jeff Fisher (guppy@eggheads.org)

                 (C) 2004-2016 Eggheads Development Team
------------------------------------------------------------

Opening 'chmod.conf' for processing ... done
Scanning the config file ................ done
  Defaulting $botnet-nick to "chmod"
Eggdrop v1.8.1 (C) 1997 Robey Pointer (C) 1999-2017 Eggheads
Configure flags:  '--with-tclinc=/usr/include/tcl8.6/tcl.h' '--with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so' '--with-handlen=30' '--with-openssl=/usr/local/ssl'
Compiled with: IPv6, TLS, handlen=30
[09:08:22] LANG: No lang files found for section core.
    while executing
"exec "$dir/$binary" -v"
    invoked from within
"if {![regexp {handlen=([0-9]+)} "[exec "$dir/$binary" -v]" -> handlen]} {
  puts "  Could not find handlen used, defaulting to 32."
  # len 32 means u..."
    (file "./autobotchk" line 250)
devnull@matrix.home

_________________
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
m4s
Voice


Joined: 30 Jan 2017
Posts: 23

PostPosted: Sun Apr 02, 2017 1:05 pm    Post subject: Reply with quote

Hi,

Try this:
./autobotchk chmod.conf -dir "/home/devnull/eggdrop/" -noemail -5

You did not write the "!!!
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Sun Apr 02, 2017 9:12 pm    Post subject: Reply with quote

m4s wrote:
Hi,

Try this:
./autobotchk chmod.conf -dir "/home/devnull/eggdrop/" -noemail -5

You did not write the "!!!


That still doesn't work. It's easier to just crontab -e and enter manually.
_________________
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
willyw
Owner


Joined: 15 Jan 2009
Posts: 921

PostPosted: Sun Apr 02, 2017 10:00 pm    Post subject: Reply with quote

I'm not sure that I understand but:

Would it solve it to simply copy autobotchk up one dir, so that a copy is in the same dir with the eggdrop executable and the working .conf file? Then no -dir switch is needed.

I've done it this way many times.
_________________
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
m4s
Voice


Joined: 30 Jan 2017
Posts: 23

PostPosted: Tue Apr 04, 2017 11:02 am    Post subject: Reply with quote

Get_A_Fix wrote:
m4s wrote:
Hi,

Try this:
./autobotchk chmod.conf -dir "/home/devnull/eggdrop/" -noemail -5

You did not write the "!!!


That still doesn't work. It's easier to just crontab -e and enter manually.


Hi,

Worked for me! You only have to know the correct path to your config file. Smile
Back to top
View user's profile Send private message
Carolyn40
Voice


Joined: 27 Apr 2017
Posts: 1

PostPosted: Thu Apr 27, 2017 9:05 pm    Post subject: Re: botchk issue Reply with quote

I had this issue too, at first. Here is how I managed it perfectly.

1. navigate to the directory where the eggdrop executable is installed.
2. make sure that the config file for your bot is in this directory as well
3. type:
Code:
scripts/autobotchk <config_filename> -noemail -5


no need to specify the path for the config file this way.
_________________
If all else fails, read the directions.
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