<div dir="ltr">Hi Sriram,<br><br>According to the log, it's not that you don't have mod_perl installed, but rather that the /perl2 alias is not functioning -- hence the 404 Not Found. For whatever reason, it looks like the OME installer could not modify your Apache configuration successfully. It also looks like you installed your own version of Apache, so the config files are not where they would be in a default installation.<br>
<br>It looks like the OME installer has been updated since last time I used it, so I'm not 100% sure, but I believe you need to configure your Apache installation to include references to the appropriate /OME/conf/httpd2.*.conf files. Once you do that, and restart the web server, it should be able to find /perl2 successfully (you can test in your web browser). Then you can rerun the installer and it should pass the mod_perl test, assuming you actually have mod_perl installed.<br>
<br>-Curtis<br><br><div class="gmail_quote">On Fri, Oct 17, 2008 at 12:15 PM, Nandakumar, Sriramkumar <span dir="ltr"><<a href="mailto:sriramkumar@uky.edu">sriramkumar@uky.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Hi,<br>
I am facing a problem while installing OME server.<br>
</div><div class="Ih2E3d">The problem is at the stage of Apache setup. I am getting an error "Apache/mod_perl is not properly configured. Got an error response from <a href="http://localhost/perl2/mod_perl_test.pl" target="_blank">http://localhost/perl2/mod_perl_test.pl</a>:" and the script exits abnormally.<br>
It could really helpful if anyone has assist me in resolving this.<br>
<br>
</div>Please find the ApacheConfigTask.log file below,<br>
<div><div></div><div class="Wj3C7c"><br>
Apache setup<br>
Apache binary: /usr/local/apache2/bin/httpd<br>
apachectl binary: /usr/local/apache2/bin/apachectl<br>
httpd root: /usr/local/apache2<br>
httpd conf: /usr/local/apache2/conf/httpd.conf<br>
httpd version: 2<br>
Apache configuration:<br>
Configure Apache?: yes<br>
Developer configuration: no<br>
Server restart?: yes<br>
Install OME servers:<br>
Images (omeis): yes<br>
Data (omeds): yes<br>
Web: yes<br>
Apache directories:<br>
httpd binary: /usr/local/apache2/bin/httpd<br>
apachectl binary: /usr/local/apache2/bin/apachectl<br>
DocumentRoot: /usr/local/apache2/htdocs<br>
cgi-bin: /usr/local/apache2/cgi-bin/<br>
Web-UI HTML Templates:<br>
Developer configuration: no<br>
Configuring Apache<br>
httpd.conf is /usr/local/apache2/conf/httpd.conf<br>
Installing OMEIS<br>
Copying src/C/omeis/omeis to /usr/local/apache2/cgi-bin//omeis<br>
chmod 0755 /usr/local/apache2/cgi-bin//omeis<br>
chown /usr/local/apache2/cgi-bin//omeis to uid: 48 gid: 502<br>
Set APACHE_OMEIS_INCLUDE to Include /OME/conf/httpd2.omeis.conf<br>
Forking a process to upgrade OMEIS<br>
Installing OMEDS<br>
Set APACHE_OMEDS_INCLUDE to Include /OME/conf/httpd2.omeds.conf<br>
Installing WEB<br>
Copying src/perl2/serve.pl to /OME/perl2/serve.pl<br>
chmod 0755 /OME/perl2/serve.pl<br>
chown /OME/perl2/serve.pl to uid: 48 gid: 502<br>
Copying src/html/index.html to /usr/local/apache2/htdocs/index.html<br>
chmod 0644 /usr/local/apache2/htdocs/index.html<br>
chmod 0644 /usr/local/apache2/htdocs/favicon.ico<br>
Set APACHE_WEB_INCLUDE to Include /OME/conf/httpd2.web.conf<br>
Installing DAE web by copying NonblockingSlaveWorkerCGI<br>
Copying src/perl2/OME/Analysis/Engine/NonblockingSlaveWorkerCGI.pl to /OME/perl2/NonblockingSlaveWorkerCGI.pl<br>
chmod 0755 /OME/perl2/NonblockingSlaveWorkerCGI.pl<br>
chown /OME/perl2/NonblockingSlaveWorkerCGI.pl to uid: 48 gid: 502<br>
Installing OME-startup.pl<br>
Copying src/perl2/OME-startup.pl to /OME/conf/OME-startup.pl<br>
chown /OME/conf/OME-startup.pl to uid: 48 gid: 502<br>
Fixing variables in conf/httpd.ome.*.conf<br>
Replacing %OME_DIST_BASE with /home/kimlab/Desktop/OME/OME-2.6.1<br>
Replacing %OME_INSTALL_BASE with /OME<br>
Reading /OME/conf/httpd.ome.conf<br>
Writing /OME/conf/httpd.ome.conf<br>
Reading /OME/conf/httpd.omeds-dev.conf<br>
Writing /OME/conf/httpd.omeds-dev.conf<br>
Reading /OME/conf/httpd.omeds.conf<br>
Writing /OME/conf/httpd.omeds.conf<br>
Reading /OME/conf/httpd.omeis-dev.conf<br>
Writing /OME/conf/httpd.omeis-dev.conf<br>
Reading /OME/conf/httpd.omeis.conf<br>
Writing /OME/conf/httpd.omeis.conf<br>
Reading /OME/conf/httpd.web-dev.conf<br>
Writing /OME/conf/httpd.web-dev.conf<br>
Reading /OME/conf/httpd.web.conf<br>
Writing /OME/conf/httpd.web.conf<br>
Reading /OME/conf/httpd1.99.omeds-dev.conf<br>
Writing /OME/conf/httpd1.99.omeds-dev.conf<br>
Reading /OME/conf/httpd1.99.omeds.conf<br>
Writing /OME/conf/httpd1.99.omeds.conf<br>
Reading /OME/conf/httpd1.99.omeis-dev.conf<br>
Writing /OME/conf/httpd1.99.omeis-dev.conf<br>
Reading /OME/conf/httpd1.99.omeis.conf<br>
Writing /OME/conf/httpd1.99.omeis.conf<br>
Reading /OME/conf/httpd1.99.web-dev.conf<br>
Writing /OME/conf/httpd1.99.web-dev.conf<br>
Reading /OME/conf/httpd1.99.web.conf<br>
Writing /OME/conf/httpd1.99.web.conf<br>
Reading /OME/conf/httpd2.omeds-dev.conf<br>
Writing /OME/conf/httpd2.omeds-dev.conf<br>
Reading /OME/conf/httpd2.omeds.conf<br>
Writing /OME/conf/httpd2.omeds.conf<br>
Reading /OME/conf/httpd2.omeis-dev.conf<br>
Writing /OME/conf/httpd2.omeis-dev.conf<br>
Reading /OME/conf/httpd2.omeis.conf<br>
Writing /OME/conf/httpd2.omeis.conf<br>
Reading /OME/conf/httpd2.web-dev.conf<br>
Writing /OME/conf/httpd2.web-dev.conf<br>
Reading /OME/conf/httpd2.web.conf<br>
Writing /OME/conf/httpd2.web.conf<br>
Reading /OME/conf/httpd.ome.conf<br>
Writing /OME/conf/httpd.ome.conf<br>
Restarting Apache<br>
Executing /usr/local/apache2/bin/apachectl restart<br>
Getting an OME::Util::cURL user agent<br>
Generated mod_perl test script:<br>
#!/usr/bin/perl -w<br>
use strict;<br>
use CGI qw/-no_xhtml/;<br>
<br>
my $CGI = CGI->new();<br>
print $CGI->header(-type => 'text/plain'),<br>
<br>
<br>
my ($key,$value);<br>
while ( ($key, $value) = each %ENV)<br>
{<br>
print "$key = $value\n";<br>
}<br>
<br>
<br>
1;<br>
<br>
Writing script to /OME/perl2/mod_perl_test.pl<br>
Getting response from <a href="http://localhost/perl2/mod_perl_test.pl" target="_blank">http://localhost/perl2/mod_perl_test.pl</a><br>
Checking response from <a href="http://localhost/perl2/mod_perl_test.pl" target="_blank">http://localhost/perl2/mod_perl_test.pl</a><br>
Apache/mod_perl is not properly configured. Got an error response from <a href="http://localhost/perl2/mod_perl_test.pl" target="_blank">http://localhost/perl2/mod_perl_test.pl</a>:<br>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br>
<html><head><br>
<title>404 Not Found</title><br>
</head><body><br>
<h1>Not Found</h1><br>
<p>The requested URL /perl2/mod_perl_test.pl was not found on this server.</p><br>
<hr><br>
<address>Apache/2.2.6 (Fedora) Server at localhost Port 80</address><br>
</body></html><br>
<br>
<br>
<br>
Thanks & Regards,<br>
Sriram.<br>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</div></div></blockquote></div><br></div>