Skip to Main Content

11g R2 Remote External Job Setup

Daniel BerryJul 9 2012 — edited Aug 2 2012
Have followed all of the instructions in the guide for remote external jobs. Running into the following error when trying to register a remote agent with the database:

./schagent -registerdatabase atlantic 16021
Agent Registration Password ? ********
ERROR: Connecting to: http://atlantic:16021/remote_scheduler_agent/register_agent. Server returned HTTP response code: 401 for URL: http://atlantic:16021/remote_scheduler_agent/register_agent2

If from that same machine I run the following - telnet atlantic 16021 - I get 'Connected to atlantic'.

When logged into the database named stage on atlantic, I can run the following query:

select dbms_xdb.gethttpport() from dual;

This produces 16021. Has anyone gotten this error message or something similar? I've only ever seen success in every guide, but something about my implementation must be off or different. I'm not sure what details will be helpful here, but willing to provide anything that would be pertinent.

Dan Berry
Post Details
Added on Jul 9 2012