[ome-users] OME install fails
Ilya Goldberg
igg at nih.gov
Wed Sep 6 18:51:30 BST 2006
Oh, well of course.
You're one of the people struggling with lovely Apache configurations
resulting from using Apache 2 with mod_perl 1.99.
Please reinstall apache 2 with mod_perl 2, or Apache 1 with mod_perl
1 (1.27 is the last version AFAIK).
Please also make sure that you use packages provided by your OS
vendor to do this (please don't try to do this manually from source
or from random packages you find on the net).
Apache 2/mod_perl 1.99 was an unfortunate stopover from Apache1/
mod_perl1 to Apache2/mod_perl2. The Apache2/mod_perl1.99 combination
has been known to work on some Red Hat OSes, and known not to work on
several others. This combination has never been sanctioned by the
apache or mod_perl teams, so its appearance as the default
configuration on modern distributions is a complete mystery to us.
There is nothing whatsoever wrong with Apache 1/mod_perl 1.27. The
whole internet was built on that combo.
For the record, this is a Debian system, is it not?
-Ilya
On Sep 6, 2006, at 4:32 AM, gerhard wrote:
> Hello,
> here's the apache log.
>
> Output access log file
>
> < 127.0.0.1 - - [06/Sep/2006:10:26:20 +0200] "POST /shoola/ HTTP/
> 1.1" 406 - "-" "SOAP::Lite/Perl/0.55"
>
>
> Output error log file
>
> 1227,1228d1226
> < [Wed Sep 06 10:28:09 2006] [error] [client 127.0.0.1] failed to
> resolve handler `OME::Remote::Apache::XMLRPC': Can't locate Apache/
> Constants.pm in @INC (@INC contains: /OME/Inline/lib /srv/www/perl-
> lib /usr/lib/perl5/5.8.6/i586-linux-thread-multi /usr/lib/
> perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi /
> usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/
> perl5/vendor_perl/5.8.6/i586-linux-thread-multi /usr/lib/perl5/
> vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl . /srv/www) at /usr/
> lib/perl5/site_perl/5.8.6/OME/Remote/Apache/XMLRPC.pm line 15.
> \nBEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/
> 5.8.6/OME/Remote/Apache/XMLRPC.pm line 15.\nCompilation failed in
> require at (eval 1323) line 3.\n
> < [Wed Sep 06 10:28:09 2006] [error] [client 127.0.0.1] no
> acceptable variant: /usr/share/apache2/error/
> HTTP_INTERNAL_SERVER_ERROR.html.var
>
>
> Thanks
> gerhard
>
>
> Ilya Goldberg wrote:
>>
>> On Sep 1, 2006, at 3:25 PM, gerhard wrote:
>>
>>> Thanks very much for your help.
>>> I get the following output from the XMLRPC,pl test.
>>>
>>>
>>> Using OME server 'http://localhost/shoola/'
>>>
>>> Please login to OME:
>>> Username? omeadmin
>>> Password?
>>> Calling createSession (omeadmin,***PASSWORD HIDDEN***)
>>> 500 Internal Server Error
>>
>> What does the Apache log show when you get this error?
>> -I
>>
>>
>>>
>>>
>>>
>>> Ilya Goldberg wrote:
>>>
>>>> Although the XMLRPC interface works using HTTP, pointing a
>>>> browser at
>>>> this URL will cause an error because XMLRPC operates solely by POST
>>>> requests, whereas a browser generates GET requests unless its
>>>> submitting a form. Remember that you have to change the server
>>>> URLs
>>>> (back-end and omeis) in the Shoola configuration file (config/
>>>> container.xml) for it to find your servers.
>>>>
>>>> You can also try the interactive XMLRPC perl client tester here:
>>>>
>>>> perl src/perl2/OME/Tests/XMLRPC.pl
>>>> You can supply a shoola URL on the command-line like so:
>>>> perl src/perl2/OME/Tests/XMLRPC.pl http://localhost/shoola
>>>> Either way, this will prompt you for a login to get an OME session,
>>>> after which you can specify raw XMLRPC calls to a local or
>>>> remote OME
>>>> server. Here's a sample transcript:
>>>> .....
>>>> Using OME server 'http://localhost/shoola'
>>>>
>>>> Please login to OME:
>>>> Username? igg
>>>> Password?
>>>> Calling createSession (igg,***PASSWORD HIDDEN***)
>>>> Got 'e97410fb7cd8217de65cb9041d44efcd'
>>>>
>>>> Method? getDefaultRepository
>>>> Parameters:
>>>>
>>>> Calling dispatch (e97410fb7cd8217de65cb9041d44efcd,
>>>> getDefaultRepository)
>>>> Got 'HASH(0x196fcdc)'
>>>> $VAR1 = {
>>>> 'ImageServerURL' => 'http://IGG-Lapzilla.local/cgi-bin/
>>>> omeis',
>>>> 'id' => '4'
>>>> };
>>>>
>>>>
>>>> Method?
>>>> .....
>>>>
>>>> Note that you have to have the perl LWP package installed, which
>>>> used
>>>> to be a dependency for the OME server, but no longer is. Try
>>>> XMLRPC.pl and it will complain that it can't find LWP if you don't
>>>> have it. You can get it here:
>>>> http://openmicroscopy.org/packages/perl/libwww-perl-5.69.tar.gz
>>>> (tar -zxvf libwww-perl-5.69.tar.gz ; cd libwww-perl-5.69 ; perl
>>>> Makefile.PL ; make ; sudo make install)
>>>>
>>>>
>>>>
>>>> -Ilya
>>>>
>>>>
>>>> On Aug 31, 2006, at 12:11 PM, Curtis Rueden wrote:
>>>>
>>>>> Well, I also get a "500 Internal Server Error" with my OME system
>>>>> when I try to access the shoola path directly through a web
>>>>> browser.
>>>>> It's not designed to be accessed that way -- only with Java
>>>>> clients
>>>>> like Shoola or the OME Plugin for ImageJ. (Have you tried the OME
>>>>> Plugin for ImageJ? http://www.loci.wisc.edu/ome/ imagej.html)
>>>>>
>>>>> -Curtis
>>>>>
>>>>> On 8/31/06, gerhard < bi1825 at fh-weihenstephan.de> wrote:I
>>>>> think it's
>>>>> not a Shoola specific problem.
>>>>> See attachment of the mail.
>>>>> It looks like that apache doesn't know about /localhost/shoola.
>>>>> Maybe
>>>>> Ihave to reeinstall Apache to get it working.
>>>>>
>>>>> Thanks very much
>>>>> Gerhard
>>>>>
>>>>>
>>>>> Curtis Rueden wrote:
>>>>>
>>>>>> Hi Gerhard,
>>>>>>
>>>>>> Hopefully someone more knowledgeable about Shoola can answer your
>>>>>> questions, but as far as I know you should not need to update
>>>>> anything
>>>>>> additional for things to work. When you say you can't connect,
>>>>>> do you
>>>>>> receive an error message? If so, can you forward it to the list?
>>>>>>
>>>>>> Thanks,
>>>>>> Curtis
>>>>>>
>>>>>> On 8/30/06, *gerhard* <bi1825 at fh-weihenstephan.de
>>>>>> <mailto:bi1825 at fh-weihenstephan.de>> wrote:
>>>>>>
>>>>>> Thanks for your help the installation works now but I have
>>>>> problems
>>>>>> connecting via the remote Framework (I cant connect to OME
>>>>>> via
>>>>>> shoola).
>>>>>> The OME conf files are loaded by apache.
>>>>>> So do I have to update some other libraries to get it
>>>>>> working?
>>>>>> The installation script showed no errors.
>>>>>>
>>>>>> Thanks
>>>>>> Gerhard
>>>>>>
>>>>>>
>>>>>> Curtis Rueden wrote:
>>>>>>
>>>>>>> Hi Gerhard,
>>>>>>>
>>>>>>> I fixed this error on my system by upgrading to DBD::Pg
>>>>> 1.43. If you
>>>>>>> can uninstall DBD::Pg, then rerun the OME installer, it will
>>>>>> prompt to
>>>>>>> download and install this version for you.
>>>>>>>
>>>>>>> -Curtis
>>>>>>>
>>>>>>> On 8/29/06, *gerhard* < bi1825 at fh-weihenstephan.de
>>>>>> <mailto:bi1825 at fh-weihenstephan.de>
>>>>>>> <mailto: bi1825 at fh-weihenstephan.de
>>>>>> <mailto:bi1825 at fh-weihenstephan.de>>> wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>> I tried to install the latest OME Version but I got the
>>>>>> following
>>>>>>> error
>>>>>>> (see end of the mail).
>>>>>>> Before I used version 2.4 without any problems.
>>>>>>> To install the new version I dropped the ome database and
>>>>>> deleted the
>>>>>>> OME directory.
>>>>>>> I am using postgres 8.0.3.
>>>>>>>
>>>>>>> Thanks for help
>>>>>>>
>>>>>>>
>>>>>>> ------------------------
>>>>>>> Bootstrapping Database
>>>>>>> ------------------------
>>>>>>>
>>>>>>> \__ Creating repository object
>>>>>>>
>>>>>>> OMEIS URL set to ' http://localhost/cgi-bin/omeis'. OK ?
>>>>>> [y/n]: y
>>>>>>> Checking OMEIS repository DBD::Pg::st execute failed:
>>>>>>> FEHLER: Operator
>>>>>>> existiert nicht: boolean = integer at
>>>>>>> /home/gerhard/OME/OME/src/perl2/OME/Factory.pm line 1107,
>>>>>> <STDIN>
>>>>>>> line 8.
>>>>>>>
>>>>>>>
>>>>>>> Errors executing task: DBD::Pg::st execute failed:
>>>>>> FEHLER: Operator
>>>>>>> existiert nicht: boolean = integer at
>>>>>>> /home/gerhard/OME/OME/src/perl2/OME/Factory.pm line 1107,
>>>>>> <STDIN>
>>>>>>> line 8.
>>>>>>>
>>>>>>> at ./install.pl line 81
>>>>>>> main::run_tasks() called at ./install.pl line 265
>>>>>>> # Looks like your test died before it could output
>>>>> anything.
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> ome-users mailing list
>>>>>>> ome-users at lists.openmicroscopy.org.uk
>>>>>> <mailto:ome-users at lists.openmicroscopy.org.uk>
>>>>>>> <mailto: ome-users at lists.openmicroscopy.org.uk
>>>>>> <mailto:ome-users at lists.openmicroscopy.org.uk>>
>>>>>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-
>>>>> users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> ome-users mailing list
>>>>>> ome-users at lists.openmicroscopy.org.uk
>>>>>> <mailto:ome-users at lists.openmicroscopy.org.uk>
>>>>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>>>>>> <http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-
>>>>>> users>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Server error!
>>>>>
>>>>> The server encountered an internal error and was unable to
>>>>> complete
>>>>> your request. Either the server is overloaded or there was an
>>>>> error
>>>>> in a CGI script.
>>>>>
>>>>> If you think this is a server error, please contact the webmaster.
>>>>> Error 500
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ome-users mailing list
>>>>> ome-users at lists.openmicroscopy.org.uk
>>>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ome-users mailing list
>>>>> ome-users at lists.openmicroscopy.org.uk
>>>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> ome-users mailing list
>>> ome-users at lists.openmicroscopy.org.uk
>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>>>
>>
>>
>
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
More information about the ome-users
mailing list