<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20641" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2019-06-23T06:49:14-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20641</id>

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2019-06-23T06:49:14-04:00</updated>

		<published>2019-06-23T06:49:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107697#p107697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107697#p107697"/>
		<title type="html"><![CDATA[Re: autobotchk]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107697#p107697"><![CDATA[
You're welcome.<br>I'm glad to hear that you got it all figured out.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Hope you didn't hurt the wall.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br><br>hmm...  that might make a good botnick someday, with some built in innuendo -   The_Wall .      Maybe I'll be able to remember that, when next I'm making a new bot.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Jun 23, 2019 6:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[roger]]></name></author>
		<updated>2019-06-23T00:03:53-04:00</updated>

		<published>2019-06-23T00:03:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107696#p107696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107696#p107696"/>
		<title type="html"><![CDATA[autobotchk]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107696#p107696"><![CDATA[
willyw you hit the nail on the head, when i set eggdrop back up in 18.04 i did it as root, i could start the bot and run it fine as a user, but i didn't own the files, after your post i did a chown -R and everything fell into place,<br>  thank you so very much, been beating my head against the wall with this<br><br>   roger    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12747">roger</a> — Sun Jun 23, 2019 12:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2019-06-22T22:15:17-04:00</updated>

		<published>2019-06-22T22:15:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107695#p107695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107695#p107695"/>
		<title type="html"><![CDATA[Re: autobotchk help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107695#p107695"><![CDATA[
For what it is worth:<br><br>For the heck of it,  I just did a quick experiment on a shell where I can use sudo to become root.<br><br>First I shut down a bot of mine there, normally.<br><br>Then I did:  sudo su<br>to become root.<br><br>Here is copy and paste from there:<br><div class="codebox"><p>Code: </p><pre><code>root@xxxxx:/home/xxxxxx/eggdrop# ./eggdrop xxxxxx.confEggdrop v1.8.3 (C) 1997 Robey Pointer (C) 2010-2018 Eggheads[02:03:45] * ERROR: Eggdrop will not run as root!</code></pre></div>Naturally, executing  Botnick.botchk as root,  got the same result.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jun 22, 2019 10:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2019-06-22T22:10:54-04:00</updated>

		<published>2019-06-22T22:10:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107694#p107694</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107694#p107694"/>
		<title type="html"><![CDATA[Re: autobotchk help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107694#p107694"><![CDATA[
<blockquote class="uncited"><div>... i cd into the bots directory in terminal, then did ./autobotchk eggdrop.conf -noemail -5 <br></div></blockquote>Before you do that change of directories, do:   whoami<br>because it sounds like you were root, not a regular user.<br>  <blockquote class="uncited"><div>...  when i do crontab -e as root<br> but does not show a crontab for user</div></blockquote>That sounds like you have found the problem.<br><br>If I recall correctly, eggdrop will not run from root. <br><blockquote class="uncited"><div>and it's not working, bot not starting unless i start it manually,</div></blockquote>As a regular user, correct?<br>The user that owns the eggdrop files?<br><br>If it were me, I would:<br><br>First, I would become root ( it sounds like you are sudo) and get rid of that crontab entry in root's crontab.    Clean that up.<br><br>Next, I would get back to being my regular self.  The user that owns the eggdrop files and dirs.<br>THEN I would use the autobotchk script file to create a new Botnick.botchk and crontab entry.   Both should belong to that regular user.     In other words, they will start eggdrop as regular user, same as you did, manually.<br>You can even try it, without waiting on crontab.   The Botnick.botchk file will be an executable file.  Just run it from the linux command line.<br>As in:   ./Botnick.botchk<br>and see what happens.  It should start bot, if not already running.   <br>Check with:  ps x   , both before and after executing it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jun 22, 2019 10:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[roger]]></name></author>
		<updated>2019-06-22T17:18:53-04:00</updated>

		<published>2019-06-22T17:18:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107693#p107693</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107693#p107693"/>
		<title type="html"><![CDATA[autobotchk help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107693#p107693"><![CDATA[
migrated from ubuntu 16.04 to 18.04 reloaded my eggdrop and all works well, except the autobotchk, i cd into the bots directory in terminal, then did ./autobotchk eggdrop.conf -noemail -5<br>  <br>  i check the contab file and it shows 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /xxxx/xxxx/xxx/botname.botchk &gt;/dev/null 2&gt;&amp;1 when i do crontab -e as root<br> but does not show a crontab for user<br>and it's not working, bot not starting unless i start it manually, been reading for 9 days now with no luck hope someone has a soulution,<br><br>  Thanks in advance<br><br>   Roger<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12747">roger</a> — Sat Jun 22, 2019 5:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
