From corliss at sinbad.net Sun Jun 6 00:55:27 1999 From: corliss at sinbad.net (Arthur Corliss) Date: Wed Aug 4 23:56:55 2004 Subject: CGI bewilderment Message-ID: Greetings: I know I must have done something boneheaded but my calendar script seems to be broken. The calendar no longer renders, and logs this to the error log: install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm line 169. at (eval 1) line 3 at /home/web_akpm/cgi-bin/calendar.cgi line 49 install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm line 169. at (eval 1) line 3 at /home/web_akpm/cgi-bin/calendar.cgi line 49 The script works fine from the command line, so it doesn't appear to be a Perl issue, but an apache/environment issue. :-P Anyone care to point out the obvious? --Arthur Corliss Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ "Live Free or Die, the Only Way to Live" -- NH State Motto ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From wolfm at pobox.alaska.net Sun Jun 6 05:37:20 1999 From: wolfm at pobox.alaska.net (Michael Fowler) Date: Wed Aug 4 23:56:55 2004 Subject: CGI bewilderment In-Reply-To: ; from Arthur Corliss on Sat, Jun 05, 1999 at 09:55:27PM -0800 References: Message-ID: <19990606023719.E30031@pobox.alaska.net> Arthur, Running the calendar.cgi script from the command line doesn't work (did you just do a perl -c?). Running the following also fails. michael@slepnir:~> perl -MDBD::mysql -le '' Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm line 169. at -e line 0 BEGIN failed--compilation aborted. Have you upgraded or recompiled DBI recently? If so you need to recompile all DBDs. If not, try upgrading the DBD::mysql driver. However, I'm almost entirely certain this is caused from upgrading or recompiling DBI but not recompiling the DBDs. Michael On Sat, Jun 05, 1999 at 09:55:27PM -0800, Arthur Corliss wrote: > Greetings: > > I know I must have done something boneheaded but my calendar script seems to > be broken. The calendar no longer renders, and logs this to the error log: > > install_driver(mysql) failed: Can't load > '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module > DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm line > 169. > > at (eval 1) line 3 > > at /home/web_akpm/cgi-bin/calendar.cgi line 49 > install_driver(mysql) failed: Can't load > '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module > DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm line > 169. > > at (eval 1) line 3 > > at /home/web_akpm/cgi-bin/calendar.cgi line 49 > > The script works fine from the command line, so it doesn't appear to be a Perl > issue, but an apache/environment issue. :-P Anyone care to point out the > obvious? > > --Arthur Corliss > Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ > "Live Free or Die, the Only Way to Live" -- NH State Motto > > ================================================= > Mailing list info: If at any time you wish to (un|re)subscribe to > the list send the request to majordomo@hfb.pm.org. All requests > should be in the body, and look like such > subscribe anchorage-pm-list > unsubscribe anchorage-pm-list -- There isn't a mome rath alive that can outgrabe me. -- ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From corliss at odinicfoundation.org Sun Jun 6 15:50:36 1999 From: corliss at odinicfoundation.org (corliss@odinicfoundation.org) Date: Wed Aug 4 23:56:55 2004 Subject: CGI bewilderment In-Reply-To: <19990606023719.E30031@pobox.alaska.net> Message-ID: On Sun, 6 Jun 1999, Michael Fowler wrote: > Arthur, > > Running the calendar.cgi script from the command line doesn't work (did you > just do a perl -c?). Running the following also fails. No, I did a ./calendar, which worked perfectly. As per your suggestion, I did the -c, and was told syntax was fine. Now, what the blue blazes where you doing? I don't understand how we're getting different results. Besides which, if it failed to compile, than you would get a server error from Apache, which we're not getting. > michael@slepnir:~> perl -MDBD::mysql -le '' > Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for > module DBD::mysql: File not found at /usr/lib/perl5/i386-linux/DynaLoader.pm > line 169. > > at -e line 0 > BEGIN failed--compilation aborted. Not happening on my watch. . . :-P > Have you upgraded or recompiled DBI recently? If so you need to recompile all > DBDs. If not, try upgrading the DBD::mysql driver. However, I'm almost > entirely certain this is caused from upgrading or recompiling DBI but not > recompiling the DBDs. Nope. The only thing new was the DBI::Logger module for Apache. I've also checked the permission of the path all the way down, and nothing's amiss. [side note--I was able to duplicate your results as my user account, it ironically works fine under the root account, which I had to be in to check Apache's configuration] This is annoying as hell. It worked fine before. . . --Arthur Corliss Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ "Live Free or Die, the Only Way to Live" -- NH State Motto ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From corliss at sinbad.net Sun Jun 6 17:15:43 1999 From: corliss at sinbad.net (Arthur Corliss) Date: Wed Aug 4 23:56:55 2004 Subject: CGI bewilderment (fwd) Message-ID: Quick update on the DBI nonsense: Got it working, and it turned out it was a *MySQL* permissisions problem, nothing more. :-P The last place you look, eh? The script wasn't dying (failed compilation), since DBI was using the DynaLoader.pm, and I didn't catch that since I had been used to 'use DBD::mysql' vice 'use DBI', and forgot that I had been using the latter, after talking with Mike. Anyway, the Dynaloader was loads of help with that error message, but in DynaLoader.pm itself is this comment: # Many dynamic extension loading problems will appear to come from # this section of code: XYZ failed at line 123 of DynaLoader.pm. # Often these errors are actually occurring in the initialisation # C code of the extension XS file. Perl reports the error as being # in this perl code simply because this was the last perl code # it executed. The error was at 169, so it wasn't an xs problem during installation, but this code: my $libref = dl_load_file($file, $module->dl_load_flags) or croak("Can't load '$file' for module $module: ".dl_error()."\n"); the point where it actually loads the lib. So, what caused this? Let me be the first to say "I'm an ass." ;-) While slowly trying to get my boxes security up to snuff, I inadvertantly changed the permissions of mysql's home to 750, thinking that no one should have access to the raw database and so on. If I had been thinking, I would have remembered that I had added: /home/mysql/lib/mysql to /etc/ld.so.conf. With 750, no one would be able to reference those libraries except root or mysql. Changing it to 751 solved that problem. It's the little things, eh? Can't believe that I missed that one completely, not to mention taking two days to figure it out. :-P Thanks to Mike for pointing me towards the right direction. I hadn't thought to try those tests as a user, especially since I could try as apache's user, with no shell and all. . . ;-) --Arthur Corliss Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ "Live Free or Die, the Only Way to Live" -- NH State Motto ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From wolfm at pobox.alaska.net Wed Jun 16 22:22:06 1999 From: wolfm at pobox.alaska.net (Michael Fowler) Date: Wed Aug 4 23:56:55 2004 Subject: meeting reminder Message-ID: <19990616192206.A306@pobox.alaska.net> This is your friendly reminder of our upcoming meeting this Saturday. It'll be at Computer Electronics, across from Sam's, by the Northway Mall. The meeting starts at 7:00pm. Everyone give thanks to Jan for lending us his meeting space. I was planning on discussing the Getopt::Long module. Arthur may discuss DBI if there aren't enough topics. If anyone else has a topic they want to discuss please email Arthur at corliss@alaskapm.org. We need as many topics as we can lay our hands on. Michael -- There isn't a mome rath alive that can outgrabe me. -- ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From corliss at sinbad.net Fri Jun 18 22:09:31 1999 From: corliss at sinbad.net (Arthur Corliss) Date: Wed Aug 4 23:56:55 2004 Subject: Perl Mongers Meeting Message-ID: Greetings: Give me a shout if you think otherwise, but we may postpone the meeting a week. It seems that Jan has already got other plans with the regular meeting. If someone has an alternative location, or another suggestion, let me know! --Arthur Corliss Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ "Live Free or Die, the Only Way to Live" -- NH State Motto ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From wolfm at pobox.alaska.net Sat Jun 19 02:53:24 1999 From: wolfm at pobox.alaska.net (Michael Fowler) Date: Wed Aug 4 23:56:55 2004 Subject: Perl Mongers Meeting In-Reply-To: ; from Arthur Corliss on Fri, Jun 18, 1999 at 07:09:31PM -0800 References: Message-ID: <19990618235324.A301@pobox.alaska.net> I could use a week, I haven't done as much Getopt::Long homework as I would like, and this meeting sorta snuck up on me. It would also give Jasen a bit more time with the web site before showing it to the group. Not that we necessarily had to show it off tomorrow, I'm just saying... Michael On Fri, Jun 18, 1999 at 07:09:31PM -0800, Arthur Corliss wrote: > Greetings: > > Give me a shout if you think otherwise, but we may postpone the meeting a > week. It seems that Jan has already got other plans with the regular meeting. > > If someone has an alternative location, or another suggestion, let me know! > > --Arthur Corliss > Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ > "Live Free or Die, the Only Way to Live" -- NH State Motto > > ================================================= > Mailing list info: If at any time you wish to (un|re)subscribe to > the list send the request to majordomo@hfb.pm.org. All requests > should be in the body, and look like such > subscribe anchorage-pm-list > unsubscribe anchorage-pm-list ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From jan99508 at zdnetmail.com Sat Jun 19 04:10:27 1999 From: jan99508 at zdnetmail.com (Jan W. Zumwalt) Date: Wed Aug 4 23:56:55 2004 Subject: Perl Mongers Meeting Message-ID: As far as I am concerned the meeting this week can be "perl"! --- Jan W.Zumwalt Computer Electronics 717 Northway Drive. Anchorage, Ak 99508 V-907-258-1002 F-907-258-9006 jan99508@zdnetmail.com On Fri, 18 Jun 1999 19:09:31 Arthur Corliss wrote: >Greetings: > >Give me a shout if you think otherwise, but we may postpone the meeting a >week. It seems that Jan has already got other plans with the regular meeting. > >If someone has an alternative location, or another suggestion, let me know! > > --Arthur Corliss > Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ > "Live Free or Die, the Only Way to Live" -- NH State Motto > > Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From corliss at odinicfoundation.org Sat Jun 19 13:49:27 1999 From: corliss at odinicfoundation.org (corliss@odinicfoundation.org) Date: Wed Aug 4 23:56:55 2004 Subject: Perl Mongers Meeting In-Reply-To: Message-ID: Actually, it looks like it might be better to push this off a week. Mike would like a little more time for his module class, you've already announced that you're going to be going over sound issues with the normal meeting, and we sent out the meeting notice a tad late, anyway. Let's plan for next week. :-) On Sat, 19 Jun 1999, Jan W. Zumwalt wrote: > As far as I am concerned the meeting this week can be "perl"! > > --- > Jan W.Zumwalt > Computer Electronics > 717 Northway Drive. > Anchorage, Ak 99508 > V-907-258-1002 > F-907-258-9006 > jan99508@zdnetmail.com > > > On Fri, 18 Jun 1999 19:09:31 Arthur Corliss wrote: > >Greetings: > > > >Give me a shout if you think otherwise, but we may postpone the meeting a > >week. It seems that Jan has already got other plans with the regular meeting. > > > >If someone has an alternative location, or another suggestion, let me know! > > > > --Arthur Corliss > > Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ > > "Live Free or Die, the Only Way to Live" -- NH State Motto > > > > > > > Free web-based email, anytime, anywhere! > ZDNet Mail - http://www.zdnetmail.com > ================================================= > Mailing list info: If at any time you wish to (un|re)subscribe to > the list send the request to majordomo@hfb.pm.org. All requests > should be in the body, and look like such > subscribe anchorage-pm-list > unsubscribe anchorage-pm-list > --Arthur Corliss Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ "Live Free or Die, the Only Way to Live" -- NH State Motto ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From brian_stewart at pobox.com Thu Jun 24 14:46:08 1999 From: brian_stewart at pobox.com (Brian J. Stewart) Date: Wed Aug 4 23:56:55 2004 Subject: mSQL versus mySQL ... Message-ID: <4.1.19990624144258.009a5940@pop.primary.net> Brian (newbie) asked: > Our plans at this moment are HTML + PHP + mSQL + JAVA -- i can't remember > if you are using "mySQL" or "mSQL" -- or better yet, which one is > bettter??? I need a WINTEL port, important for local testing... Arthur (mentor) replied: I use MySQL, and personally, I think it is *much* better than mSQL, both in performance and scalability. Just my .02, of course, but pretty much the consensus of all us DB freaks up here. -- Brian adds the following: I need to be able to dual platform test on UNIX and WINtel.... I see that mSQL has a WINtel flavor, while mySQL has a $$$$ version of mSQL -- a big downside for me, who is just playing testing.... Anyone else have thoughts? or suggestions? -- I want to be able to develope/test/beta "apache1.3.6/php3/somekinda-SQL" on my WIN9X box, and then migrate to LINUX production box.... Thanks in advance, ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list From corliss at odinicfoundation.org Thu Jun 24 20:54:08 1999 From: corliss at odinicfoundation.org (Arthur Corliss) Date: Wed Aug 4 23:56:55 2004 Subject: mSQL versus mySQL ... In-Reply-To: <4.1.19990624144258.009a5940@pop.primary.net> Message-ID: On Thu, 24 Jun 1999, Brian J. Stewart wrote: > Brian adds the following: > > I need to be able to dual platform test on UNIX and WINtel.... I see that > mSQL has a WINtel flavor, while mySQL has a $$$$ version of mSQL -- a big > downside for me, who is just playing testing.... > > Anyone else have thoughts? or suggestions? If you have an extra box, why not just run the Linux version of MySQL? You can still develop win apps for it using the free MyODBC drivers for 32bit Win OS'es. Have a network, will travel. . . ;-) --Arthur Corliss Bolverk's Lair -- http://www.odinicfoundation.org/arthur/ "Live Free or Die, the Only Way to Live" -- NH State Motto ================================================= Mailing list info: If at any time you wish to (un|re)subscribe to the list send the request to majordomo@hfb.pm.org. All requests should be in the body, and look like such subscribe anchorage-pm-list unsubscribe anchorage-pm-list