Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ApacheGallery] perl upgrade
Rebuilt apache - that fixed it. Thanks!
What actually happened was my /usr mount became
corrupted and I had to restore from a month old backup
which had perl 5.8.2. I then updated the files to a
incremental backup 5 days old (w/ 5.8.3). Everything
else on the system appeared to work fine. I was even
running another copy of apache with Apache::Gallery -
that worked without any problems. I thought that was
weird!
Mark
On Thu, Apr 29, 2004 at 10:33:51AM -0500, Tom Brown
wrote:
> The [error] does not contain 5.8.3. What perl -V
outputs is only
> indirectly related to the perl that runs in apache
(unless you are
> running /usr/local/bin/perl as a cgi). You might
need to rebuild make
> sure mod_perl is using the perl library (perl.so?
perl.a?) for 5.8.3.
>
> Short answer: Have you remade mod_perl since
installing the new perl?
>
> Tom
>
> On Thu, Apr 29, 2004 at 08:22:11AM -0700, Mark
Mykkanen wrote:
> > Does anyone remember how to fix the following
problem?
> > It isn't finding Gallery.pm in the right place.
It
> > is located in /us
> >
r/local/lib/perl5/site_perl/5.8.3/Apache/Gallery.pm,
> > which is in the @INC but Apache is not seeing the
> > 5.8.3 branch. I've ru
> > n into this before but forgot how to fix it.
> >
> > Thanks in advance - Mark
> >
> > error_log contains:
> > [Wed Apr 28 11:34:15 2004] [error] Can't locate
> > Apache/Gallery.pm in @INC (@INC contains:
> > /usr/local/lib/perl5/5.8.2/i686-lin
> > ux-thread-multi /usr/local/lib/perl5/5.8.2
> >
/usr/local/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
> > /usr/local/lib/perl5/
> > site_perl/5.8.2 /usr/local/lib/perl5/site_perl .
> > /usr/local/home-httpd/
/usr/local/home-httpd/lib/perl)
> > at (eval 8) line 3.
> > [Wed Apr 28 11:34:15 2004] [error] Undefined
> > subroutine &Apache::Gallery::handler called.
> >
> > perl -V contains:
> > Characteristics of this binary (from libperl):
> > Compile-time options: MULTIPLICITY USE_ITHREADS
> > USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
> > Built under linux
> > Compiled at Feb 29 2004 18:49:35
> > @INC:
> >
/usr/local/lib/perl5/5.8.3/i686-linux-thread-multi
> > /usr/local/lib/perl5/5.8.3
> >
> >
/usr/local/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi
> > /usr/local/lib/perl5/site_perl/5.8.3
> >
> >
/usr/local/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
> > /usr/local/lib/perl5/site_perl/5.8.2
> > /usr/local/lib/perl5/site_perl
> >
> > httpd.conf contains:
> > <VirtualHost *:8005>
> > ServerAdmin root@localhost
> > DocumentRoot
/usr/local/home-httpd/htdocs/photos
> > ServerName *:8005
> > ErrorLog logs/photos-error_log
> > CustomLog logs/photos-access_log combined
> > PerlSetVar GalleryTemplateDir
> > '/usr/local/home-httpd/gallery/templates'
> > # PerlSetVar GalleryCacheDir
> > '/var/tmp/home-gallery'
> > PerlSetVar GalleryInfo 'Picture Taken =>
> > DateTimeOriginal'
> > PerlSetVar GallerySizes '640 800 1024
1600'
> > PerlSetVar GalleryThumbnailSize '100x75'
> > PerlSetVar GallerySlideshowIntervals '3
5 10
> > 15 30'
> > SetHandler perl-script
> > PerlHandler Apache::Gallery
> > </VirtualHost>
> >
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Win a $20,000 Career Makeover at Yahoo! HotJobs
> >
http://hotjobs.sweepstakes.yahoo.com/careermakeover
> > _______________________________________________
> > users mailing list
> > users@xxxxxxxxxxxxxxxx
> >
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers
> >
> --
> 28 70 20 71 2C 65 29 61 9C B1 36 3D D4 69 CE 62 4A
22 8B 0E DC 3E
> mailto:tdbrown@xxxxxxxx
> http://thecap.org/
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers