| View previous topic :: View next topic |
| Author |
Message |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Wed Mar 29, 2017 4:37 pm Post subject: botchk issue |
|
|
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 |
|
 |
m4s Halfop

Joined: 30 Jan 2017 Posts: 97
|
Posted: Sat Apr 01, 2017 3:03 pm Post subject: Re: botchk issue |
|
|
Hi,
Try this:
./autobotchk my.conf -dir "/way/to/your/konfig/file/" -noemail -5 |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Sun Apr 02, 2017 9:15 am Post subject: |
|
|
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 |
|
 |
m4s Halfop

Joined: 30 Jan 2017 Posts: 97
|
Posted: Sun Apr 02, 2017 1:05 pm Post subject: |
|
|
Hi,
Try this:
./autobotchk chmod.conf -dir "/home/devnull/eggdrop/" -noemail -5
You did not write the "!!! |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Sun Apr 02, 2017 9:12 pm Post subject: |
|
|
| 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 |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sun Apr 02, 2017 10:00 pm Post subject: |
|
|
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 |
|
 |
m4s Halfop

Joined: 30 Jan 2017 Posts: 97
|
Posted: Tue Apr 04, 2017 11:02 am Post subject: |
|
|
| 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.  |
|
| Back to top |
|
 |
Carolyn40 Voice
Joined: 27 Apr 2017 Posts: 1
|
Posted: Thu Apr 27, 2017 9:05 pm Post subject: Re: botchk issue |
|
|
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 |
|
 |
|