Hi
Ariel,
I
tried the following two commands
sudo
apt-get purge tomcat6 tomcat6-common tomcat6-admin
sudo
apt-get install tomcat6 tomcat6-admin
After
that, I checked the link (http://localhost:8080) where I got “it
works ...” message. Then, when I run sudo dpkg -i
geonode_1.1.beta+2_all.deb I got the same error (invoke-rc.d:
initscript tomcat6, action "start" failed).
The
catalina.out (/var/log/tomcat6/catalina.out) show the following
message:
---------------------------------------------
Aug
21, 2011 2:15:51 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE:
The web application [/geoserver-geonode-dev] registered the JBDC
driver [org.hsqldb.jdbcDriver] but failed to unregister it when the
web application was stopped. To prevent a memory leak, the JDBC
Driver has been forcibly unregistered.
Aug
21, 2011 2:15:59 PM org.apache.coyote.http11.Http11Protocol destroy
INFO:
Stopping Coyote HTTP/1.1 on http-8080
Error
occurred during initialization of VM
Could
not reserve enough space for object heap
-----------------------------------------------
Is
it a /etc/default/tomcat6 problem ? I have the following parameters for
java_option in tomcat6:
JAVA_OPTS="-Djava.awt.headless=true
-Xmx1024m -Xms1024M -XX:MaxPermSize=256m
-XX:CompileCommand=exclude,net/sf/saxon/event/ReceivingContentHandler.startElement"
By
the way, my Ubuntu 11 was installed on Windows Vista 64 bit (core i5,
4 Go), through an Oracle VM VirtualMachine . The RAM allocated for
Ubuntu is 512 Mo... Are these parameters enough?
Adam
Many thanks
> Date: Sun, 21 Aug 2011 09:42:06 +0000
> From: [email protected]
> Subject: Re: [geonode] Genode in Ubuntu 11.04
> To: [email protected]
>
> This is telling you that tomcat failed to start (something that seems
> very suspicious to me) first thing would be to check the tomcat logs
> for the actual cause of the problem:
>
> Option 1:
> /var/log/tomcat6/catalina.out (or one of the older files if you do
> this the next day).
>
> One other thing to reduce noise is to get rid of the logs and restart
> tomcat6 manually:
> sudo rm -rf /var/log/tomcat/*
> sudo /etc/init.d/tomcat6 restart
>
> You should see it failing again and will be less text to parse.
>
> Option 2:
> If you can't figure it out, there is always the option of doing;
> sudo apt-get remove geonode
> sudo apt-get remove tomcat6
> sudo apt-get purge tomcat6
> sudo apt-get install tomcat6
> sudo dpkg -i geonode_1.1.beta+2_all.deb
>
> Feel free to keep asking questions, we are here to help.
>
> Ariel.
>
> On Sat, Aug 20, 2011 at 5:30 PM, Adam Mar <[email protected]> wrote:
> > invoke-rc.d: initscript tomcat6, action "start" failed.