pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shane Ambler <pgsql@Sheeky.Biz>
To: Peter Elmers <p.elmers@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems with precompiled pgsql on mac
Date: Tue, 27 Mar 2007 03:17:07 +0930
Message-ID: <4608071B.8030601@Sheeky.Biz> (raw)
In-Reply-To: <A5640DFE-03A9-4BEC-9B30-2E0705873A78@gmx.de>
References: <A5640DFE-03A9-4BEC-9B30-2E0705873A78@gmx.de>

Peter Elmers wrote:
> Hi Guys!

A bit more info would help -

> I am trying to deploy an application together with postgresql. 
> Therefore, i compiled postgres versions on Intel, G4 and G5.
> Mostly, this works perfectly. But on some machines, the installation was 
> successful and postgres does not start.

Is there some common info on the machines that don't work?
Is it only cpu type that fails? Is the correct binary installed on them?
Is there a system version or installed software that is common to the 
failing machines?
How much RAM is on the failing machines?
Are you adjusting the postgres.conf file? What changes? Try with a 
standard postgres.conf first.
Are you adjusting any of the sysctl settings?

What version are you installing?

I do remember reading somewhere about Apple Remote Desktop 2 (or maybe 
it was 3) (which uses pg as data source) may conflict with a postgres 
install.

> PostGres does not write any log. If i try to start the postmaster 
> directly, he says, it will start but no process is shown within the 
> process list.

There should at least be a serverlog in the data directory. If you have 
setup rotating logs look in data/pg_log

Bad permission settings on the data dir can stop postgres from starting. 
Has the postgres user been created and set as the owner of the data dir 
with drwx------ permissions set on the data dir and all contents?

What script are you using to start? Is POSTGRESQLSERVER=-YES- in 
/etc/hostconfig Some scripts use this or similar to turn postgres on or off.
One thing to try is to try starting with pg_ctl - you may get more 
feedback than the startupitems script.

Two logs to look at are console.log and system.log which may have STDERR 
output not seen at the terminal. You can use Console.app to view them or 
open them directly, console.log is in /Library/Logs/Console and 
system.log is in /var/log



-- 

Shane Ambler
pgSQL@Sheeky.Biz

Get Sheeky @ http://Sheeky.Biz



view thread (10+ messages)  latest in thread

Message-ID: <4608071B.8030601@Sheeky.Biz>
Permalink:  ../4608071B.8030601@Sheeky.Biz/
Also on:    postgresql.org/message-id/4608071B.8030601@Sheeky.Biz

 · 

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: pgsql@Sheeky.Biz, p.elmers@gmx.de
  Subject: Re: Problems with precompiled pgsql on mac
  In-Reply-To: <4608071B.8030601@Sheeky.Biz>

* 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