Hi Brian,<div><br></div><div>I think I tried almost every combination already in the last RC's.</div><div><br></div><div>"sudo -u user osm2pgrouting ..." didn't work on the VM either, but just "osm2pgrouting ... " worked there, so I thought it's OK.</div>
<div>Now I changed it to change the user, then run the command and exit the user again then, but I can't test it well, because I couldn't get the VM build here on my environment.</div><div><br></div><div>Daniel</div>
<div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br><br><div class="gmail_quote">2010/8/1 Brian Hamlin <span dir="ltr"><<a href="mailto:maplabs@light42.com">maplabs@light42.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
On Jul 31, 2010, at 4:08 AM, Hamish wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
- pgRouting:<br>
"Run osm2pgrouting converter (this may take a while)<br>
host=127.0.0.1 user=user dbname=pgrouting port=5432<br>
connection failed"<br>
?<br>
<br>
</blockquote>
it seems that it is not enough to specify user=user,<br>
that invoking the whole thing as root fails,<br>
hence the su to 'user' in most (every) other script<br>
<br>
for some consolation, almost every script that connects to Pg has failed<br>
at least once by some connection string trip-up at some point...<br>
<br>
_______________________________________________<br>
Live-demo mailing list<br>
<a href="mailto:Live-demo@lists.osgeo.org" target="_blank">Live-demo@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/live-demo" target="_blank">http://lists.osgeo.org/mailman/listinfo/live-demo</a><br>
<a href="http://wiki.osgeo.org/wiki/Live_GIS_Disc" target="_blank">http://wiki.osgeo.org/wiki/Live_GIS_Disc</a><br>
</blockquote></div><br></div>