Perimus's Journal http://www.slashcode.com/~Perimus/journal/ Perimus's Slashcode Journal en-us Copyright 2004, OSTG - Open Source Technology Group, Inc. All Rights Reserved. 2012-01-25T04:40:05+00:00 Me admins@slashcode.com Technology hourly 1 1970-01-01T00:00+00:00 Perimus's Journal http://images.slashcode.com/topics/topicslash.gif http://www.slashcode.com/~Perimus/journal/ Calander of Events... http://www.slashcode.com/~Perimus/journal/171?from=rss <p>All working well...</p><p>I need to come up with a calander of events. Once all the coding is done, I need to figure out the equivilant of #--exec virtual= for the slash templates so I can include the output of a cgi script that is intended to list a calander format of upcoming tournaments...</p><p>Or maybe there is a calander slash plugin that would work somehow...</p> Perimus 2002-02-12T01:22:39+00:00 bugs Grumble Grumble Darn Topics http://www.slashcode.com/~Perimus/journal/169?from=rss <p>I thought something funky was up with topic today, I couldn't pick any of the topics I wanted for news messages!</p><p>I was wrong, tho... it turnes out that to post a topic as news, the topic has to be contained in the correct section.</p><p>L0L</p><p>Aside from that, the slash deamon keeps running like it should, and all seems well. I just need to get around to updating all my slashboxes again... such a task... I did it before the re-install and now I am just plain lazy.</p><p>And I Need to post the results from the last tourney in OKC as well.</p> Perimus 2002-02-08T08:33:26+00:00 slash I see blue skies through the tears in my eyes! http://www.slashcode.com/~Perimus/journal/166?from=rss <p>The strange error that was popping up in the error logs is gone! The slash site has been stable under low to moderate usage for about a week, and everything is acting great!</p><p>Now to try to get that calander plug-in i heard about working... **grins**</p> Perimus 2002-02-04T16:55:08+00:00 slash Go Go Gadget Memory Leakage http://www.slashcode.com/~Perimus/journal/165?from=rss <p>Um, well the production box crawled to a slow, grinding halt today as the running httpd processes ate up all available memory yet continued to try to spawn new processes.</p><p>It took about 30 mins just to ssh in and restart apache! I was placing a reboot service call when I finally managed to log in.</p><p>Then, further investigation showed that the httpd processes that are running with all the extra slash stuff built in take substantially more memory than my old processes used to. So much, in fact, that about 1/2 as many processes choked the box.</p><p>I built a seperate apache install w/o mod_perl or slash and moved all the other sites hosted on the box onto it, and then I put the slash site with a much lower max process limit... around 64 rather than the 512 it was set at.</p><p>@home's net connection is slow as fudge tonight... they don't really care about quality of service anymore, since the whole bankrupcy thing, and calling them gets you a busy signal, or a singing off-key barbar shop quartet telling you to "Go Sick Your Head In A Pig"</p> Perimus 2002-01-28T08:08:18+00:00 slash All quiet on the western front... http://www.slashcode.com/~Perimus/journal/163?from=rss <p>Site has stood up to moderate usage without puking out the internal server error messages all evening, and the runaway mysqld processess seem to have stabalized at around 53 active, without giving the 'too many connections' errors, so all seems yiffy there...</p><p>all that's left to track down is that weird log error message... when i figure out how to fix it i'll enTer the findings in my journal here</p> Perimus 2002-01-27T07:12:37+00:00 slash New compile and install, same old crap http://www.slashcode.com/~Perimus/journal/162?from=rss <p>Over the last few hours, I uninstalled the MySql RPM from the server and installed the latest binary distro. I sat down with each individual perl module and made sure it installed correctly. Then I recompiled and installed slash.</p><p>All went fine, except for the following:</p><p>Bundle::libnet -- Net::Telnet did not install or test properly... (failed test 3) all else seems fine. Hopefully slash doesn't need to telnet out places to run &gt;&gt; grins </p><p>Data::ShowTable -- Massive Errors... what a nightmare. The CPAN package simply will not compile at all, but returns all values as if it installs correctly. I tried installing the RPM file to get around this, since every tar for this module did the same thing. See last journal entry for more beitching about this...</p><p>Template Toolkit -- Failed Three Tests under t/dbi... test 59, 61, 63. I can't seem to figure out what these tests actually are, or if they are important (they probably are) but database access seems to work properly... perhaps these tests relate to Data::ShowTable (?)</p><p>MailTools -- Couldn't figure out the CPAN Identifier for this package, had to download and install by hand. Compiled and installed ok, except it had an error making a man page during compile.</p><p>TimeDate and Time-Modules -- Also couldn't figure out the CPAN Identifier, but installed fine.</p><p>Then, upon installing Bundle::Slash, new forced installs of LWP, Msql and Mailtools are run. Hoorah.</p><p>Then slash installed, configured and started up the website fine.</p><p>==================<br>These steps resolved the problem with a huge number of mysqld processes spawning, but did not resolve the erros getting dumped into the error log...</p><p>[Sat Jan 26 21:50:52 2002] [error]<nobr> <wbr></nobr>/messages.pl:Slash::Utility::Display:/usr/local/l<nobr>i<wbr></nobr> b/perl5/site_perl/5.6.1/i686-linux/Slash/Utility/<nobr>D<wbr></nobr> isplay.pm:972: :<br>[Sat Jan 26 21:50:52 2002] [error] Which was called by:Slash::Display::Plugin:/usr/local/lib/perl5/si<nobr>t<wbr></nobr> e_perl/5.6.1/i686-linux/Slash/Display/Plugin.pm:7<nobr>5<wbr></nobr> : :</p><p>I'm really not sure what to do next, but when I figure something out i'll report it.</p> Perimus 2002-01-26T22:08:42+00:00 bugs Data::ShowTable -- Problems http://www.slashcode.com/~Perimus/journal/161?from=rss <p>In process of installing each CPAN bundle required by slash individually so I can see that there are no problems with any of them.</p><p>The Data::ShowTable bundle is giving me hell... The CPAN module will not make or install properly, but even though it is full of errors it is returning an OK runlevel, so everything THINKS it has installed properly. Full make and make test output is listed at the end of this post.</p><p>I tried to manually make this module from several CPAN mirrors, so it doesn't seem to be a corrupt file. There doesn't seem to be any previous versions of this module available, and the contact information listed in the readme no longer exists. No help or updates there...</p><p>I grabbed the binary RPM package for this from redhat.com, the package is for perl 5.005, not perl 5.6.0. I forced an install, then moved the package files from<nobr> <wbr></nobr>/var/lib/perl5/site_perl/5.0005 to<nobr> <wbr></nobr>./5.6.0... Don't have any clue if this will work or not...</p><p>but hay at least as always, the CPAN shell still gives a reassuring Data::ShowTable is up to date...</p><p>== BEGIN TEXT OF SHOW-TABLE COMPILE AND TEST ERROR OUTPUT ==</p><p> &nbsp; &nbsp; CPAN.pm: Going to build A/AK/AKSTE/Data-ShowTable-3.3.tar.gz</p><p>Checking if your kit is complete...<br>Looks good<br>Writing Makefile for Data::ShowTable<br>cp ShowTable.pm blib/lib/Data/ShowTable.pm<br>cp showtable blib/script/showtable<nobr> <wbr></nobr>/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY-&gt;fixin(shift)" blib/script/showtable<br>Manifying blib/man3/Data::ShowTable.3<br>*** ERROR: unterminated I at line 724 in file ShowTable.pm<br>*** ERROR: unterminated I at line 724 in file ShowTable.pm<br>Manifying blib/man1/showtable.1<nobr> <wbr></nobr>/usr/bin/make -- OK<br>Running make test<br>PERL_DL_NONLAZY=1<nobr> <wbr></nobr>/usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&amp;runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t<br>t/box-calls.........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/box-calls.........ok<br>t/box-scaling.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/box-scaling.......ok<br>t/box-widths........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/box-widths........ok<br>t/box-wrap..........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/box-wrap..........ok<br>t/html-calls........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/html-calls........ok<br>t/html-fmt..........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/html-fmt..........ok<br>t/html-scaling......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/html-scaling......ok<br>t/html-widths.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/html-widths.......ok<br>t/html-wrap.........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/html-wrap.........ok<br>t/list-calls........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/list-calls........ok<br>t/list-scaling......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/list-scaling......ok<br>t/list-widths.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/list-widths.......ok<br>t/list-wrap.........Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/list-wrap.........ok<br>t/simple-calls......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/simple-calls......ok<br>t/simple-scaling....Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/simple-scaling....ok<br>t/simple-widths.....Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/simple-widths.....ok<br>t/simple-wrap.......Prototype mismatch: sub main::start_tests ($) vs none at t/Test-Setup.pl line 27.<br>Prototype mismatch: sub main::run_test ($&amp;) vs none at t/Test-Setup.pl line 102.<br>t/simple-wrap.......ok<br>All tests successful.<br>Files=17, Tests=128, 4 wallclock secs ( 3.03 cusr + 1.37 csys = 4.40 CPU)<nobr> <wbr></nobr>/usr/bin/make test -- OK<br>Running make install<br>Installing<nobr> <wbr></nobr>/usr/local/lib/perl5/site_perl/5.6.1/Data/ShowTab<nobr>l<wbr></nobr> e.pm<br>Installing<nobr> <wbr></nobr>/usr/local/man/man1/showtable.1<br>Installing<nobr> <wbr></nobr>/usr/local/man/man3/Data::ShowTable.3<br>Writing<nobr> <wbr></nobr>/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/a<nobr>u<wbr></nobr> to/Data/ShowTable/.packlist<br>Appending installation info to<nobr> <wbr></nobr>/usr/local/lib/perl5/5.6.1/i686-linux/perllocal.p<nobr>o<wbr></nobr> d<nobr> <wbr></nobr>/usr/bin/make install -- OK</p> Perimus 2002-01-26T20:46:51+00:00 slash Slash Install onto Redhat 7.2 -- First Entry http://www.slashcode.com/~Perimus/journal/160?from=rss <p>I have been working for a few days now on getting slash up and running for our DDR fan site, www.teamleapfrog.com. Since I have ran into lots of issues that are probably mostly due to my own inexperience, I will document what I am going through here so in the future anybody with the same issues might find their answers easier than I have.</p><p>As of now, I have gotten the site completly up and running on the production server. After some difficulties here and there, everything seems to run fine... except...</p><p>On occasion, about 10% of the time after the site has been running for a few minutes, some pages will simply spit out "Internal Server Error" rather than displaying properly.</p><p>Upon further investigation, when this is happening, the error log shows that DBIx::Password is spitting out the following error:</p><p>unable to connect to MySQL: : Too many connections<br>DBI-&gt;connect(database=slash;host=localhost) failed: Too many connections at<nobr> <wbr></nobr>/usr/local/lib/perl5/site_perl/5.6.1/DBIx/Passwor<nobr>d<wbr></nobr> .pm line 47</p><p>Checking processes shows that the mysqld has spawned nearly as many mysql processes as apache!! None of the other DB apps I have written in perl have done this with msyql, but that still doesn't really tell me if this is normal or not. I'm betting no it's not normal... so next step I am un-installing the mysql server RPM that was installed on the server several months ago, and installing the latest binary dist of mysqld.</p> Perimus 2002-01-26T18:59:48+00:00 slash Slashcode installed! http://www.slashcode.com/~Perimus/journal/157?from=rss I've gotten slashcode installed and up and running with minimal problems!<br> <br> The few problems that I did have didn't take much to get sorted out, and were mainly due to general stuff that took more learning on my part.<br> <br> I'm happy with the way everything is starting to look! Perimus 2002-01-23T16:48:18+00:00 announce