Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id RAA27792 for postgres-redist; Thu, 25 Aug 1994 17:35:36 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199408260035.RAA27792@nobozo.CS.Berkeley.EDU> Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.37.53]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id RAA27782 for ; Thu, 25 Aug 1994 17:35:35 -0700 Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.9/8.1B) with SMTP id RAA25812; Thu, 25 Aug 1994 17:35:24 -0700 Message-Id: <199408260035.RAA25812@faerie.CS.Berkeley.EDU> X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol From: aoki@cs.berkeley.edu (Paul M. Aoki) To: N B Idris Cc: postgres@postgres.Berkeley.EDU Subject: Re: not db owner? Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki) In-reply-to: Your message of Thu, 25 Aug 94 08:29:46 BST <9408250729.AA06357@diamond.cm.cf.ac.uk> Date: Thu, 25 Aug 94 17:35:18 -0700 X-Sender: aoki@postgres.Berkeley.EDU Resent-To: postgres-redist@postgres.Berkeley.EDU X-Mts: smtp Resent-Date: Thu, 25 Aug 94 17:35:36 -0700 Resent-XMts: smtp N B Idris writes: > I created a database `foo' (version 4.1), some classes in it, and > populated them. Everything was OK. > Then, the next time I tried to access 'foo' via the monitor, > postgres complained that I was not the db owner! Strange! > FATAL 1:Aug 25 07:39:07:process userid (848) != database owner (6) this is not all that strange. the postmaster (and its child backend server processes) is currently running with user id 848, which is probably your user id. the database files are owned by user id 6, which is probably that of "postgres". they need to be the same. that is, the server process uid must be the same as that of the owner of the database files. assuming that the system was installed by uid 6 (i assume that because uid 6 owns the files), "6" is now stored in the database as the db superuser's uid and you must now always start the postmaster with uid 6. -- Paul M. Aoki | University of California at Berkeley aoki@CS.Berkeley.EDU | Dept. of EECS, Computer Science Division (#1776) | Berkeley, CA 94720-1776 ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================