I installed targetd but fail to get a connection from the server, the client script return the following:
++++++++++++++++++++ export_list
Traceback (most recent call last):
File "client", line 83, in <module>
results = jsonrequest("export_list")
File "client", line 66, in jsonrequest
response_obj = urllib2.urlopen(request)
File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
running /usr/bin/targetd just returns without printing anything, I cannot find a targetd process.
Is this is the right way to run this?
CentOS 6.5
rtslib.fb2.1.47
3.14.2-1.el6.elrepo.x86_6
Moussa