gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Postgres 8.4.4-1 (Enterprise db) problems -- system


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] Postgres 8.4.4-1 (Enterprise db) problems -- system hosed?
Date: Mon, 5 Jul 2010 08:36:38 +0200
User-agent: KMail/1.13.3 (Linux/2.6.33-6-desktop; KDE/4.4.3; i686; ; )

Am Montag 05 Juli 2010, 07:18:51 schrieb Jim Busser:
> On 2010-07-01, at 2:51 AM, Sebastian Hilbert wrote:
> >> I am getting closer... I now got up to v6-v7... attached is the bottom
> >> portion of the log
> >> 
> >> ==> bootstrapping "v6-v7-static" ...
> >> ==> cloning [gnumed_v6] (19 MB) as target database [gnumed_v7] ...
> >> ==> transferring users ...
> >> ==> bootstrapping "v6-v7-dynamic" ...
> >> ==> setting up auditing ...
> >> 
> >>   ... skipped (disabled)
> >> 
> >> ==> setting up notifications ...
> >> 
> >>   ... skipped (disabled)
> >> 
> >> ==> upgrading reference data sets ...
> >> closing open connection from: database.__connect_owner_to_db via
> >> database.__connect_superuser_to_db <connection object at 0x101386e00;
> >> dsn: 'dbname=gnumed_v7 port=5432 user=postgres password=xxxxxxxx
> >> sslmode=prefer', closed: 0> Bootstrapping failed: unhandled exception
> >> occurred
> > 
> > Been there :-)
> > 
> > The solution is to copy everything into /tmp and bootstrap from there.
> 
> The above problem was (I think) distinct from the problem with UTF8 and
> clusters. Does the exception above likely arise from some issue of file
> permissions (ownership) when a user would have downloaded the server files
> into personal user space, and then tried to run the installer as
> root-becoming(su to)-postgres ?

Yes it is seperate and yes it is a permission problem. Since it works in /tmp 
I can only assume that it wants to write something which is not allowed.

It starts between v6 and v7 and my guess is when it tries to go to v7 it wants 
to access more then the conf files (e.g. data files)

From the error message above it seems it gets an unhandled exception which 
could be turned into a handled exception maybe to see what is going on.


This is the relevant part from the log:

File "./bootstrap_gm_db_system.py", line 934, in import_data
    script_base_dir = os.path.abspath(os.path.expanduser(script_base_dir))
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py",
 
line 341, in abspath
    cwd = os.getcwdu()
OSError: [Errno 13] Permission denied


Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]