[ome-users] Getting an error "Apache/mod_perl is not properly configured" while installing OME Server.
Nandakumar, Sriramkumar
sriramkumar at uky.edu
Fri Oct 17 18:14:58 BST 2008
Hi,
I am facing a problem while installing OME server. Apa
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 http://localhost/perl2/mod_perl_test.pl:" and the script exits abnormally.
It could really helpful if anyone has assist me in resolving this.
I have placed the
Apache setup
Apache binary: /usr/local/apache2/bin/httpd
apachectl binary: /usr/local/apache2/bin/apachectl
httpd root: /usr/local/apache2
httpd conf: /usr/local/apache2/conf/httpd.conf
httpd version: 2
Apache configuration:
Configure Apache?: yes
Developer configuration: no
Server restart?: yes
Install OME servers:
Images (omeis): yes
Data (omeds): yes
Web: yes
Apache directories:
httpd binary: /usr/local/apache2/bin/httpd
apachectl binary: /usr/local/apache2/bin/apachectl
DocumentRoot: /usr/local/apache2/htdocs
cgi-bin: /usr/local/apache2/cgi-bin/
Web-UI HTML Templates:
Developer configuration: no
Configuring Apache
httpd.conf is /usr/local/apache2/conf/httpd.conf
Installing OMEIS
Copying src/C/omeis/omeis to /usr/local/apache2/cgi-bin//omeis
chmod 0755 /usr/local/apache2/cgi-bin//omeis
chown /usr/local/apache2/cgi-bin//omeis to uid: 48 gid: 502
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: 48 gid: 502
Copying src/html/index.html to /usr/local/apache2/htdocs/index.html
chmod 0644 /usr/local/apache2/htdocs/index.html
chmod 0644 /usr/local/apache2/htdocs/favicon.ico
Set APACHE_WEB_INCLUDE to Include /OME/conf/httpd2.web.conf
Installing DAE web by copying NonblockingSlaveWorkerCGI
Copying src/perl2/OME/Analysis/Engine/NonblockingSlaveWorkerCGI.pl to /OME/perl2/NonblockingSlaveWorkerCGI.pl
chmod 0755 /OME/perl2/NonblockingSlaveWorkerCGI.pl
chown /OME/perl2/NonblockingSlaveWorkerCGI.pl to uid: 48 gid: 502
Installing OME-startup.pl
Copying src/perl2/OME-startup.pl to /OME/conf/OME-startup.pl
chown /OME/conf/OME-startup.pl to uid: 48 gid: 502
Fixing variables in conf/httpd.ome.*.conf
Replacing %OME_DIST_BASE with /home/kimlab/Desktop/OME/OME-2.6.1
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/httpd1.99.omeds-dev.conf
Writing /OME/conf/httpd1.99.omeds-dev.conf
Reading /OME/conf/httpd1.99.omeds.conf
Writing /OME/conf/httpd1.99.omeds.conf
Reading /OME/conf/httpd1.99.omeis-dev.conf
Writing /OME/conf/httpd1.99.omeis-dev.conf
Reading /OME/conf/httpd1.99.omeis.conf
Writing /OME/conf/httpd1.99.omeis.conf
Reading /OME/conf/httpd1.99.web-dev.conf
Writing /OME/conf/httpd1.99.web-dev.conf
Reading /OME/conf/httpd1.99.web.conf
Writing /OME/conf/httpd1.99.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/local/apache2/bin/apachectl restart
Getting an OME::Util::cURL user agent
Generated mod_perl test script:
#!/usr/bin/perl -w
use strict;
use CGI qw/-no_xhtml/;
my $CGI = CGI->new();
print $CGI->header(-type => 'text/plain'),
my ($key,$value);
while ( ($key, $value) = each %ENV)
{
print "$key = $value\n";
}
1;
Writing script to /OME/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:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /perl2/mod_perl_test.pl was not found on this server.</p>
<hr>
<address>Apache/2.2.6 (Fedora) Server at localhost Port 80</address>
</body></html>
Thanks & Regards,
Sriram.
More information about the ome-users
mailing list