Re: pgAgent on Macbook

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Poonam Nijhawan <pnijhawan(at)greenplum(dot)com>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAgent on Macbook
Date: 2009-06-05 13:25:22
Message-ID: 937d27e10906050625t65770706n62292a470f1d8dc1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

2009/6/5 Poonam Nijhawan <pnijhawan(at)greenplum(dot)com>:
> Hi There,
>
> I am managed to install pgagent on my mac book. I could see the pgagent process running. I have attached the screenshots for the same.
>   root# ps -eaf | grep pgagent
>    0 12627     1   0   0:00.01 ttys000    0:00.01 pgagent -l 1 dbname=postgres user=postgres
>    0 12650 45330   0   0:00.00 ttys000    0:00.00 grep pgagent
>
> But when I am clicking on "run now " on job node to execute the job in the statistics window it shows running but in the background it throws following error:-
>
>
> root# The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
> Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

Start pgagent with the -f option. It seems that fork without exec
doesn't play nicely in Leopard.

You need -f anyway, when starting using launchd, as launchd process
shouldn't fork/exec as launchd can think they've died and restart.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message sebba 2009-06-05 16:31:11 problemi nell'avvio del server
Previous Message Seb 2009-06-05 00:45:18 Re: pgagent in Debian sid