<?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/17987" />

	<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>2012-01-15T00:03:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[speedbyte]]></name></author>
		<updated>2012-01-15T00:03:00-04:00</updated>

		<published>2012-01-15T00:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98534#p98534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98534#p98534"/>
		<title type="html"><![CDATA[same error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98534#p98534"><![CDATA[
hey guys , i have the same problem , only that my english is not that good , i've tried to undestand that thing whit cron but I did nod resolved the problem <br><br>This is what my eggdrop say's in partyline when I type !stats on the channels: Tcl error [pub:statsgen]: couldn't execute "/home/admin/ipocrit/pisg-0.72/generate_logs": no such file or directory<br><br><br>Please help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11891">speedbyte</a> — Sun Jan 15, 2012 12:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[devilsoulblack]]></name></author>
		<updated>2010-09-30T13:35:30-04:00</updated>

		<published>2010-09-30T13:35:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94583#p94583</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94583#p94583"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94583#p94583"><![CDATA[
=)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4165">devilsoulblack</a> — Thu Sep 30, 2010 1:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marvz]]></name></author>
		<updated>2010-09-30T12:43:37-04:00</updated>

		<published>2010-09-30T12:43:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94582#p94582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94582#p94582"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94582#p94582"><![CDATA[
Ok, after messing with cron I finally got it working. This is based on a FreeBSD server. It may differ slightly on a UNIX server but it should be relatively the same.<br><br>This will run pisg and generate the HTML file every 25 minutes.<br><div class="codebox"><p>Code: </p><pre><code>*/25 * * * * /path.to/executable/pisg-0.72/pisg</code></pre></div> <br>This will use lftp to upload the file to the hosting server every 29 minutes<br><div class="codebox"><p>Code: </p><pre><code>*/29 * * * * /path.to/executable/lftp/bin/lftp -u username,password hosting.server -e "set passive-mode 0; cd directory.where.HTML.file.is.located.on.hosting.server ; put /directory.where.pisg.places.generated.HTML.file/index.html ; quit" </code></pre></div>The problems I ran into were<br>1) lftp wasn't compiled on the server where my bot is hosted. I had to manually install it and actually tell the cron to use the one I compiled. It helped that I put the whole path and not use the ~ shortcut. You may not have lftp installed on your shell so you might want to ask your provider what they have compiled on your shell. You could also just download lftp and compile yourself. Its up to you.<br><br>2) The server I use to host the stats also "marries" the IP that you use the first time that you log into the server. This is a security feature that some hosting companies use. I had to telnet into the hosting server from the bot shell so it would allow the cron to upload stats.<br><br>3)Some servers require you to set passive modes on them in order to allow you to ftp into them. I also had to add this to the cron.<br><br>Overall, it is working great! Thanks to all that helped out and devilsoulblack for the initial cron suggestion. I used his as a base to start and modified it to fit my needs. Hope this helps out.[/list]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11259">marvz</a> — Thu Sep 30, 2010 12:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[devilsoulblack]]></name></author>
		<updated>2010-09-08T02:17:48-04:00</updated>

		<published>2010-09-08T02:17:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94260#p94260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94260#p94260"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94260#p94260"><![CDATA[
dude read about crontab<br><a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5" class="postlink">http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4165">devilsoulblack</a> — Wed Sep 08, 2010 2:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marvz]]></name></author>
		<updated>2010-09-07T21:27:28-04:00</updated>

		<published>2010-09-07T21:27:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94259#p94259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94259#p94259"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94259#p94259"><![CDATA[
<blockquote class="uncited"><div>what part you need to test ? the lftp or the pisg execute ?</div></blockquote>Both of them. I just want to make sure they're working. Once I know that they're working fine I can just let them roll and do their thing.<br><br>I typed in <br><div class="codebox"><p>Code: </p><pre><code>crontab pisg</code></pre></div>so, I don't know if its loaded and working.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11259">marvz</a> — Tue Sep 07, 2010 9:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[devilsoulblack]]></name></author>
		<updated>2010-09-07T21:23:07-04:00</updated>

		<published>2010-09-07T21:23:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94258#p94258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94258#p94258"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94258#p94258"><![CDATA[
what part you need to test ? the lftp or the pisg execute ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4165">devilsoulblack</a> — Tue Sep 07, 2010 9:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marvz]]></name></author>
		<updated>2010-09-07T21:14:13-04:00</updated>

		<published>2010-09-07T21:14:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94257#p94257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94257#p94257"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94257#p94257"><![CDATA[
<blockquote class="uncited"><div>marvz<br><div class="codebox"><p>Code: </p><pre><code>*/55 * * * * lftp -u USERNAME-OF-FTP-HOST,PASSWORD-OF-FTP-HOST HOSTNAME.COM -e "cd www ; cd stats ; put /PATH/WHERE/GENERATE/PISG/index.html ; quit" </code></pre></div>now you understand ?<br><br>sorry for my lang i dont speak english <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"></div></blockquote>Thanks for the explanation. I set up the crontabs in the server. is there a way to test it out or should I just wait and see if it works?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11259">marvz</a> — Tue Sep 07, 2010 9:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[devilsoulblack]]></name></author>
		<updated>2010-09-07T20:13:22-04:00</updated>

		<published>2010-09-07T20:13:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94254#p94254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94254#p94254"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94254#p94254"><![CDATA[
marvz<br><div class="codebox"><p>Code: </p><pre><code>*/55 * * * * lftp -u USERNAME-OF-FTP-HOST,PASSWORD-OF-FTP-HOST HOSTNAME.COM -e "cd www ; cd stats ; put /PATH/WHERE/GENERATE/PISG/index.html ; quit" </code></pre></div>now you understand ?<br><br>sorry for my lang i dont speak english <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4165">devilsoulblack</a> — Tue Sep 07, 2010 8:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marvz]]></name></author>
		<updated>2010-09-07T19:34:45-04:00</updated>

		<published>2010-09-07T19:34:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94251#p94251</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94251#p94251"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94251#p94251"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div><blockquote class="uncited"><div>use cron for run pisg and the same cron uso lftp to upload to other host<br><br><div class="codebox"><p>Code: </p><pre><code>*/55 * * * * lftp -u DonT.[censored].WHoiS.Me,PASSWORD channels.dal.net -e "cd www ; cd stats ; put /home/aandaluz/stats/DonTFuCKiNgWHoiSMe/index.html ; quit"*/48 * * * * /home/aandaluz/stats/pisg-0.72/pisg</code></pre></div></div></blockquote>I'm sorry, I don't understand what you mean.</div></blockquote>the first cron upload every 55 min to ftp<br>the scond cron execute pisg every 48 min</div></blockquote>Ok, the second crontab I get. Its the one that runs the ./pisg command and generates the html file.<br><br>The first one is confusing to me.<br><div class="codebox"><p>Code: </p><pre><code>*/55 * * * * lftp -u DonT.[censored].WHoiS.Me</code></pre></div>would this be the ftp server?<div class="codebox"><p>Code: </p><pre><code>PASSWORD</code></pre></div>That's obvious. I got this part <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><div class="codebox"><p>Code: </p><pre><code>channels.dal.net -e </code></pre></div>is this where I would put the irc network I am in?<div class="codebox"><p>Code: </p><pre><code>"cd www ; cd stats ; put /home/aandaluz/stats/DonTFuCKiNgWHoiSMe/index.html ; quit"</code></pre></div>I'm assuming that this would be the commands that the crontab runs on the server to get into the stats directory.<br><br>What I am also not understanding is how does it know what file to upload to the hosting server. I'm sorry if this is repetitive but I seriously don't understand this part of it. Thanks again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11259">marvz</a> — Tue Sep 07, 2010 7:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[devilsoulblack]]></name></author>
		<updated>2010-09-07T18:03:53-04:00</updated>

		<published>2010-09-07T18:03:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94250#p94250</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94250#p94250"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94250#p94250"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>use cron for run pisg and the same cron uso lftp to upload to other host<br><br><div class="codebox"><p>Code: </p><pre><code>*/55 * * * * lftp -u DonT.[censored].WHoiS.Me,PASSWORD channels.dal.net -e "cd www ; cd stats ; put /home/aandaluz/stats/DonTFuCKiNgWHoiSMe/index.html ; quit"*/48 * * * * /home/aandaluz/stats/pisg-0.72/pisg</code></pre></div></div></blockquote>I'm sorry, I don't understand what you mean.</div></blockquote>the first cron upload every 55 min to ftp<br>the scond cron execute pisg every 48 min<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4165">devilsoulblack</a> — Tue Sep 07, 2010 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marvz]]></name></author>
		<updated>2010-09-07T11:42:52-04:00</updated>

		<published>2010-09-07T11:42:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94248#p94248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94248#p94248"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94248#p94248"><![CDATA[
<blockquote class="uncited"><div>use cron for run pisg and the same cron uso lftp to upload to other host<br><br><div class="codebox"><p>Code: </p><pre><code>*/55 * * * * lftp -u DonT.[censored].WHoiS.Me,PASSWORD channels.dal.net -e "cd www ; cd stats ; put /home/aandaluz/stats/DonTFuCKiNgWHoiSMe/index.html ; quit"*/48 * * * * /home/aandaluz/stats/pisg-0.72/pisg</code></pre></div></div></blockquote>I'm sorry, I don't understand what you mean.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11259">marvz</a> — Tue Sep 07, 2010 11:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[devilsoulblack]]></name></author>
		<updated>2010-09-07T02:26:12-04:00</updated>

		<published>2010-09-07T02:26:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94232#p94232</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94232#p94232"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94232#p94232"><![CDATA[
use cron for run pisg and the same cron uso lftp to upload to other host<br><br><div class="codebox"><p>Code: </p><pre><code>*/55 * * * * lftp -u DonT.[censored].WHoiS.Me,PASSWORD channels.dal.net -e "cd www ; cd stats ; put /home/aandaluz/stats/DonTFuCKiNgWHoiSMe/index.html ; quit"*/48 * * * * /home/aandaluz/stats/pisg-0.72/pisg</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4165">devilsoulblack</a> — Tue Sep 07, 2010 2:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marvz]]></name></author>
		<updated>2010-09-05T13:13:20-04:00</updated>

		<published>2010-09-05T13:13:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94221#p94221</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94221#p94221"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94221#p94221"><![CDATA[
Yes. I changed it all and it still says the same error message.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11259">marvz</a> — Sun Sep 05, 2010 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2010-09-05T05:06:12-04:00</updated>

		<published>2010-09-05T05:06:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94217#p94217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94217#p94217"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94217#p94217"><![CDATA[
is /home/marvz/stats in 777 mode too ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Sep 05, 2010 5:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marvz]]></name></author>
		<updated>2010-09-03T15:17:48-04:00</updated>

		<published>2010-09-03T15:17:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94213#p94213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94213#p94213"/>
		<title type="html"><![CDATA[Pisg 0.72 auto update cannot find executable [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94213#p94213"><![CDATA[
Its in the /home/marvz/stats directory. I changed all the permissions to:<div class="codebox"><p>Code: </p><pre><code>Unix mode = -rwxrwxrwx</code></pre></div>So I changed them to that thinking that it must've been those permissions but it still doesn't work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11259">marvz</a> — Fri Sep 03, 2010 3:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
