|
If you have not previously done so, we urge you to please run the auto-installing CRONTAB in our Magic Menu, which is built into all the SATEXAS Unix servers. To use this menu, simply telnet into your account and type 'menu' at the unix prompt.
A common mistake is to not see your bot on IRC, and assume that it is not actually launched on the server itself. In many cases this is false.
To double check to see if your bot process is running, type ps -x at the unix prompt. If your bot is running in the background, you will
see something that looks like the following examples :
Need to know how to kill your bot dead? Click HERE.
A great way to actually see what the real problem is, is to run BOTCHK just like CRONTAB does. Type the following at the SATEXAS Unix prompt, from inside your bot directory.
This is the most common error. If you edit your config file in DOS (Windows), and have ftp'd it back onto SATEXAS (Unix), depending on the editor you used (Wordpad, notepad, etc), you might have line breaks inserted in the file. They appear as ^M at the end of each line in UNIX. If the very first line in your eggdrop config file has a ^M at the end of it, BOTCHK/CRONTAB will FAIL.
To check this, simply use vi (Do NOT use pico), a unix editor, to view the file, and see if these special characters have corrupted your file. If so, you have 2 choices :
What SHOULD my config file look like :
!/usr/local/bin/eggdrop/botBAD : !/usr/local/bin/eggdrop/bot^MWe fully suggest that if your editor at home is causing the file to end with ^M (which look fine in windows, but show up in Unix), that you switch or experiment with other windows editors.
A rare but known mistake. If your config file (whatever it's named) does not have executable file rights, it will fail botchk. Double-check the file permissions on the files to make extra-sure they are correct by typing the following commands :
+x egg.configchmod +x botchk
If you have incorrectly answered any of the questions in the menu's automatic installation program, this will also cause your botchk to fail. Your user name and config file can not have any special characters in the name. Unix reserves these special characters in script language as special expressions, and the botchk file is considered a script. Try to use only Alpha-Numeric. This is stated in the SATEXAS default botchk file for your protection. In our examples below, the italicized words need to be substituted with your file names and settings.
botname="botnick" userfile="Bot.user"
To go into edit mode on your CRONTAB, type the following :
-e
Make changes to your crontab file to look similar to the following :
4,14,24,34,44,54
Once you have added that one line, save and close the file.
To check to make sure you even have a crontab entry, you can type crontab
Kill or stop your bot, and wait for it to refire back up. Since CRONTAB is programmed to run every 10 minutes, you need to wait at least that long before worrying. Need to know how to kill your bot dead from unix, or check processes? Click HERE. |
|
|