If you get an Apache test page when browsing http://localhost:8080 then
your Apache is running on port 8080.  It might also be listening on port
80, but Apache probably gets port 8080 before Tomcat is started.  What
happens if you try http://localhost:80/ ?  My guess is you get the
Apache test page.  If you look at your Apache configuration file,
probably something like /usr/local/apache/conf/httpd.conf (I don't
remember if RedHat puts it someplace else).  You'll probably see a line
like:  

Listen 8080

Change it to    

Listen 80

and restart Apache

With NameVirtualHost set, if a server has a number of DNS names, a name
not explicitly configured in a VirtualHost stanza is usually treated by
Apache like the first-defined VirtualHost (as is
http://server.ip.address.digits/ because it doesn't match a particular
configured "name").  "localhost" probably doesn't match NameVirtualHost
*:80, and gets the globally defined Listen 8080.

Larry

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Drrty Byl
Sent: Thursday, November 15, 2007 10:48 AM
To: [email protected]
Subject: [Dspace-tech] DSpace Installation Saga: Please Help!


Hello, I have been trying to install DSpace on my Fedora Core 5 server
to use in a school project for the past several days.  I am able to
successfully build and install the package, but still cannot access
the web interface.  Here are the specifications for my project along
with the steps I have tried to get it working:

Fedora Core 5 (kernel 2.6.15-1.2054_FC5, i386)
DSpace version 1.4.2
dspace.dir = /dspace  dspace.url = http://localhost:8080/dspace
dspace.hostname = localhost
Java version "1.6.0_03" Java(TM) SE Runtime Environment (build
1.6.0_03-b05)
Tomcat 5 (installed from Redhat Package Manager/yum interface)
Apache 2.2 (installed from Redhat Package Manager/yum interface)
PostgreSQL 8.1.9

1 - Regular sequence of Postgres database creation is successful, "ant
fresh_install" build is successful, software installed at "/dspace".
2 - Tomcat and Apache are restarted
3 - visiting http://localhost:8080 with Firefox displays Apache Test
Page
4 - visiting http://localhost:8080/dspace results in a 404 error: Not
Found
5 - visiting http://localhost:8080/dspace/ results in a 503 error:
Service Temporarily Unavailable

I am positive that both Tomcat and Apache are running; port 8080 is
NOT firewalled.  The next step I tried was installing the mod_jk
connector using the directions at:
http://wiki.dspace.org/index.php/ModJk .  This did not resolve the
problem.  Should "ProxyRequests On" and "NameVirtualHost *:80" be
uncommented in Apache httpd.conf?  Also, do I need to define a <
location > in this file?  Does anyone have a working Apache
configuration file with changes made in respect to DSpace
installation?  I get the impression this might somehow be related to
the problem.  It looks as though Tomcat, although running, is not
serving DSpace.  Any help to get this functioning is greatly
appreciated!  Billy

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to