Tags:
create new tag
view all tags

SID-01761: Error in GenPDFAddOn

Status: Unanswered Unanswered TWiki version: 5.1.3 Perl version: 5.10
Category: GenPDFAddOn Server OS: CentOS 5 Last update: 10 years ago

I have installed GenPDFAddOn plugin and configured skin for it, but when I select GeneratePDF it gives foolowing errors:

On browser: TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

exec failed: Permission denied path

In Access log file of apache: exec failed: Permission denied /usr/bin/htmldoc at /var/www/html/twiki/lib/TWiki/Sandbox.pm line 391, "GET /bin/genpdf/Main/WebHome?skin=;pdftoclevels=0 HTTP/1.1"

In warn log file of twiki: exec failed: Permission denied /usr/bin/htmldoc at /var/www/html/twiki/lib/TWiki/Sandbox.pm line 391.

skin setting : Set SKIN = genpdf,topmenu,pattern

I have set apache permission for twiki/bin/genpdf file.

-- Amol Bansode - 2013-07-10

Discussion and Answer

Not sure. Possibly an SELinux configuration issue?

-- Peter Thoeny - 2013-07-10

On my system SELinux value is Permissive. Is it correct?

-- Amol Bansode - 2013-07-10

After changing SELinux from Permissive to Enforcing the error gets changed as: Software error:

Can't locate TWiki/Contrib/GenPDFAddOn.pm in @INC (@INC contains: /var/www/html/twiki/lib . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /var/www/html/twiki/lib/CPAN/lib//arch /var/www/html/twiki/lib/CPAN/lib//5.10.1/x86_64-linux-thread-multi /var/www/html/twiki/lib/CPAN/lib//5.10.1 /var/www/html/twiki/lib/CPAN/lib/) at (eval 9) line 2. BEGIN failed--compilation aborted at (eval 9) line 2.

-- Amol Bansode - 2013-07-10

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! 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.
SupportForm
Status Unanswered
Title Error in GenPDFAddOn
SupportCategory GenPDFAddOn
TWiki version 5.1.3
Server OS CentOS 5
Web server 2.2.15
Perl version 5.10
Browser & version Chrome 26.0.1410.64 m
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.