<div dir="ltr"><div><div><div><div>Best advice ever: Listen to PAUL not to BRIAN. :-)<br><br></div>I was also going to say "what makes you think it stopped"? Stop is usually noisy and ends with a command prompt.<br><br></div>Does it load the tables then set ownership? That would be easy to fix later.<br><br></div>My own Q -- What would be a reasonable query to run to see if it's loading?<br></div><div><br></div>Brian<br> <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 26, 2015 at 12:18 PM, Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The COPY command used to load tables is basically 100% silent, so it<br>
just might have been working away. A good thing to check is 'top' to<br>
see if the postgres process is busy using CPU. If so, it's hard at<br>
work on your process. If not, then perhaps something is awry.<br>
<br>
P<br>
<br>
On Wed, Aug 26, 2015 at 12:01 PM, Lee Hachadoorian<br>
<<a href="mailto:Lee.Hachadoorian%2BL@gmail.com">Lee.Hachadoorian+L@gmail.com</a>> wrote:<br>
> New Linux machine, new PostGIS install (postgresql-9.3-postgis-2.1). I<br>
> created DB and added extensions. Now trying to load database using<br>
> <a href="http://postgis_restore.pl" rel="noreferrer" target="_blank">postgis_restore.pl</a>. This is a large database (63GB dump, created from<br>
> DB that was probably 600GB or more).<br>
><br>
> The script ran for a while. Then it stopped at<br>
><br>
>  setval<br>
> --------<br>
>      53<br>
> (1 row)<br>
><br>
> It's been hanging out there for hours now, so I assume something is<br>
> hopelessly wrong.<br>
><br>
> The loader created foo.dump.lst at 10:50am and I piped errors to a<br>
> text file. Errors file shows that I did not create a user who owns one<br>
> of the schemas. `ERROR:  role "geo_user" does not exist` appears 260<br>
> times.<br>
><br>
> Can I just kill the loader script with Ctrl+C? Is database<br>
> recoverable? Should I just drop database and try again from the<br>
> beginning? Is failure related to missing role, or if not how do I<br>
> figure out what the error is so that I can get this to run to<br>
> completion?<br>
><br>
> Best,<br>
> --Lee<br>
><br>
> --<br>
> Lee Hachadoorian<br>
> Asst Professor of Geography, Temple University<br>
> <a href="http://geospatial.commons.gc.cuny.edu/" rel="noreferrer" target="_blank">http://geospatial.commons.gc.cuny.edu/</a><br>
> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>Brian Wilson, GISP</div></div><div><div>@brian_32768</div></div><div><br></div></div></div></div></div></div></div></div></div></div></div>
</div>