Thanks again Ralph! I've mande some progress. Found this article - http://cefn.com/blog/ubuntutomcat.html - that mentions a problem with Tomcat installation using Ununtu's tomcat5.5 package. Looks like Tomcat was not starting after all. Once I went through the recommended fix, I'm now getting a blank page when going to http://<ipaddress>:8080/dspace. At least there's no error message. I see catalina.sh in the list of processes, so I guess Tomcat is good now. Just have to figure out why I'm getting blank and not Dspace.
P.S. What's the difference between using... sudo /etc/init.d/tomcat5.5 start ...and... sh /usr/share/tomcat5.5/bin/startup.sh ...to start Tomcat? I was using the former at first and wasn't seeing any errors for startup. -----Original Message----- From: LeVan,Ralph [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 10:32 AM To: Peter Urban; Stuart Lewis [sdl] Cc: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Completed install but page cannot be displayed There are a couple of ways to tell if tomcat is running. ps -eaf|grep tomcat The first part gets you a list of everything that is running on your machine. (Plain ps as you entered it just gets you the stuff running in your session.) The second part filters that long list down to things that have tomcat in them. If that returns nothing except the grep itself, try: Ps-eaf|grep catalina "catalina" is tomcats real name internally. Those two things will tell you about processes. The other trick is to go to the tomcat logs directory and see if you can see tomcat starting up in its logs. Typically, there is either a file named catalina.out or catalina.<dateTomcatWasStarted>.log. Inside them you will either see a line like "Starting service Catalina" or you'll see some sort of explanation for why tomcat didn't start. If you don't see any logs in the <tomcat>/logs directory, you probably never correctly issued the startup.sh script. Ralph -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Urban Sent: Tuesday, October 16, 2007 10:38 AM To: 'Stuart Lewis [sdl]' Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Completed install but page cannot be displayed 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: dspace-tech@lists.sourceforge.net 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: dspace-tech@lists.sourceforge.net > 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 > DSpace-tech@lists.sourceforge.net > 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 DSpace-tech@lists.sourceforge.net 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech