SID-01725: Can't locate setlib.cfg @INC
| Status: |
Unanswered |
TWiki version: |
5.1.3 |
Perl version: |
5.10 |
| Category: |
CategoryDeployment |
Server OS: |
CentOS 6.3 |
Last update: |
10 years ago |
Hi team,
When I am trying to run file tick_twiki.pl, It throws following error,
Can't locate setlib.cfg in
@INC
(
@INC
contains: . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at tools/tick_twiki.pl line 39.BEGIN failed--compilation aborted at tools/tick_twiki.pl line 40.
Both the files setlib.cfg and tick_twiki.pl are included in same folder /var/www/html/twiki/bin
Required permissions also set for both the files.
I got same error for mailnotify functionality.
Undefined subroutine &TWiki::UI::checkAccess called at /var/www/html/twiki/lib/TWiki/Plugins/WebPermissionsPlugin/Core.pm line 175.
at /var/www/html/twiki/lib/TWiki/Plugins/WebPermissionsPlugin/Core.pm line 175
TWiki::Plugins::WebPermissionsPlugin::Core::TOPICPERMISSIONS('TWiki=HASH(0x1781598)', 'TWiki::Attrs=HASH(0x2d0d7c0)', 'WebNotify', 'Main', 'TWiki::Meta=HASH(0x1a9d2b8)', 'SCALAR(0x1be9c70)') called at /var/www/html/twiki/lib/TWiki/Plugins/WebPermissionsPlugin.pm line 75
TWiki::Plugins::WebPermissionsPlugin::_TOPICPERMISSIONS('TWiki=HASH(0x1781598)', 'TWiki::Attrs=HASH(0x2d0d7c0)', 'WebNotify', 'Main', 'TWiki::Meta=HASH(0x1a9d2b8)', 'SCALAR(0x1be9c70)') called at /var/www/html/twiki/lib/TWiki/Func.pm line 2423
TWiki::Func::__ANON__('TWiki=HASH(0x1781598)', 'TWiki::Attrs=HASH(0x2d0d7c0)', 'WebNotify', 'Main', 'TWiki::Meta=HASH(0x1a9d2b8)', 'SCALAR(0x1be9c70)') called at /var/www/html/twiki/lib/TWiki.pm line 3009
TWiki::_expandTagOnTopicRendering('TWiki=HASH(0x1781598)', 'TOPICPERMISSIONS', undef, 'WebNotify', 'Main', 'TWiki::Meta=HASH(0x1a9d2b8)', 'SCALAR(0x1be9c70)') called at /var/www/html/twiki/lib/TWiki.pm line 2905
TWiki::_processTags('TWiki=HASH(0x1781598)', '<!-- %TOPICPERMISSIONS% -->', 'CODE(0x1bdd120)', 16, 'WebNotify', 'Main', 'TWiki::Meta=HASH(0x1a9d2b8)', 'SCALAR(0x1be9c70)') called at /var/www/html/twiki/lib/TWiki.pm line 2822
TWiki::expandAllTags('TWiki=HASH(0x1781598)', 'SCALAR(0x1be9c70)', 'WebNotify', 'Main', 'TWiki::Meta=HASH(0x1a9d2b8)') called at /var/www/html/twiki/lib/TWiki.pm line 3190
TWiki::handleCommonTags('TWiki=HASH(0x1781598)', '<!-- %TOPICPERMISSIONS% -->', 'Main', 'WebNotify', 'TWiki::Meta=HASH(0x1a9d2b8)') called at /var/www/html/twiki/lib/TWiki/Func.pm line 2197
TWiki::Func::expandCommonVariables('<!-- %TOPICPERMISSIONS% -->', 'WebNotify', 'Main', 'TWiki::Meta=HASH(0x1a9d2b8)') called at /var/www/html/twiki/lib/TWiki/Contrib/MailerContrib/WebNotify.pm line 358
TWiki::Contrib::MailerContrib::WebNotify::_load('TWiki::Contrib::MailerContrib::WebNotify=HASH(0x2ba5848)') called at /var/www/html/twiki/lib/TWiki/Contrib/MailerContrib/WebNotify.pm line 73
TWiki::Contrib::MailerContrib::WebNotify::new('TWiki::Contrib::MailerContrib::WebNotify', 'TWiki=HASH(0x1781598)', 'Main', 'WebNotify') called at /var/www/html/twiki/lib/TWiki/Contrib/MailerContrib.pm line 219
TWiki::Contrib::MailerContrib::_processWeb('TWiki=HASH(0x1781598)', 'Main') called at /var/www/html/twiki/lib/TWiki/Contrib/MailerContrib.pm line 108
TWiki::Contrib::MailerContrib::mailNotify('ARRAY(0x1657ac8)', undef, 1, 'ARRAY(0x1657b28)') called at mailnotify line 52
Thanks, Madhuri
--
Madhuri Yevale - 2013-06-10
Discussion and Answer
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.