From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 4 Apr 2003 09:45:20 +0900 From: Sergei Dolmatov To: "Artem K. Jouravsky" Subject: Re: [Comm] postgres Message-ID: <20030404004519.GB12733@dolmatov.dsb.ru> Mail-Followup-To: Sergei Dolmatov , "Artem K. Jouravsky" References: <3E8CCD84.6060401@ats32.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3E8CCD84.6060401@ats32.ru> Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: On Fri, Apr 04, 2003 at 09:10:44AM +0900, Alexey Verin wrote: > День добрый ! > Вы были правы, проблема была именно в PAM в файле SU...странно.... > теперь проблема такого рода. > > [root@lexus root]# service postgresql > Usage: postgresql > {start|stop|adjust|reload|restart|condstop|condrestart|status} > [root@lexus root]# service postgresql start > Adjusting environment for postgresql: > [ OK ] > Creating default database: initdb does not find the file > '/usr/share/pgsql/postgres.bki'. > This means you have a corrupted installation or identified the > wrong directory with the -L invocation > option. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ теперь ругается( > > [FAILED] > messages > > Apr 4 09:09:32 lexus postgresql: Adjusting environment for postgresql: > succeeded > Apr 4 09:09:32 lexus pam_tcb[5547]: su: Session opened for postgres by > root(uid=0) > Apr 4 09:09:32 lexus su: initdb does not find the file > '/usr/share/pgsql/postgres.bki'. > Apr 4 09:09:32 lexus su: This means you have a corrupted installation > or identified the > Apr 4 09:09:32 lexus su: wrong directory with the -L invocation option. > Apr 4 09:09:32 lexus pam_tcb[5547]: su: Session closed for postgres > Apr 4 09:09:32 lexus postgresql: Creating default database: failed Как-то странно у вас установился postgres :) # rpm -qf /usr/share/pgsql/postgres.bki postgresql-server-7.3.1-alt6 -- Regards, Sergei Dolmatov. --- The world is not octal despite DEC.