SID-01761: Error in GenPDFAddOn
| Status: |
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
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.