pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tung Thanh <con500thoi@yahoo.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: global/pg_filenode.map errrors
Date: Tue, 13 Aug 2013 15:21:31 -0700 (PDT)
Message-ID: <1376432491.60769.YahooMailNeo@web164502.mail.gq1.yahoo.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Dear List

I am installing software name geo-node, on the way of installation I have some errors with postgresql/postgis and psycopg2
I have also removed and re-install postgresql and python-psycopg2 many time but It doesn't work

the problem when  I installed by using command as bellow

$sydi add-apt-repository xxxx
$sudo apt-get update 
$sudo apt-get install geonode
and the errors occurred:

Traceback (most recent call last):
  File "/var/lib/geonode/bin/django- admin.py", line 5, in <module>
    management.execute_from_ command_line()
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/__init__.py", line 382, in execute
    self.fetch_command(subcommand) .run_from_argv(self.argv)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/base.py", line 371, in handle
    return self.handle_noargs(**options)
  File "/var/lib/geonode/lib/python2. 6/site-packages/south/ management/commands/syncdb.py" , line 90, in handle_noargs
    syncdb.Command().execute(** options)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/base.py", line 371, in handle
    return self.handle_noargs(**options)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/commands/syncdb.py" , line 57, in handle_noargs
    cursor = connection.cursor()
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/db/ backends/__init__.py", line 308, in cursor
    cursor = util.CursorWrapper(self._ cursor(), self)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/db/ backends/postgresql_psycopg2/ base.py", line 177, in _cursor
    self.connection = Database.connect(**conn_ params)
  File "/usr/local/lib/python2.6/ dist-packages/psycopg2/__init_ _.py", line 179, in connect
    connection_factory=connection_ factory, async=async)
psycopg2.OperationalError: FATAL:  could not open relation mapping file "global/pg_filenode.map": No such file or directory
FATAL:  could not open relation mapping file "global/pg_filenode.map": No such file or directory


Traceback (most recent call last):
  File "/var/lib/geonode/bin/django- admin.py", line 5, in <module>
    management.execute_from_ command_line()
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/__init__.py", line 382, in execute
    self.fetch_command(subcommand) .run_from_argv(self.argv)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/core/ management/commands/loaddata. py", line 71, in handle
    cursor = connection.cursor()
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/db/ backends/__init__.py", line 308, in cursor
    cursor = util.CursorWrapper(self._ cursor(), self)
  File "/var/lib/geonode/lib/python2. 6/site-packages/django/db/ backends/postgresql_psycopg2/ base.py", line 177, in _cursor
    self.connection = Database.connect(**conn_ params)
  File "/usr/local/lib/python2.6/ dist-packages/psycopg2/__init_ _.py", line 179, in connect
    connection_factory=connection_ factory, async=async)
psycopg2.OperationalError: FATAL:  could not open relation mapping file "global/pg_filenode.map": No such file or directory
FATAL:  could not open relation mapping file "global/pg_filenode.map": No such file or directory

/

Site default disabled.
To activate the new configuration, you need to run:
  service apache2 reload
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Enabling site geonode.
To activate the new configuration, you need to run:
  service apache2 reload
 * Restarting web server apache2                                                                                                                  ... waiting                                                                                                                              [ OK ]
 * Stopping Tomcat servlet engine tomcat6                                                                                                 [ OK ]
 * Starting Tomcat servlet engine tomcat6                                                                                                 [ OK ]
 * Restarting web server apache2                                                                                                                  ... waiting .  

Any ideas to fix many Thanks!

Message-ID: <1376432491.60769.YahooMailNeo@web164502.mail.gq1.yahoo.com>
Permalink:  ../1376432491.60769.YahooMailNeo@web164502.mail.gq1.yahoo.com/
Also on:    postgresql.org/message-id/1376432491.60769.YahooMailNeo@web164502.mail.gq1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: con500thoi@yahoo.com
  Subject: Re: global/pg_filenode.map errrors
  In-Reply-To: <1376432491.60769.YahooMailNeo@web164502.mail.gq1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox