<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<pre style="white-space: pre-wrap; color: rgb(34, 34, 34); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><span lang="EN" style="font-family: calibri, sans-serif; color: rgb(33, 33, 33);"><pre style="white-space: pre-wrap; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><span lang="EN">Users Hello, my problem is related to an error in Tomcat 7 to update a GeoNode gis system.</span></pre><pre style="white-space: pre-wrap; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><span lang="EN">Thanks for your support. </span></pre></span>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px;"><span lang="EN-US" style="font-size: 8pt; line-height: 11.4133px; color: rgb(33, 33, 33); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;">Restarting the service tomcat7 by ssh, the system does not indicate an
error, but tomcat 7 does not start.</span><span lang="EN-US" style="font-size: 8pt; line-height: 11.4133px;"></span></p><br></pre>
<pre style="white-space: pre-wrap; color: rgb(34, 34, 34); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><span lang="EN" style="font-family: calibri, sans-serif; color: rgb(33, 33, 33);">2.4 GeoNode proceeding to backup. Next restoring in GeoNode 2.4.1</span><span lang="EN-US" style="font-family: calibri, sans-serif; color: rgb(33, 33, 33);"></span></pre>
<pre style="white-space: pre-wrap; color: rgb(34, 34, 34); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><b><font face="tahoma, sans-serif"><span lang="EN">steps for </span><span lang="EN-US">Backup files (GeoNode 2.4)</span></font></b><br></pre>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">Stop service</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">sudo service apache2 stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">sudo service tomcat7 stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">sudo service postgresql stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"> </span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;">
<span style="font-size: 10pt;">sudo -u postgres -i pg_dump -c -Fc geonode > geonodedb.backup</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"> </span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">tar -cvzf geonodeConfigBackup.tgz /etc/geonode</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">tar -zcvf geonodeVarDataBackup.tgz /var/lib/geoserver/geonode-dat<wbr>a/</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">tar -zcvf geonodeUsrDataBackup.tgz /usr/share/geoserver/data/</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">tar -zcvf geonodeWWWDataBackup.tgz /var/www/geonode/</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">tar -cvzf geonodei18nBackup.tgz /usr/local/lib/python2.7/dist-<wbr>packages/geonode/locale/</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">tar -cvzf geonodePyDjangoBackup.tgz /usr/local/lib/python2.7/dist-<wbr>packages/geonode/</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">tar -cvzf geonodePyDjangoEggBackup.tgz /usr/local/lib/python2.7/dist-<wbr>packages/GeoNode-2.4.1.egg-inf<wbr>o/</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"> </span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<b><font face="tahoma, sans-serif"><span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">steps, restoring backup </span><span lang="EN-US">(GeoNode 2.4.1)</span></font></b><span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"></span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US"><br>
</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">sudo service apache2 stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">sudo service tomcat7 stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; line-height: normal;">
<span lang="EN-US" style="font-size: 10pt;">sudo service postgresql stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"><br>
</span></p>
<pre style="white-space: pre-wrap; color: rgb(34, 34, 34); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><span lang="EN-US" style="font-family: calibri, sans-serif;">sudo tar -C / -xvzf geonodeConfigBackup.tgz</span></pre>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">sudo tar -C / -xvzf geonodei18nBackup.tgz</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">sudo tar -C / -xvzf</span><span lang="EN-US"> </span><span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">geonodePyDjangoEggBackup<wbr>.tgz</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="font-size: 10pt; line-height: 14.2667px;">sudo tar -C / -xvzf</span> <span style="font-size: 10pt; line-height: 14.2667px;">geonodeVarDataBackup.tgz</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="font-size: 10pt; line-height: 14.2667px;">sudo tar -C / -xvzf</span> <span style="font-size: 10pt; line-height: 14.2667px;">geonodePyDjangoBackup.<wbr>tgz</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="font-size: 10pt; line-height: 14.2667px;">sudo tar -C / -xvzf</span> <span style="font-size: 10pt; line-height: 14.2667px;">geonodeUsrDataBackup.tgz</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"><span style="font-size: 10pt; line-height: 14.2667px;">sudo tar -C / -xvzf</span><span style="font-size: small;"> </span><span style="font-size: 10pt; line-height: 14.2667px;">geonodeWWWDataBackup.tgz</span><wbr> </span></p>
<pre style="white-space: pre-wrap; color: rgb(34, 34, 34); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><span style="font-size: 10pt; font-family: arial, sans-serif;">sudo service postgresql start</span><br></pre>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="font-size: 10pt; line-height: 14.2667px;">sudo -u postgres -i psql -c 'drop database geonode;'</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="font-size: 10pt; line-height: 14.2667px;">sudo -u postgres -i psql -c 'create database geonode;'</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">sudo -u postgres -i pg_restore -Fc -d geonode /path/to/geonodedb.backup</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"> </span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">sudo service apache2 stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;">sudo service tomcat7 stop</span></p>
<p class="MsoNormal" style="margin-right: 0px; margin-bottom: 0.0001pt; margin-left: 0px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span lang="EN-US" style="font-size: 10pt; line-height: 14.2667px;"> </span></p>
<pre style="white-space: pre-wrap; color: rgb(34, 34, 34); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-origin: initial; background-clip: initial;"><span lang="EN" style="color: rgb(33, 33, 33);">Did not receive errors during the restore.</span></pre>
<br>
<p></p>
</div>
</body>
</html>