[ome-devel] Installation

Chris Allan callan at blackcat.ca
Thu Nov 11 16:27:14 GMT 2004


On Thu, Nov 11, 2004 at 03:36:23PM +0100, Asif Jan wrote:
> Hi Chris,
> I am using Red Hat Enterprise Server  AS 3, with kernel version 
> 2.4.21-15.EL.

Our production system here runs on RedHat Enterprise AS 3 Update 3 with
the 2.4.21-20.ELsmp kernel, not that it really makes any difference.

> 
> I did not have two apache versions, I infact uninstalled the rpm for 
> apache that was installed with the system; and rebuilt apache 2. 0.52 
> for my machine.

Any particular reason why? Something wrong with the Apache installation?

> 
> But when I did the installation on another machine with identical 
> configuration; I did not have to add any thing in the apache conf file.
> 
> I tried explorer and mozilla for login; when I use mozilla I cant log in 
> i.e. it keeps on displaying the login screen without even giving a error 
> message ; i can however login using explorer; After login using explorer 
> when I reload Mozilla it automatically logs me in.

I'm going to have to analyze this problem a little bit and see if I can
find out why that's the case. Have you got cookies turned off in Mozilla
by chance? Cookies must be enabled for OME's web interface to work.

> 
> Now when I click new project from left hand navigation menu ; it opens 
> the create project screen; I add a project name and click create ; 
> nothing happens just the screen gets reloaded;

You don't get a "Creation of project successful." message in blue then I
suspect? Just a page reload? If you click on "Projects" under the search
heading in the menu do you have any projects displaying?

> 
> But when I click create project from the options listed on top right 
> side of the browser (i.e. with the welcome message) I get following error
> 
> Error loading package - Can't locate OME/Web/DBObjCreate.pm in @INC 
> (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/5.8.0 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . 
> /usr/local/apache2/ /usr/local/apache2/lib/perl) at (eval 220) line 2. 
> BEGIN failed--compilation aborted at (eval 220) line 2
> 
> I also can not find DBObjectCreate.pm anywhere on my machine.  Finding 
> it with
> 
> find / -name "DBObj*" ; gives following result
> 
> 
> /usr/lib/perl5/site_perl/5.8.0/OME/Web/DBObjRender.pm
> /usr/lib/perl5/site_perl/5.8.0/OME/Web/DBObjDetail.pm
> /usr/lib/perl5/site_perl/5.8.0/OME/Web/DBObjTable.pm
> /usr/lib/perl5/site_perl/5.8.0/OME/Web/DBObjDetail
> /usr/lib/perl5/site_perl/5.8.0/OME/Web/DBObjRender
> /downloads/OME/src/perl2/t/DBObject.t
> /downloads/OME/src/perl2/OME/Web/DBObjRender.pm
> /downloads/OME/src/perl2/OME/Web/DBObjDetail
> /downloads/OME/src/perl2/OME/Web/DBObjRender
> /downloads/OME/src/perl2/OME/Web/DBObjTable.pm
> /downloads/OME/src/perl2/OME/Web/DBObjDetail.pm
> /downloads/OME/src/perl2/OME/DBObject.pm
> /downloads/OME/src/perl2/blib/lib/OME/Web/DBObjRender
> /downloads/OME/src/perl2/blib/lib/OME/Web/DBObjDetail
> /downloads/OME/src/perl2/blib/lib/OME/Web/DBObjRender.pm
> /downloads/OME/src/perl2/blib/lib/OME/Web/DBObjDetail.pm
> /downloads/OME/src/perl2/blib/lib/OME/Web/DBObjTable.pm
> /downloads/OME/src/perl2/blib/lib/OME/DBObject.pm
> 
> 
> From page source I see that you are using following commands for 
> creating a new project
> 
> serve.pl?Page=OME::Web::DBObjCreate&Type=OME::Project  (from top right 
> hand corner of browser)
> 
> serve.pl?Page=OME::Web::MakeNewProject (from left hand side menu )

This looks like a bug in 2.2.1.1. Can you apply the patch attached? It
should fix your problem.

cd src/perl2/OME/Web
patch -p0 < HeaderBuilderBug.patch
cd ../../
make install

> 
> 
> Thanks in advance ;

No problem.

> 
> Asif
> p.s. attached is the extract from apache log

Ciao.

-Chris
-------------- next part --------------
--- DefaultHeaderBuilder.pm	2004-09-14 15:52:29.732634547 +0100
+++ /home/callan/tmp/OME/src/perl2/OME/Web/DefaultHeaderBuilder.pm	2004-11-11 16:23:36.036284267 +0000
@@ -57,8 +57,8 @@
 
 $VERSION = $OME::VERSION;
 
-my $PM_CREATE     = 'serve.pl?Page=OME::Web::DBObjCreate&Type=OME::Project';
-my $DM_CREATE     = 'serve.pl?Page=OME::Web::DBObjCreate&Type=OME::Dataset';
+my $PM_CREATE     = 'serve.pl?Page=OME::Web::MakeNewProject';
+my $DM_CREATE     = 'serve.pl?Page=OME::Web::MakeNewDataset';
 my $HOME_LOCATION = 'serve.pl?Page=OME::Web::Home';
 
 #*********


More information about the ome-devel mailing list