Question
Hi,
I am new to twiki-4.2.0 and managed to bring it up on a Redhat EL-4. While the basic features that are provided with this appear to work, I am unable to have any of the downloaded plugins to work.
Eg. I tried to download the
ActionTrackerPlugin.
- I downloaded that to the twiki-root(/var/www/twiki)
- tar -zxvf ActionTrackerPlugin.tgz
- Ran "perl ./ActionTracerPlugin_installer install"
- Made sure there are no errors during installation. * opened /bin/configure and enabled the ActionTrackerPlugin.
But my Action tracker still does not seem to work.
When I queried the %FAILEDPLUGINS% I find the following error associated with
ActionTracker
"TWiki::Plugins::ActionTrackerPlugin could not be loaded. Errors were:
Can't locate TWiki/Plugins/ActionTrackerPlugin.pm in
@INC
(
@INC
contains: /var/www/twiki/lib . .........................
/var/www/twiki/lib/CPAN/lib/) at (eval 34) line 1.
BEGIN failed--compilation aborted at (eval 34) line 1.
"
I did a visual inspection and found that the
ActionTracker.pm is actuall present in /var/www/twiki/lib/TWiki/Plugins/ActionTrackerPlugin.pm
Just to eleminate any issues with access, I did a chown apache:apache * -R from the twiki root so that all the files are having permissions for the web-user.
Any clues in this regard would be highly appreciated.
Environment
| Server OS: | TWiki::Plugins::ActionTrackerPlugin could not be loaded. Errors were:
Can't locate TWiki/Plugins/ActionTrackerPlugin.pm in
@INC
(
@INC
contains: /var/www/twiki/lib . /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /var/www/twiki/lib/CPAN/lib//arch /var/www/twiki/lib/CPAN/lib//5.8.5/i386-linux-thread-multi /var/www/twiki/lib/CPAN/lib//5.8.5 /var/www/twiki/lib/CPAN/lib/) at (eval 34) line 1.
BEGIN failed--compilation aborted at (eval 34) line 1.
Red Hat Enterprise Linux AS release 4 (Nahant) |
| Web server: |
Apache-2.0 |
| Perl version: |
5.8.5 |
| Client OS: |
Red Hat Enterprise Linux AS release 4 (Nahant) |
| Web Browser: |
firefox, Microsoft Internet Explorer |
| Categories: |
Installation, Plugins %EDITCELL{checkbox, 4, Platform, Hosting, Installation, Htaccess, Permissions, Registration, Authentication, Security, Authorisation, Version control, Forms, Search, Javascript, System logs, Statistics, Missing functionality, Performance, Fatal error, Documentation, Contributing code, Contributing time, Paid help, Deployment, Internationalisation, Localisation, Browser issue, Plugins, Add-Ons, Skin, Mail}% |
--
SrikanthKrishnamachary - 17 Apr 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Weird. Aside from chown, how about chmod?
--
SeanCMorgan - 17 Apr 2008
Yes I did that too.."find . -name "Action*" -exec chmod +x {} \;
One more strange observation was that if I were to run the ../tools/action_notify from the bin folder, it does not throw any errors. I believe this script was supposed to throw an error if it cannot fine the
ActionTrackerPlugin. If I update the script to look for some other non-existent module, it throws an error similar to what I reported earlier.
I therefore feel that there is some setting that I may have to tweak to get this working from the web..
--
SrikanthKrishnamachary - 17 Apr 2008
Actually I meant chmod +r
--
SeanCMorgan - 17 Apr 2008
Nope..actuall for all the files, "r" is already set for the user,group(apache:apache). I gave +r for other but still does not work.
--
SrikanthKrishnamachary - 17 Apr 2008
Thanks Sean for responding..which made me to continue to debug..
I think
ActionTrackerPlugin documentation needs to get fixed up. I mentioned to download either the .zip or .tgz, unpack them and execute the
ActionTrackerPlugin_installer..
I found that if I ran the installer, it was causing problems..I made it work by unzipping the ".zip" from twiki root and then doing "chown apache:apache * -R"
--
SrikanthKrishnamachary - 17 Apr 2008
It sounds like a problem with the installer. I can't use those (my server isn't allowed to connect to internet to get missing modules), so I install "by hand" as you just did, and so never ran into the problem.
It seems like you fixed the problem, so I'm changing the status to 'Answered'. Please undo that if I'm mistaken.
--
SeanCMorgan - 17 Apr 2008