Dave Storey
2008-04-14 23:30:58 UTC
Hello,
I have tried everything I can possibly think of, and have read the manuals
like crazy, but I cannot get Job Scheduler to work.
I'm using ASE 12.5.3 (EBF 13203) on Win XP Pro (SP2), with Sybase Central
Plug-in 4.3 (EBF 12777), and Job Scheduler Templates version 2.1.
My Remote Servers:
exec sp_addserver SYB_JSAGENT, ASEnterprise, MYDB_DB_JSAGENT
go
exec sp_addserver MYDB_DB_JSLOOP, ASEnterprise, MYDB_DB
go
exec sp_addexternlogin MYDB_DB_JSLOOP, sa, sa
go
After creating a 'Database Backup' Job using a template, creating a
Schedule, and then Scheduling the job, it runs but I get:
Exit Code:3
I have tried specifying MYDB_DB as the target server, and also MYDB_DB_BS as
the target server, but neither work. I can't determine in the manuals which
I am supposed to specify, there are no examples shown which is very
frustrating to me.
In the Log, I get:
00:00000:00024:2008/04/14 18:50:00.62 server A client process exited
abnormally, or a network error was encountered. Unless other errors
occurred, continue processing normally.
00:00000:00024:2008/04/14 18:50:00.62 kernel extended error information:
hostname: ncrwkshortr login: sa
00:00000:00013:2008/04/14 18:50:01.33 kernel Job Scheduler Task lost its
Agent connection (No error)
00:00000:00028:2008/04/14 18:50:01.75 kernel nl__connect: Could not connect
to site 'MYDB_DB_JSAGENT', socket 17.
00:00000:00028:2008/04/14 18:50:01.76 kernel nl__connect: net_connect
failed to connect to site 'MYDB_DB_JSAGENT'.
: No connection could be made because the target machine actively refused
it.
.
00:00000:00028:2008/04/14 18:50:01.76 server Failed to connect to remote
server MYDB_DB_JSAGENT tcp ether mycomp 5004 for site SYB_JSAGENT. Trying
the next query entry of this server, if any.
00:00000:00028:2008/04/14 18:50:01.76 server Error: 7235, Severity: 17,
State: 0
00:00000:00028:2008/04/14 18:50:01.76 server No other query entry found for
the remote server MYDB_DB_JSAGENT - site SYB_JSAGENT. Aborting this site
handler, as no remote server responded. Please make sure the remote server
is accepting connections.
00:00000:00026:2008/04/14 18:50:01.76 kernel Cannot send, host process
disconnected: ncrwkshortr suid: 1
00:00000:00026:2008/04/14 18:50:01.76 server Error: 1608, Severity: 18,
State: 4
00:00000:00026:2008/04/14 18:50:01.76 server A client process exited
abnormally, or a network error was encountered. Unless other errors
occurred, continue processing normally.
00:00000:00026:2008/04/14 18:50:01.76 kernel extended error information:
hostname: mycomp login: sa
00:00000:00013:2008/04/14 18:50:10.10 kernel Job Scheduler Task failed
(re)connecting to its Agent (No error)
00:00000:00013:2008/04/14 18:50:10.10 kernel Job Scheduler Task state set
to stop
My SQL.INI:
[MYDB_DB_MS]
master=TCP,mycomp,5002
query=TCP,mycomp,5002
[MYDB_DB]
master=TCP,mycomp,5000
query=TCP,mycomp,5000
[MYDB_DB_XP]
master=TCP,mycomp,5003
query=TCP,mycomp,5003
[MYDB_DB_BS]
master=TCP,mycomp,5001
query=TCP,mycomp,5001
[MYDB_DB_JSAGENT]
master=TCP,mycomp,5004
query=TCP,mycomp,5004
[MYDB_DB_JSLOOP]
master=TCP,mycomp,5005
query=TCP,mycomp,5005
Any help or suggestions would be greatly appreciated.
Thank you
I have tried everything I can possibly think of, and have read the manuals
like crazy, but I cannot get Job Scheduler to work.
I'm using ASE 12.5.3 (EBF 13203) on Win XP Pro (SP2), with Sybase Central
Plug-in 4.3 (EBF 12777), and Job Scheduler Templates version 2.1.
My Remote Servers:
exec sp_addserver SYB_JSAGENT, ASEnterprise, MYDB_DB_JSAGENT
go
exec sp_addserver MYDB_DB_JSLOOP, ASEnterprise, MYDB_DB
go
exec sp_addexternlogin MYDB_DB_JSLOOP, sa, sa
go
After creating a 'Database Backup' Job using a template, creating a
Schedule, and then Scheduling the job, it runs but I get:
Exit Code:3
I have tried specifying MYDB_DB as the target server, and also MYDB_DB_BS as
the target server, but neither work. I can't determine in the manuals which
I am supposed to specify, there are no examples shown which is very
frustrating to me.
In the Log, I get:
00:00000:00024:2008/04/14 18:50:00.62 server A client process exited
abnormally, or a network error was encountered. Unless other errors
occurred, continue processing normally.
00:00000:00024:2008/04/14 18:50:00.62 kernel extended error information:
hostname: ncrwkshortr login: sa
00:00000:00013:2008/04/14 18:50:01.33 kernel Job Scheduler Task lost its
Agent connection (No error)
00:00000:00028:2008/04/14 18:50:01.75 kernel nl__connect: Could not connect
to site 'MYDB_DB_JSAGENT', socket 17.
00:00000:00028:2008/04/14 18:50:01.76 kernel nl__connect: net_connect
failed to connect to site 'MYDB_DB_JSAGENT'.
: No connection could be made because the target machine actively refused
it.
.
00:00000:00028:2008/04/14 18:50:01.76 server Failed to connect to remote
server MYDB_DB_JSAGENT tcp ether mycomp 5004 for site SYB_JSAGENT. Trying
the next query entry of this server, if any.
00:00000:00028:2008/04/14 18:50:01.76 server Error: 7235, Severity: 17,
State: 0
00:00000:00028:2008/04/14 18:50:01.76 server No other query entry found for
the remote server MYDB_DB_JSAGENT - site SYB_JSAGENT. Aborting this site
handler, as no remote server responded. Please make sure the remote server
is accepting connections.
00:00000:00026:2008/04/14 18:50:01.76 kernel Cannot send, host process
disconnected: ncrwkshortr suid: 1
00:00000:00026:2008/04/14 18:50:01.76 server Error: 1608, Severity: 18,
State: 4
00:00000:00026:2008/04/14 18:50:01.76 server A client process exited
abnormally, or a network error was encountered. Unless other errors
occurred, continue processing normally.
00:00000:00026:2008/04/14 18:50:01.76 kernel extended error information:
hostname: mycomp login: sa
00:00000:00013:2008/04/14 18:50:10.10 kernel Job Scheduler Task failed
(re)connecting to its Agent (No error)
00:00000:00013:2008/04/14 18:50:10.10 kernel Job Scheduler Task state set
to stop
My SQL.INI:
[MYDB_DB_MS]
master=TCP,mycomp,5002
query=TCP,mycomp,5002
[MYDB_DB]
master=TCP,mycomp,5000
query=TCP,mycomp,5000
[MYDB_DB_XP]
master=TCP,mycomp,5003
query=TCP,mycomp,5003
[MYDB_DB_BS]
master=TCP,mycomp,5001
query=TCP,mycomp,5001
[MYDB_DB_JSAGENT]
master=TCP,mycomp,5004
query=TCP,mycomp,5004
[MYDB_DB_JSLOOP]
master=TCP,mycomp,5005
query=TCP,mycomp,5005
Any help or suggestions would be greatly appreciated.
Thank you