I installed it from the gitrepo. I think it seems to be a python version issue...Seems
like rtslib-fb requires python >= 2.7. Is that correct?
Moussa
-----Original Message-----
From: Andy Grover [mailto:agrover@redhat.com]
Sent: Friday, May 02, 2014 10:01 AM
To: Moussa Ba (moussaba); targetd-devel(a)lists.fedorahosted.org
Subject: Re: Starting targetd
On 05/01/2014 04:14 PM, Moussa Ba (moussaba) wrote:
> 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
Hi Moussa,
You installed targetd from an rpm, or what exactly?
Thanks -- Andy