/usr/share/doc/eggdrop-data/html/faqs.html is in eggdrop-data 1.6.21-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!-- $Id: faqs.html,v 1.24 2011/02/13 14:19:32 simple Exp $ -->
<html>
<head>
<title>Eggdrop Documentation: Frequently Asked Questions</title>
</head>
<body>
<div align="center">
<p><strong>Frequently Asked Questions</strong></p>
</div>
<hr>
<p><strong>Contents</strong></p>
<blockquote>
<ol>
<li><a href="#sect1">What do I do if I get the Error "User file
not found"?</a></li>
<li><a href="#sect2">My Eggdrop won't run; It just says
"Can't find your hostname!"</a></li>
<li><a href="#sect3">What the heck is Tcl?</a></li>
<li><a href="#sect4">My bot dies, and the last entry in the logfile is
"Received terminate signal". What does that mean, and can I
prevent it?</a></li>
<li><a href="#sect5">Someone else set up a bot I don't like. Are
there any backdoors I can use to take their bot down?</a></li>
<li><a href="#sect6">What are modules?</a></li>
<li>
<a href="#sect7">Can I compile Eggdrop without dynamic modules?</a>
<ol type="a">
<li><a href="#sect7a">Do I still need to "loadmodule"
modules?</a></li>
</ol>
</li>
<li><a href="#sect8">Where can I get a pre-compiled Eggdrop for my
computer?</a></li>
<li><a href="#sect9">I get "Makefile:3 : invalid operator"
of some such thing When I try to "make"</a></li>
<li><a href="#sect10">When I "tclsh scripts/weed
<userfile> c" It barfs chunks at me and dies.</a></li>
<li><a href="#sect11">I get "ld-elf.so.1: Shared object
"libtcl80.so.1" not found" or "eggdrop: error in
loading shared libraries / libtcl8.1.so: cannot open shared object
file: No such file or directory" when I try to start my
bot.</a></li>
<li><a href="#sect12">I get a whole pile of "unresolved symbol
'Tcl_AppendResult'" (or some other symbol) when I try to
load a module.</a></li>
</ol>
</blockquote>
<p><a name="sect1"></a>1.<strong> What do I do if I get the error
"User file not found"?</strong></p>
<blockquote>
<ul>
<li>Run Eggdrop with the "-m" option (i.e. "eggdrop
-m eggdrop.conf").</li>
<li>Go to IRC and send "hello" to your bot (i.e.
"/msg mybot hello").</li>
<li>You will become an owner on your bot. You can leave the bot
running (nobody else will become an owner if they say
"hello"), but in the future, don't use the
"-m" option when running the bot.</li>
</ul>
</blockquote>
<p><a name="sect2"></a>2. <strong>My Eggdrop won't run; it just says
"can't find your hostname!"</strong></p>
<blockquote>
Your machine is set up strangely, and Eggdrop can't figure out its
network hostname. You can get around this by setting the my-ip setting
in the config file correctly.
</blockquote>
<p><a name="sect3"></a>3. <strong>What the heck is Tcl?</strong></p>
<blockquote>
<p>Tcl is a scripting language written by John Ousterhout. It's
much better than most "built-in" script languages (like the
one in ircII) and is meant to be linked with anything needing a
scripting language, so I linked it with Eggdrop.
<a href="tcl-commands.html">Eggdrop Tcl Commands</a> contains a list of
additional Tcl commands provided by Eggdrop. There are also several
example scripts in the scripts/ directory, and one in the doc directory
called first_script.txt. There are also hundreds of scripts floating
around on the ftp/web sites if you like working by example (which is
typically the best way).</p>
</blockquote>
<p><a name="sect4"></a>4. <strong>My bot dies and the last entry in the
logfile is "received terminate signal". What does that mean and
can i prevent it?</strong></p>
<blockquote>
<p>There's nothing you can do to prevent it. It means the system
administrator is killing the Eggdrop process. Most of the time,
it's an automatic thing that happens when the system is being
rebooted, so it's harmless. If you have a crontab running, the bot
will get restarted when the system is back online. Occasionally, the
system administrator will kill the bot manually. For example, if
he/she doesn't want bots running on the system.</p>
</blockquote>
<p><a name="sect5"></a>5. <strong>Someone else set up a bot I don't
like. Are there any backdoors I can use to take their bot down?</strong></p>
<blockquote>
<p>No, there have never been any backdoors and there never will be, so
please stop asking. Every once in a while, someone finds a way to
exploit a bug in Eggdrop, but we fix these bugs as soon as we find out
about them. If you want to bring down someone else's bot, you will
not have my/our help.</p>
</blockquote>
<p><a name="sect6"></a>6. <strong>What are modules?</strong></p>
<blockquote>
<p>Modules are a way of adding extra features to the bot, much like Tcl
scripts, without requiring the bot to be recompiled. See doc/MODULES for
more info.</p>
</blockquote>
<p><a name="sect7"></a>7. <strong>Can I compile Eggdrop without dynamic
modules?</strong></p>
<blockquote>
<p>Yes, you can. If the configure script detects that your system
CAN'T run modules, it will setup 'make' to link the
modules in statically for you. You can choose this option yourself by
using 'make static'. You can also try to compile dynamic
modules on a static-only system by using 'make eggdrop'.</p>
</blockquote>
<p><a name="sect7a"></a>7a. <strong>Do I still need to 'loadmodule'
modules?</strong></p>
<blockquote>
<p>YES, when you compile statically, all the modules are linked into
the main executable. HOWEVER, they are not enabled until you use
loadmodule to enable them, hence you get nearly the same functionality
with static modules as with dynamic modules.</p>
</blockquote>
<p><a name="sect8"></a>8. <strong>Where can i get a pre-compiled Eggdrop
for my computer?</strong></p>
<blockquote>
<p>It is <strong>HIGHLY</strong> recommended <strong>AGAINST</strong>
using pre-compiled Eggdrops from un-trusted sources. Eggdrop has been a
regular target for hacking and crashing. Distribution of pre-compiled
(binary) versions of Eggdrop are the easiest way for hackers to provide
you with the easiest (and most dangerous) way of gaining access to, not
only your bot, but to your computer account directly. Don't
advertise your pre-compiled Eggdrop binary sites on the Eggdrop list
either. =P</p>
</blockquote>
<p><a name="sect9"></a>9. <strong>I get 'Makefile:3 :invalid
operator' or some-such-thing when I try to 'make'.</strong>
</p>
<blockquote>
<p>Try 'gmake'.</p>
</blockquote>
<p><a name="sect10"></a>10. <strong>When I 'tclsh scripts/weed
<userfile> c' it barfs chunks at me and dies. :(</strong></p>
<blockquote>
<p>Upgrade your Tcl, you are probably using Tcl 7.5 or earlier. Some
of the commands in weed require Tcl7.6 to run, so either upgrade it or
remove the offending lines from you userfile manually (those starting
with '.' generally) and accept the loss of that data.</p>
</blockquote>
<p><a name="sect11"></a>11. <strong>I get "ld-elf.so.1: Shared
object "libtcl80.so.1" not found" or "eggdrop: error
in loading shared libraries / libtcl8.1.so: cannot open shared object
file: No such file or directory" when I try to start my bot.
</strong></p>
<blockquote>
<p>'./configure' is looking in the wrong place for Tcl; it
looks like it compiled with one version of Tcl and tries to load
another. Maybe your sysadmin upgraded Tcl and didn't tell you. In
that case, you should just need to recompile your bot.</p>
<p>Maybe, when upgrading, he didn't clean the old version of Tcl,
and './configure' is looking for the files in the wrong places,
or trying to use different versions of tcl.h and libtcl*. Smack your
admin and have him install Tcl properly. ;) You can also try:</p>
<blockquote>
<p><em>./configure --with-tcllib=<path-to-tcl-lib>
--with-tclinc=<path-to-tcl-inc></em></p>
</blockquote>
<p>This will tell configure where to look for the Tcl files.</p>
<p>Try looking for libtcl by:</p>
<blockquote>
<p>ls /usr/lib/libtcl*<br>
ls /usr/local/lib/libtcl*</p>
</blockquote>
<p>Try looking for tcl.h by:</p>
<blockquote>
<p>ls /usr/include/*/tcl.h<br>
ls /usr/local/include/*/tcl.h</p>
</blockquote>
<p>If everything else fails, try to install Tcl to your home dir ;)
(Suggested by dw@Undernet, dw@lixom.nu).</p>
</blockquote>
<p><a name="sect12"></a>12. <strong>I get a whole pile of
"Unresolved symbol 'Tcl_AppendResult'" (or some other
symbol) when I try to load a modules.</strong></p>
<blockquote>
<p>Possibility A: See section 11.</p>
<p>Possibility B: Some of the standard libraries have been compiled
for static linking only on your machine, you have 3 options:</p>
<blockquote>
<ol>
<li>
<p>If it's your own machine, recompile Tcl using dynamic
linking by using './configure --enable-shared' when you
configure Tcl (not the bot) and then remake, & reinstall.</p>
</li>
<li>
<p>If it's not your machine, you may have to resort to 'make
static' and 'make install DEST="path"' to make
and install your bot.</p>
</li>
<li>
<p>If you are of a more aggressive sense of mind, go beat the
stuffing out of your admin for having lame static libraries. :)</p>
</li>
</ol>
</blockquote>
<hr>
<p><em>Copyright © 1997 Robey Pointer<br>
Copyright © 1999 - 2011 Eggheads Development Team
<a href="http://www.eggheads.org/"> Eggheads Development Team</a></em></p>
</body>
</html>
|