Skip to main content
daobing_ye
Level 2
Feb 18, 2016 6:11 PM UTC
Solved

flush agent works in publish instance, but got "no such agent: server111 flush" in author instance

Hi, all,

I configured a flush agent earlier, all was working fine. When I checked today, the agent on the publish instance is still working fine. but on author instance, when I clicked on /etc/replication --> agents.publish --> flush agent --> view log, I got this error: no such agent: flush agent.

Checked the error.log file, this is what I got:

18.02.2016 11:27:21.594 *ERROR* [xx.xx.xx.x [1455812841592] GET /libs/wcm/core/content/pageinfo.json HTTP/1.1] com.day.cq.wcm.core.impl.servlets.PageInfoServlet Request path does not resolve to a resource: /etc/replication/agents.publish/flush%20flush

What config might be wrong? How I can troubleshoot?

Thanks,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Feb 19, 2016 3:57 AM UTC

Any agents configured under 'agents.publish' would work in publish instance. If you want to work for author instance, you need to configure the agents under 'agents.author'

3 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Feb 19, 2016 3:57 AM UTC

Any agents configured under 'agents.publish' would work in publish instance. If you want to work for author instance, you need to configure the agents under 'agents.author'

Translate
daobing_ye
Level 2
Feb 19, 2016 3:07 PM UTC

You are correct. but my question is actually for the flush agent which is defined under "agents.publish", but it showed "No such agent" info when clicked on "View Log". I tried to understand why it gives such message when in fact it is working fine when checking on the publish through the console. sorry for the confusion.

Translate
daobing_ye
Level 2
Feb 24, 2016 4:14 PM UTC

since the flush agent only runs in publish instances, the status of the agent in author should be "inactive" and "no such agent". Thanks!

Translate