SID-00904: Can't locate mod_perl_startup.pl
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
5.12.1 |
| Category: |
CategoryInstallation |
Server OS: |
RHEL |
Last update: |
1 year ago |
During the installation i got a error while restarting Apache ... The problem is... I using twiki5 and RHEL 4
[root@win ~]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Thu Jul 01 12:36:20 2010] [error] Can't locate /erpp1/twiki/too ls/mod_perl_startup.pl in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-t hread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-threa d-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/si te_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/per l5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/l ib/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/pe rl5/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-mult i /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/pe rl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_per l/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/l ib/perl5/vendor_perl /etc/httpd/ /etc/httpd/lib/perl) at (eval 2) line 1.\n
[Thu Jul 01 12:36:20 2010] [error] Can't load Perl file: /erpp1/twiki/tools/mod_ perl_startup.pl for server win.sharadha.com:0, exiting...
[FAILED]
[root@win ~]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@win ~]#
After upgrading the version of perl from 5.5 to 5.12 and mod_perl1 to 2 i got an error like this when restart Apache...
Starting httpd: [Tue Jul 13 20:44:30 2010] [error] Can't locate /erpp1/twiki/tools/mod_perl_startup.pl in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.12.1/i686-linux /usr/local/lib/perl5/site_perl/5.12.1 /usr/local/lib/perl5/5.12.1/i686-linux /usr/local/lib/perl5/5.12.1 /etc/httpd) at (eval 2) line 1.\n
[Tue Jul 13 20:44:30 2010] [error] Can't load Perl file: /erpp1/twiki/tools/mod_perl_startup.pl for server win.sharadha.com:0, exiting...
[FAILED]
I got a forbidden error when i comment mod_perl_startup from twiki.conf .. So what i do .. I'm stuck at here around two weeks..Pls help me to resolve and deployment this ...
--
GopiKrishna - 2010-07-17
Discussion and Answer
I moved this support question from the
Codev web to here.
You do not need mod_perl_startup.pl script, you can disable it in the TWiki Apache configuration. Run
ApacheConfigGenerator.
--
PeterThoeny - 2010-07-18
Hi Peter,
When i disabled a mod_perl_startup.pl from apache configuration Apache restarted and things seems good...But when i trying to open /twiki/bin/view and /twiki/bin/configuration i got a
forbidden error and shows that you are not permitted to view this page... What can i do for that ...
--
GopiKrishna - 2010-07-17
Apache config issue. Make sure permissions are set to executable of the configure script.
--
PeterThoeny - 2010-07-18
Hi peter,
I given .htaccess files under bin pub and twiki root.I given apache user and groups for whole twiki folder..
Enabled .htpasswd under data directory.Changed Localsite.cfg's user and group as apache. Till now facing same problem.
Changed /var/www/html and /etc/httpd/conf group and user as apache...Till face the same problem...
--
GopiKrishna - 2010-07-20
Don't use local .htaccess files. I suggest to install TWiki step-by-step according to
TWikiInstallationGuide and to use the the
ApacheConfigGenerator.
--
PeterThoeny - 2010-07-20
I'm using twiki.conf generated from ApacheConfigGenerator only.I placed the file under /etc/httpd/conf.d.But still i'm not able to view the page..
Please help me i struggle lot here ...
--
GopiKrishna - 2010-07-21
[Mon Apr 23 14:49:37 2007] [notice] caught SIGTERM, shutting down
[Mon Apr 23 14:49:48 2007] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Mon Apr 23 14:49:48 2007] [notice] Digest: generating secret for
digest authentication ...
[Mon Apr 23 14:49:48 2007] [notice] Digest: done
[Mon Apr 23 14:49:49 2007] [notice] mod_python: Creating 4 session
mutexes based on 150 max processes and 0 max threads.
[Mon Apr 23 14:49:49 2007] [notice] Apache/2.0.52 (Red Hat) configured
-- resuming normal operations
While checking error_log i got this error.
--
GopiKrishna - 2010-07-23
Those messages are simply from an Apache restart.
It's hard to help without more details. I suggest to ask a sysadmin in your organization to help out. See also
AdminSkillsAssumptions.
--
PeterThoeny - 2010-07-23
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider a
subscription for support or engage 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!
--
PeterThoeny - 2010-09-13
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.