[ome-users] Ome installation Apache problems

gerhard bi1825 at fh-weihenstephan.de
Wed Aug 17 15:46:17 BST 2005


Ilya Goldberg wrote:
> I am not sure how Suse configures its Apache or wether or not the
> Apache installation was modified from the stock distribution.
> Unfortunately, there are as many ways of configuring apache as there
> are unix systems on which it runs.  Also, the linux distribution you
> are using (Suse) is not regularly tested - the distributions that are
> regularly tested are RedHat Fedora Core 1, 2 and 3, Debian, and OS X
> (although the latest versions of Debian and OS X 10.4 are having some
> issues we are trying to resolve).  Unfortunately, we don't have the
> resources to support and regularly test all possible unix variants so
> we try to hit the most "popular".
>
> You got an error because the location of the test script on the file
> system (/OME/perl2/mod_perl_test.pl) did not resolve properly when
> accessed through a URL (http://localhost/perl2/mod_perl_test.pl). 
> There are several reasons why this could have happened - most likely a
> problem with the apache configuration file (/etc/apache2/httpd.conf). 
> It would be helpful if you sent the contents of
> /var/tmp/OME/install/ApacheConfigTask.log.  It may help diagnose the
> problem.
>
> If you would like to try Fedora Core 1, 2 or 3 you might be able to
> avoid installation problems that way.
>
> -Ilya
>
>
> On Aug 17, 2005, at 8:44 AM, Gerhard Trapp wrote:
>
>> Hello,
>> I try at the moment to set up an ome server, but everytime the
>> installation
>> process stops at the apache setup. I know there exist already a
>> thread about
>> apche problems but I think my problem is different. The
>> apache packages are installed and the server is running. I think the
>> configuration of the apache server is done by the ome installer.
>> I hope you can help me.
>>
>> Thanks in advance for any reply
>>
>> gerhard
>> bi1825 at fh-weihenstephan.de
>>
>>
>> Heres the output of the console. I always used the standard options.
>>
>> Apache configuration:
>>         Configure Apache?: yes
>>   Developer configuration: no
>>           Server restart?: yes
>> Install OME servers:
>>            Images (omeis): yes
>>              Data (omeds): yes
>>                       Web: yes
>> Apache directories:
>>              DocumentRoot: /srv/www/htdocs
>>                   cgi-bin: /srv/www/cgi-bin
>>
>> Are these values correct ? [y/n]:
>> Apache httpd.conf does not have an Include directive for
>> "/OME/conf/httpd.ome.conf"
>> fix "/etc/apache2/httpd.conf" ? [y/n]:
>> httpd2: Could not determine the server's fully qualified domain name,
>> using
>> 127.0.0.1 for ServerName
>> Testing Apache configuration
>>   \__ mod_perl [FAILURE].
>>
>>
>> Errors executing task: Apache/mod_perl is not properly configured. 
>> Got an
>> error response from http://localhost/perl2/mod_perl_test.pl:
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
>> <head>
>> <title>Object not found!</title>
>> <link rev="made" href="mailto:%5bno%20address%20given%5d" />
>> <style type="text/css"><!--/*--><![CDATA[/*><!--*/
>>     body { color: #000000; background-color: #FFFFFF; }
>>     a:link { color: #0000CC; }
>>     p, address {margin-left: 3em;}
>>     span {font-size: smaller;}
>> /*]]>*/--></style>
>> </head>
>>
>> <body>
>> <h1>Object not found!</h1>
>> <p>
>>
>>
>>     The requested URL was not found on this server.
>>
>>
>>
>>     If you entered the URL manually please check your
>>     spelling and try again.
>>
>>
>>
>> </p>
>> <p>
>> If you think this is a server error, please contact
>> the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.
>>
>> </p>
>>
>> <h2>Error 404</h2>
>> <address>
>>   <a href="/">localhost</a><br />
>>
>>   <span>Wed Aug 17 13:33:41 2005<br />
>>   Apache/2.0.53 (Linux/SUSE)</span>
>> </address>
>> </body>
>> </html>
>>
>>
>> See /var/tmp/OME/install/ApacheConfigTask.log for more details. at
>> (eval 83)
>> line 1
>>
>>  at install.pl line 80
>>         main::run_tasks() called at install.pl line 249
>> # Looks like your test died before it could output anything.
>>
>>
>> _______________________________________________
>> ome-users mailing list
>> ome-users at lists.openmicroscopy.org.uk
>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>>
>
>
Thanks everyone for the fast reply.

Here is the content of /var/tmp/OME/install/ApcheConfigTask.log

Apache setup
Apache configuration:
        Configure Apache?: yes
  Developer configuration: no
          Server restart?: yes
Install OME servers:
           Images (omeis): yes
             Data (omeds): yes
                      Web: yes
Apache directories:
             DocumentRoot: /srv/www/htdocs
                  cgi-bin: /srv/www/cgi-bin
Configuring Apache
httpd.conf is /etc/apache2/httpd.conf
Apache httpd.conf does not have an Include directive for "/OME/conf/httpd.ome.conf"
Installing OMEIS
Copying src/C/omeis/omeis to /srv/www/cgi-bin/omeis
chmod 0755 /srv/www/cgi-bin/omeis
chown /srv/www/cgi-bin/omeis to uid: 30 gid: 1000
Set APACHE_OMEIS_INCLUDE to Include /OME/conf/httpd2.omeis.conf
Forking a process to upgrade OMEIS
Installing OMEDS
Set APACHE_OMEDS_INCLUDE to Include /OME/conf/httpd2.omeds.conf
Installing WEB
Copying src/perl2/serve.pl to /OME/perl2/serve.pl
chmod 0755 /OME/perl2/serve.pl
chown /OME/perl2/serve.pl to uid: 30 gid: 1000
Copying src/html/index.html to /srv/www/htdocs/index.html
chmod 0755 /srv/www/htdocs/index.html
chown /srv/www/htdocs/index.html to uid: 30 gid: 1000
Set APACHE_WEB_INCLUDE to Include /OME/conf/httpd2.web.conf
Fixing variables in conf/httpd.ome.*.conf
Replacing %OME_DIST_BASE with /home/gerhard/OME/OME
Replacing %OME_INSTALL_BASE with /OME
Reading /OME/conf/httpd.ome.conf
Writing /OME/conf/httpd.ome.conf
Reading /OME/conf/httpd.omeds-dev.conf
Writing /OME/conf/httpd.omeds-dev.conf
Reading /OME/conf/httpd.omeds.conf
Writing /OME/conf/httpd.omeds.conf
Reading /OME/conf/httpd.omeis-dev.conf
Writing /OME/conf/httpd.omeis-dev.conf
Reading /OME/conf/httpd.omeis.conf
Writing /OME/conf/httpd.omeis.conf
Reading /OME/conf/httpd.web-dev.conf
Writing /OME/conf/httpd.web-dev.conf
Reading /OME/conf/httpd.web.conf
Writing /OME/conf/httpd.web.conf
Reading /OME/conf/httpd2.omeds-dev.conf
Writing /OME/conf/httpd2.omeds-dev.conf
Reading /OME/conf/httpd2.omeds.conf
Writing /OME/conf/httpd2.omeds.conf
Reading /OME/conf/httpd2.omeis-dev.conf
Writing /OME/conf/httpd2.omeis-dev.conf
Reading /OME/conf/httpd2.omeis.conf
Writing /OME/conf/httpd2.omeis.conf
Reading /OME/conf/httpd2.web-dev.conf
Writing /OME/conf/httpd2.web-dev.conf
Reading /OME/conf/httpd2.web.conf
Writing /OME/conf/httpd2.web.conf
Reading /OME/conf/httpd.ome.conf
Writing /OME/conf/httpd.ome.conf
Restarting Apache
Executing /usr/sbin/apache2ctl restart
Getting an LWP user agent
Generated mod_perl test script:
#!/usr/bin/perl -w
use strict;
print "Content-Type: text/plain\n\n";

my ($key,$value);
while ( ($key, $value) = each %ENV)
{
        print "$key = $value\n";
}


1;

Writing script to /OME/perl2/mod_perl_test.pl
Making an HTTP::Request object for http://localhost/perl2/mod_perl_test.pl
Getting response from http://localhost/perl2/mod_perl_test.pl
Checking response from http://localhost/perl2/mod_perl_test.pl
Apache/mod_perl is not properly configured.  Got an error response from http://localhost/perl2/mod_perl_test.pl:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Object not found!</title>
<link rev="made" href="mailto:%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/ 
    body { color: #000000; background-color: #FFFFFF; }
    a:link { color: #0000CC; }
    p, address {margin-left: 3em;}
    span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Object not found!</h1>
<p>


    The requested URL was not found on this server.

  

    If you entered the URL manually please check your
    spelling and try again.

  

</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:%5bno%20address%20given%5d">webmaster</a>.

</p>

<h2>Error 404</h2>
<address>
  <a href="/">localhost</a><br />
  
  <span>Wed Aug 17 16:10:13 2005<br />
  Apache/2.0.53 (Linux/SUSE)</span>
</address>
</body>
</html>





More information about the ome-users mailing list