Thanks Stuart. When I try to telnet, I get 'telnet: Unable to connect to
remote host: Connection refused'.

When is run 'ps', I get:

  PID TTY          TIME CMD
 6367 pts/1    00:00:00 sh
 6369 pts/1    00:00:00 bash
 6399 pts/1    00:00:00 ps

Those results don't mean anything to me. Can you tell if Tomcat is running?



 

-----Original Message-----
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: [email protected]
Subject: Re: [Dspace-tech] Completed install but page cannot be displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from your
computer running the browser. I don't know what a default Ubuntu firewall
config looks like, but assuming they give you one, it is possible (likely)
that a non-standard port such as 8080 is blocked by default, and you'll need
to unblock it.

Good luck!


Stuart
_________________________________________________________________

Gwasanaethau Gwybodaeth                      Information Services
Prifysgol Aberystwyth                      Aberystwyth University

            E-bost / E-mail: [EMAIL PROTECTED]
                 Ffon / Tel: (01970) 622860
_________________________________________________________________



On 15/10/07 23:33, "Peter Urban" <[EMAIL PROTECTED]> wrote:

> Thanks Christian.
> 
> When I run http://<ipaddress>:8080, I get "Internet Explorer cannot 
> display the webpage". As best I can tell, Tomcat is running. I don't 
> know much more about Tomcat to be able to troubleshoot further on my 
> own. I get no errors when I start it using
> 
> sudo /etc/init.d/tomcat5.5 start
> 
> I installed Tomcat using Ubuntu's tomcat5.5 package. Initially, I had 
> an error during installation
> 
> * no JDK found - please set JAVA_HOME
> invoke-rc.d: initscript tomcat5.5, action "start" failed.
> dpkg: error processing tomcat5.5 (--configure):
>  subprocess post-installation script returned error exit status 1 
> Errors were encountered while processing:
>  tomcat5.5
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Then, I realized that I had JRE (j2re1.4), not JDK, so I installed 
> sun-java5-jdk package and reinstalled Tomcat. That seemed to work 
> fine. I don't see a catalina.sh. I looked for it in /usr/local/tomcat, 
> but I have no tomcat folder in local. Did I do the Tomcat installation
wrong?
> 
> On to your other questions...
> 
> Yes ant-optional package is installed.
> 
> When I copy the dspace*.war files to the webapps directory, they do 
> not unpack. All I see are 2 war files, no dspace directory.
> 
> Thanks for your help so far.
> 
> -Peter
> 
> 
> 
> -----Original Message-----
> From: Christian Voelker [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 15, 2007 5:01 PM
> To: Peter Urban
> Cc: [email protected]
> Subject: Re: [Dspace-tech] Completed install but page cannot be 
> displayed
> 
> 
> Am 15.10.2007 um 21:39 schrieb Peter Urban:
> 
>> when we launch a browser and try to access the site usinng http:// 
>> <ipaddress>:8080/dspace, we get a 'page cannot be displayed' message.
> 
> What do you get under http://<ipaddress>:8080 ?
> The Tomcat Homepage? So, is Tomcat actually running?
> If not, stick with this problem. Can you start it manually using 
> catalina.sh? If this is not your issue, did you get any error msgs 
> during your ant fresh-install? (ant-optional pkg is installed?).
> Does your automatic deployment work properly? So, if you drop your 
> dspace.war into the webapps dir, does it get unpacked to a dspace 
> subdir to the webapps dir? You are not yet at the point where the 
> trouble with the database and the jdbc connector usually starts ;-) - 
> no, sorry, I did not say that, I do not want you to shy away. There is 
> really no reason to do so, just work through it step by step with 
> getting tomcat up and running being the very first of them.
> 
> Bye, Christian
> 
> 
> ----------------------------------------------------------------------
> --- 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: 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

Reply via email to