Thank you very much Ariel,
The last command (sudo apt-get install
-f) is running correctly but in the end it gives the following
message:
-----------------
.
.
.



CREATE ROLE

 * Stopping Tomcat servlet engine
tomcat6                                                              
               [ OK ] 

patching file
/var/lib/tomcat6/webapps/geoserver-geonode-dev/WEB-INF/web.xml

patching file
/var/lib/tomcat6/webapps/geonetwork/WEB-INF/config.xml

 * Starting Tomcat servlet engine
tomcat6                                                              
               [fail] 

invoke-rc.d: initscript tomcat6, action
"start" failed.

dpkg: error processing geonode
(--configure):

 subprocess installed post-installation
script returned error exit status 1

Processing triggers for libc-bin ...

ldconfig deferred processing now taking
place

Processing triggers for python-support
...

Errors were encountered while
processing:

 geonode

E: Sub-process /usr/bin/dpkg returned
an error code (1)

----------------------------
I explored and started to work with
ubuntu just last week, specially for installing geonode, many thanks
for your help and your understanding.




Adam


> Date: Sat, 20 Aug 2011 17:00:08 +0000
> From: [email protected]
> Subject: Re: [geonode] Genode in Ubuntu 11.04
> To: [email protected]
> 
> Adam, if you are to the point where you see the 'It works' it means
> you have not yet installed GeoNode.
> 
> You have to do both commands, even if the first one appears to have failed:
> sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> sudo apt-get install -f
> 
> The first command will mark GeoNode for installation if all the
> dependencies are not already installed. However if they are installed
> and for some reason the geonode package was not installed right after
> that you have to do again:
> 
>  sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> 
> And this time you should not see any errors, but the program exiting
> successfully after having installed GeoNode. If it helps I will try to
> do a series of screenshots with a fresh system. Another option is just
> t
> 
> Ariel.
> 
> On Sat, Aug 20, 2011 at 11:26 AM, Adam Mar <[email protected]> wrote:
> > Hi Ariel,
> >
> > Perfect, I restart the setup in another laptop and I got the default web
> > page for the server (it works). When I look at the content of the suggested
> > folders, I don't found the flowing ones:
> >
> > /etc/default/geonode
> > /etc/apache2/sit
> > /var/lib/geonode
> > /var/www/geonode
> >
> > Should I run the 8 command ( sudo dpkg -i ../geonode_1.1.beta+2_all.deb) a
> > second time ?
> >
> > Thank you
> >
> > Adam
> >
> >
> >> Date: Sat, 20 Aug 2011 09:54:07 +0900
> >> From: [email protected]
> >> Subject: Re: [geonode] Genode in Ubuntu 11.04
> >> To: [email protected]
> >>
> >> Adam,
> >>
> >> I would suggest going to http://localhost (or chosen domain, ip
> >> address) and trying to upload a shapefile or geotiff.
> >>
> >> Looking at the contents of:
> >> /etc/default/geonode
> >> /etc/default/tomcat6
> >> /etc/apache2/sit
> >> /var/lib/geonode
> >> /var/lib/tomcat6/webapps
> >> /var/www/geonode
> >>
> >> And making sure
> >>
> >>
> >> Ariel
> >>
> >> On Sat, Aug 20, 2011 at 9:06 AM, Adam Mar <[email protected]> wrote:
> >> > Hi Ariel,
> >> > Please, do you have any command to run or a suggestion to do in order to
> >> > test that all done correctly ?
> >> > many thanks
> >> >
> >> > Adam
> >> >
> >> >> Date: Sat, 20 Aug 2011 08:55:26 + 0900
> >> >> From: [email protected]
> >> >> Subject: Re: [geonode] Genode in Ubuntu 11.04
> >> >> To: [email protected]
> >> >>
> >> >> That said, in order to continue your installation you can do the
> >> >> following:
> >> >>
> >> >> cd /var/www/geonode/wsgi/geonode
> >> >> source bin/activate
> >> >> pip install -U Django==1.2
> >> >>
> >> >> Ariel
> >> >>
> >> >> On Sat, Aug 20, 2011 at 8:51 AM, Ariel Nunez <[email protected]>
> >> >> wrote:
> >> >> > Martin,
> >> >> >
> >> >> > New ubuntu packages will be produced before mid september with what
> >> >> > will hopefully become 1.1.
> >> >> >
> >> >> > In the meantime, it is very easy to create Ubuntu packages yourself
> >> >> > based on the latest beta release ( I have tested it wi th Ubuntu
> >> >> > 11.04):
> >> >> >
> >> >> > sudo apt-get update
> >> >> > sudo apt-get install -y git-core debhelper devscripts
> >> >> > git clone git://github.com/GFDRR/geonode-deb.git
> >> >> > cd geonode-deb
> >> >> > wget http://dev.geonode.org/release/GeoNode-1.1-beta2.tar.gz
> >> >> > tar zxvf GeoNode-1.1-beta2.tar.gz
> >> >> > debuild --no-lintian -us -uc
> >> >> > # the next command will give you an error because of missing
> >> >> > dependencies, do not worry and carry on with the last step)
> >> >> > sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> >> >> > sudo apt-get install -f
> >> >> >
> >> >> >
> >> >> > Ariel.
> >> >> >
> >> >
> >
                                          

Reply via email to