External miners are working, but my privat pool not working

tmnet@yiimp:~/vDinar/src$ ./vdinard getblocktemplate
error: {"code":-1,"message":"CreateNewBlock() : ConnectBlock failed"}
20:51:39: connecting to coind VDN
20:51:39: ERROR: rpc_do_call: 127.0.0.1:9332 500
20:51:39: vDinar error getblocktemplate result
20:52:00: connecting to coind VDN
20:52:00: ERROR: rpc_do_call: 127.0.0.1:9332 500
20:52:00: vDinar error getblocktemplate result
20:52:21: connecting to coind VDN
20:52:21: ERROR: rpc_do_call: 127.0.0.1:9332 500
20:52:21: vDinar error getblocktemplate result