Anu:

Instead of overwriting the httpd.conf in the apache directory, I suggest 
getting apache to read the file in your home directory using the following 
command:

/home/biomart/apache/bin/httpd -d /home/aj/biomart-perl/ -f conf/httpd.conf

Then you won't need to move any of the BioMart files.  Also, note that the 
BioMart server is set up at port 9002, so you should point your browser to 
http://localhost:9002/biomart/martview/

If you still need to reinstall mod_perl, please reference 
http://perl.apache.org/docs/2.0/user/install/install.html.

Regards,
Christina Yung
Scientist/Computational Biologist
Ontario Institute for Cancer Research
MaRS Centre, South Tower
101 College Street, Suite 800
Toronto, Ontario, Canada M5G 0A3
Tel: 416-673-8578

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of 
anu jagtap
Sent: Monday, March 15, 2010 3:58 PM
To: [email protected]
Subject: [mart-dev] error while opening martview webpage

Hello,

I have the biomart-perl directory at  /home/ajay/biomart-perl
Apache is installed at /home/biomart/apache/

conf/settings.conf contains
    apacheBinary=/home/biomart/apache/bin/httpd
    serverHost=localhost
    port=9002
    location=biomart

All other configurations are the same.
I executed the  perl bin/configure.pl<http://configure.pl> -r 
conf/registryURLPointer.xml under  /home/aj/biomart-perl

I modified the  /home/biomart/apache/conf/httpd.conf  with the contents from 
/home/aj/biomart-perl/conf/httpd.conf.   Following are the changes -
         I chnaged the DocumentRoot to /home/aj/biomart-perl/htdocs  (original 
was  /home/biomart/apache/htdocs)
         I added the script aliases for martview, martsoap, 
martWSDL,martxsd,martresult

Now when i restarted the apache server, and pointed my browser to 
localhost/biomart/martview    it shows an error message -
ERROR: caught BioMart::Exception: non-BioMart die(): Can't call method 
"settingsParams" on an undefined value at 
/home/ajay/biomart-perl/lib/BioMart/Web.pm line 128.

I tried reinstalling mod_perl (as suggested by someone in mart-dev mailing 
list) but still getting the same error.
Can you please tell me the exact steps in order to install mod_perl?

I am using Ubuntu system
Apache version : 2.2.15
mod-perl version : 2.0.4   do i need to use higher version if any?


Thanks
Aj

Reply via email to