RE: [mp1] Help with Apache::MP3
I've resolved this problem, at least to a degree which satisfies me. I built apache-1.3.27 and mod_perl-1.27 together following the INSTALL.simple instructions from the mod_perl source but adding EVERYTHING=1 when running Makefile.PL. This makes Apache::MP3 work on a Red Hat 7.3 system with perl 5.8.0 added and also on Red Hat 8.0 (which has perl 5.8.0 included) but only if mod_perl-1.99 was *not* a selected package. On an 8.0 system with mod_perl-1.99 present, /usr/local/apache/bin/apachectl configtest still causes a segmentation fault. Many thanks to Ged Haywood for plenty of support off-list. -- From: Wilcox, Curtis Sent: Thursday, February 20, 2003 1:31 PM To: [EMAIL PROTECTED] Subject: [mp1] Help with Apache::MP3 Actually I run into the problem before I get to the Apache::MP3 part but running Apache::MP3 is the ultimate goal. The distro I'm trying is Red Hat 8.0 which includes apache 2.x.x, mod_perl 1.99 and perl 5.8.0 but Apache::MP3 requires the 1.0 mod_perl API. I tried to use the Apache::compat module as suggested by the Namp! web site http://namp.sourceforge.net/ to make it compatible with the 1.0 API but that didn't seem to work. I get failed to resolve handler `Apache::MP3' in the httpd/error_log when trying to load the directory Apache::MP3 is set to handle. I would just as soon not use Apache 2 anyway so I tried installing apache-1.3.27 and mod_perl-1.27, following the instructions in INSTALL.simple, included in the mod_perl source. Unfortunately when I add the following to httpd.conf, the apachectl configtest segfaults: Location /Songs SetHandler perl-script PerlHandler Apache::MP3 /Location /usr/local/apache/bin/apachectl configtest /usr/local/apache/bin/apachectl: line 171: 999 Segmentation fault $HTTPD -t The segfault is not caused by the PerlHandler, it still happens if there's only the SetHandler line. I have successfully run Apache::MP3 on a Red Hat 7.3 configuration but I'd like to use Red Hat 8.0 because of a number of the updates included the current version of perl. This page compares the versions of the relevant components (as far as I can tell) and the output of httpd -V, httpd -l, and perl -V on the Red Hat 8.0 and Red Hat 7.3 machines. http://stream.esm.rochester.edu/trouble/stream80_vs_stream73.html I should also mention that on Red Hat 8.0 if I do not select the Web Server set of packages, Apache 2.0 is still installed but mod-perl 1.99 is not. I don't *think* that should make a difference but I can't tell. Does anyone know a specific cause of this problem? What's my best option, do a different compile of apache mod_perl? Could I upgrade Red Hat 7.3 to 8.0 and retain my apache configuration but end up with perl 5.8.0? -- Curtis Wilcox Eastman School of Music [EMAIL PROTECTED]
Re: [mp1] Help with Apache::MP3
Wilcox, Curtis wrote: I've resolved this problem, at least to a degree which satisfies me. I built apache-1.3.27 and mod_perl-1.27 together following the INSTALL.simple instructions from the mod_perl source but adding EVERYTHING=1 when running Makefile.PL. This makes Apache::MP3 work on a Red Hat 7.3 system with perl 5.8.0 added and also on Red Hat 8.0 (which has perl 5.8.0 included) but only if mod_perl-1.99 was *not* a selected package. On an 8.0 system with mod_perl-1.99 present, /usr/local/apache/bin/apachectl configtest still causes a segmentation fault. If you have a problem with mp2, you have to try the latest stable version or even the cvs version, since many bugs were fixed since the version bundled with RH8.0. If the bugs is still there, please do a complete bug report following the guidelines: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: [mp1] Help with Apache::MP3
On Thu, 20 Feb 2003, Wilcox, Curtis wrote: [snip,snip] tried installing apache-1.3.27 and mod_perl-1.27, following the instructions in INSTALL.simple, included in the mod_perl source. Unfortunately when I add the following to httpd.conf, the apachectl configtest segfaults: Location /Songs SetHandler perl-script PerlHandler Apache::MP3 /Location /usr/local/apache/bin/apachectl configtest /usr/local/apache/bin/apachectl: line 171: 999 Segmentation fault $HTTPD -t The segfault is not caused by the PerlHandler, it still happens if there's only the SetHandler line. Did you build mod_perl as a DSO? If so I'd try static. I have successfully run Apache::MP3 on a Red Hat 7.3 configuration but I'd like to use Red Hat 8.0 because of a number of the updates included the current version of perl. This page compares the versions of the relevant components (as far as I can tell) and the output of httpd -V, httpd -l, and perl -V on the Red Hat 8.0 and Red Hat 7.3 machines. http://stream.esm.rochester.edu/trouble/stream80_vs_stream73.html Er... hurricane:~$ ping stream.esm.rochester.edu PING stream.esm.rochester.edu (172.30.209.9) from 212.22.195.7 : 56(84) bytes of data. --- stream.esm.rochester.edu ping statistics --- 15 packets transmitted, 0 packets received, 100% packet loss Could I upgrade Red Hat 7.3 to 8.0 How much time have you got? and retain my apache configuration but end up with perl 5.8.0? If you want Perl 5.8.0 under 7.3 that's no problem, just grab the source and compile it. (Don't use RPMs unless you relish pain...:) 73, Ged.
RE: [mp1] Help with Apache::MP3
-Original Message- From: Ged Haywood [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 4:30 PM To: Wilcox, Curtis Cc: [EMAIL PROTECTED] Subject: Re: [mp1] Help with Apache::MP3 On Thu, 20 Feb 2003, Wilcox, Curtis wrote: [snip,snip] tried installing apache-1.3.27 and mod_perl-1.27, following the instructions in INSTALL.simple, included in the mod_perl source. Unfortunately when I add the following to httpd.conf, the apachectl configtest segfaults: Location /Songs SetHandler perl-script PerlHandler Apache::MP3 /Location /usr/local/apache/bin/apachectl configtest /usr/local/apache/bin/apachectl: line 171: 999 Segmentation fault $HTTPD -t The segfault is not caused by the PerlHandler, it still happens if there's only the SetHandler line. Did you build mod_perl as a DSO? If so I'd try static. It's not a DSO, it's compiled in. If I had gotten the URL correct, that would have been clear :-) I have successfully run Apache::MP3 on a Red Hat 7.3 configuration but I'd like to use Red Hat 8.0 because of a number of the updates included the current version of perl. This page compares the versions of the relevant components (as far as I can tell) and the output of httpd -V, httpd -l, and perl -V on the Red Hat 8.0 and Red Hat 7.3 machines. http://stream.esm.rochester.edu/trouble/stream80_vs_stream73.html Er... hurricane:~$ ping stream.esm.rochester.edu PING stream.esm.rochester.edu (172.30.209.9) from 212.22.195.7 : 56(84) bytes of data. Sorry, I forgot the hostname is on a private IP. This link works. http://128.151.209.241/trouble/stream80_vs_stream73.html --- stream.esm.rochester.edu ping statistics --- 15 packets transmitted, 0 packets received, 100% packet loss Could I upgrade Red Hat 7.3 to 8.0 How much time have you got? The implication being that booting the 7.3 machine with an 8.0 isn't going to get me an option that a regular person would call an upgrade? and retain my apache configuration but end up with perl 5.8.0? If you want Perl 5.8.0 under 7.3 that's no problem, just grab the source and compile it. (Don't use RPMs unless you relish pain...:) Is it pretty clear how to make everything use 5.8.0 instead of the pre-existing version? Is it as simple as replacing /usr/bin/perl?