Unix Technical Forum

Re: pgagent jobs never start

This is a discussion on Re: pgagent jobs never start within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> > -----Original Message----- > From: Hogan, James F. Jr. [mailto:JHogan@seton.org] > Sent: 16 January 2006 17:41 > To: Dave ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:19 PM
Dave Page
 
Posts: n/a
Default Re: pgagent jobs never start



> -----Original Message-----
> From: Hogan, James F. Jr. [mailto:JHogan@seton.org]
> Sent: 16 January 2006 17:41
> To: Dave Page
> Subject: RE: [pgadmin-support] pgagent jobs never start
>
> I did in fact have two separate databases one named
> "postgres" the other
> named "hogan"
>
> I was hopeful that you were on to my trouble...However....
>
> I have deleted the "hogan" database and created a schema
> "hogan" within
> the database "posgtres"
>
> Created a new table within the "hogan" schema
>
> "hogan".testagent
>
> Validated that account 'svc_pgsql' has sufficient rights.
>
> Both server and agent services run under 'svc_pgsql'
>
> Deleted old job and created new to run every minute
>
> Insert into "hogan".testagent Values (default, 'hogan')
>
> Restarted both Windows Services...first the Posgtres Service then the
> PGAgent Service
>
> The New Job still fails to start...
>
>
>
> Attached result of
>
> Pg_dump -f c:\pgagent2.sql -U svc_pgsql postgres
>
> After changes noted above.


OK, loaded that into my master connection DB, installed pgAgent, started
it up and away it went inserting rows into the test table. So, I suspect
the agent service is failing to connect to your database for some
reason.

Is there anything obvious in the event log? If not can you remove and
add the service again with the -l 2 option please? That will cause a
bunch of debug output to be logged to the Application event log, and
should include some hints as to what's going on.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:50 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com