Skip site navigation (1) Skip section navigation (2)

8.45.1 on mac - Plist problems

From: Robert Hartung <rwhart(at)mchsi(dot)com>
To: Postgres General List <pgsql-general(at)postgresql(dot)org>
Subject: 8.45.1 on mac - Plist problems
Date: 2009-11-29 03:04:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Hi all,
   Using a MacBook Pro.  Snow Leopard installed along with XCode

   I have 8.4.1 compiled from tar.gz.  It lives in
/usr/local/postgresql-8.4.1 which is owned by root.  the data
subdirectory is owned by postgres.  A link exists from
/usr/local/postgres to postgresql-8.4.1.

   PGDATA is /usr/local/postgres/data

   I can run okay with /usr/local/postgres/bin/postmaster -D ${PGDATA}

   I have tried to copy/build/modify a plist to start up automatically.
  The file below is named org.postgres.launchd.plist and it is in
/Library/LaunchDaemons.  I have fashioned it after dBEnterprises'.


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
<plist version="1.0">

after saving, I
   launchctl load /Library/LaunchDarmons/org.postgres.launchd.plist
   launchctl list | grep postgres returns
      2   org.postgres.launchd

but when I
   launchctl start org.postgres.launchd
Nothing happens.  ps ax |grep postmaster does not show
postmaster running.

Any ideas or assistance is greatfully appreciated.



pgsql-general by date

Next:From: Scott MarloweDate: 2009-11-29 05:06:20
Subject: Re: Date with time zone
Previous:From: Bruce MomjianDate: 2009-11-29 02:50:32
Subject: Re: Where do you store key for encryption

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group