Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Ray Mitchell on February 17, 2003, 03:12:53 AM
-
Dear All
I have tried to install modindex onto a v5.5u2 server, but received the following error message. Can anybody suggest what the problem is ?
What is the error message actually saying to me ?
[root@server modindex]# rpm -ivh e-smith-mod_perl-0.0.1-2.noarch.rpm
Preparing... ###########################################
[100%]
1:e-smith-mod_perl ###########################################
[100%]
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@server modindex]# rpm -ivh gjz-mitel-modindex-0.0.4-3.noarch.rpm
Preparing... ###########################################
[100%]
1:gjz-mitel-modindex ###########################################
[100%]
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 1114 of /etc/httpd/conf/httpd.conf:
Can't locate Apache/ModIndex.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 3) line
3.
[ FAILED ]
error: execution of %post scriptlet from gjz-mitel-modindex-0.0.4-3 failed,
exit status 1
Thanks
Ray Mitchell
-
Ray
I got it going on SME 5.1.2, but I read over these two how-tos first.
http://www.leiinc.com/repository/Linux/Mitel_SME_Server/HowToGuides/indexer-howto.htm
http://www.leiinc.com/repository/Linux/Mitel_SME_Server/HowToGuides/mod_perl-howto.htm
Good Luck
Bill
-
I had a bug in my ModIndex RPM that affected SME 5.5.
Please download the new version from here:
http://www.leiinc.com/repository/Linux/Mitel_SME_Server/Contribs/Indexer/
If you have any problems, please let me know.
Greg Zartman
-
Thanks Greg (& Bill)
Greg I installed your updated rpm on the same server and it worked OK.
Thanks for the very prompt fix and reply.
Now I see ModIndex working OK when browsing to file locations.
Just a query though, when I browse to a password protected ibay ie
www.mydomain.com/ibayname
I am asked for the login name and password, which I supply. When I browse to subfolders I am again asked for the login name and password, which I supply again.
If I then browse back up the folder tree to the folder I was previously in, I am again asked for the login name and password.
Is this expected behaviour with ModIndex ??
You could say it would drive a user nutty if they were moving up and down the folder structure a few times.
Thanks very much and Regards
Ray Mitchell
-
It's Ok now.
I just tried browsing to the same password protected ibay as before, and I do not get asked for login name and password when browsing up and down the folder structure. This appears to be functioning correctly now !!
My password authentication must have been getting lost on the previous connection ??
Thanks anyway
Ray Mitchell
-
Another question:
Is it possible to config the color in modindex ?
I think yes, but where?
thank's Gonzalo.
-
Yes, there is but not easily The style sheet for modindex is embedded in the indexer perl module.
I was hoping to pull some of the syle sheet options into config parameters, but just haven't had time.
Open ModIndex.pm in a text editor and scroll down to the Lopthy_Indexer_Theme subroutine. You'll find the style sheet stuff there.
Just be really careful in doing any editing. Mod_Perl is VERY picky about syntax and varable scoping. A syntax error can bring down will prevent Apache from restarting. :o(
When you make changes to ModIndex.pm, you'll need to restart apache for the changes to take effect. If you have a problem with the perl module, apache won't start!!! You'll find error information in the apache error log.
Regards,
Greg