Hello, I find myseld in this situation: I'm trying to install Geoserver on Debian following the guide of Geoserver. Unfortunalely when I try to connect to localhost:8080/geoserver the page gives me back:

HTTP Status 404 - /geoserver

type Status report

message /geoserver

description The requested resource (/geoserver) is not available. Apache Tomcat/7.0.28

What should I do in this case?
Catalina logs just tell me:

SEVERE: Context [/geoserver] startup failed due to previous errors

quite general as response.

Thank you

CommentFileSizeAuthor
#4 geozip.zip26.52 KBfmantov
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

friedjoff’s picture

Hi,

can you provide some more information about your installation approach? In particular is the GeoServer WAR-file unpacked and is there a directory like /var/lib/tomcat/webapps/geoserver/?

fmantov’s picture

Thank you,

This are the files on the diretory, and as you can see the owner it tomcat7:tomcat7

/var/lib/tomcat7/webapps/geoserver# ls -l
total 16
drwxrwxrwx  3 tomcat7 tomcat7 4096 Nov 25 19:26 META-INF
drwxrwxrwx  5 tomcat7 tomcat7 4096 Nov 27 16:31 WEB-INF
drwxrwxrwx 14 tomcat7 tomcat7 4096 Nov 25 19:26 data
-rwxrwxrwx  1 tomcat7 tomcat7  697 Sep 18  2013 index.html

Telling you the truth after several try I arrived to install geoserver on a VirtualBox machine Linux 12.04 but the 404 problem still persist on my Debian Squeez also following the geoserver guide step by step: http://docs.geoserver.org/stable/en/user/installation/linux/debian.html

Anonymous’s picture

Hi,

can you provide more information from your logfiles:

- /var/lib/tomcat7/webapps/geoserver/data/logs/geoserver.log
- /var/lib/tomcat7/logs/catalina.out
- /var/lib/tomcat7/logs/localhost..log, e.g. localhost.2014-11-28.log

Best regards,
Patric

fmantov’s picture

FileSize
26.52 KB

Thank you soooo much in helping me in this!!

1) seems like I don't have "geoserver.log" in

- /var/lib/tomcat7/webapps/geoserver/data/geoserver.log

but I have it in:

- /usr/local/geoserver/data_dir/logs/geoserver.log

2) all the other logs were stored in:

/var/log/tomcat7

and you can find the folder in attachment

fmantov’s picture

I have fixed by myself the GeoServer-Cartaro problem for Debian and I have tested on more that one Debian installation. Now no more 404 problem at http://localhost:8080/geoserver
How to solve the problem in 3 steps:

  1. follow the guide that is for Ubuntu 12.04 but will be alright till you don't find the step that tells you to install add-apt-repository ppa:webupd8team/java
  2. when you arrive at the step that tells you to install add-apt-repository ppa:webupd8team/java stop there and follow this guide in order to install oracle-java7-installer
  3. After installation of oracle-java7-installer follow all the other steps of guide at point 1 and don't forget to add JAVA_HOME=/usr/lib/jvm/java-7-oracle at your /etc/default/tomcat7

Done guys. Don't forget to eat colored gelly bears. :)

Anonymous’s picture

Status: Active » Closed (fixed)