11월, 2016의 게시물 표시

FIX :: ImportError: cannot import name range - running targetcli

> targetcli
Traceback (most recent call last):
  File "/usr/bin/targetcli", line 24, in
    from targetcli import UIRoot
  File "/usr/lib/python2.7/site-packages/targetcli/__init__.py", line 18, in
    from .ui_root import UIRoot
  File "/usr/lib/python2.7/site-packages/targetcli/ui_root.py", line 27, in
    from rtslib_fb import RTSRoot
  File "/usr/lib/python2.7/site-packages/rtslib_fb/__init__.py", line 24, in
    from .root import RTSRoot
  File "/usr/lib/python2.7/site-packages/rtslib_fb/root.py", line 26, in
    from .target import Target
  File "/usr/lib/python2.7/site-packages/rtslib_fb/target.py", line 24, in
    from six.moves import range
ImportError: cannot import name range

> yum -y install python-six
> targetcli
targetcli shell version 2.1.fb41
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.



FIX :: [nfs-ganesha] Can not monitor ... SM_MON status 1

. nfs-ganesha version : 2.4.X
. LOG : nsm_monitor :NLM :CRIT :Can not monitor ::ffff:XXX.XXX.XXX.XXX SM_MON status 1

> mkdir /var/lib/nfs/statd/sm
> mkdir /var/lib/nfs/statd/sm.bak