简体   繁体   English

PgAgent(在Windows上)无法运行

[英]PgAgent (on windows) doesn't run job

Note: This is a new installation of pgAgent following tutorials and other info that I found over the web. 注意:这是继我在网上发现的教程和其他信息之后的pgAgent的新安装。 Note2: Server pgAgent is running and (apparently) without errors. 注意2:服务器pgAgent正在运行,并且(显然)没有错误。

After configuring the job it never start to run, nor manually or scheduled. 配置作业后,它永远不会开始运行,也不会手动或计划运行。

Actual configuration: 实际配置: 作业配置 .

The job step is simple: run a function that exports data, but I'm not getting to that point yet, because the Job never starts. 作业步骤很简单:运行一个导出数据的函数,但是我还没到那点,因为作业永远不会启动。

I have postgresql 9.3.3 running 我有运行的PostgreSQL 9.3.3

the mistake I did that throghrouly messed me up was running the pgagent.sql file before actually doing the install. 我做的麻烦使我烦恼的错误是在实际进行安装之前正在运行pgagent.sql文件。

follow this guide - its incredible - kudos to the writer: http://orbitphreak.blogspot.ca/2013/04/installing-pgagent-33-on-centos-5x-x8664.html 遵循本指南-令人难以置信-对作者的敬意: http : //orbitphreak.blogspot.ca/2013/04/installing-pgagent-33-on-centos-5x-x8664.html

My OS is redhat, and using pgadmin v. 1.18 (which means that pgagent comes as separately). 我的操作系统是redhat,并且使用pgadmin v.1.18(这意味着pgagent单独提供)。

In my case the problem was that agent couldn't authorize to database so after I've made all connections trusted from localhost the service started successfully and job works fine for more information about error you should see into windows event viewer or equivalent in UNIX based system 在我的情况下,问题是代理无法授权数据库,因此当我从本地主机信任了所有连接后,服务成功启动并且作业正常运行以获取有关错误的更多信息,您应该查看Windows事件查看器或基于UNIX的等效对象系统 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM