Skip to main content

vertica.local_coerce

  • June 24, 2016
  • 8 replies
  • 23 views

Prashantshahi

Any idea???

8 replies

Rahul_Choudhary
Forum|alt.badge.img
  • Participating Frequently
  • June 24, 2016

Hi Prasanth

 

Can you comment out the line 'trap clear 0' under the "/etc/profiles" file and then again try performing the installation?

 

#trap clear 0

 

Please let us know how does it goes after perfoming this change.

 

Thanks

Rahul

 


Prashantshahi
  • Author
  • New Participant
  • June 24, 2016

there is no such file in /etc named as profiles but i got profile file and search for trap word and did not got a similar word.

 

any other idea??

Help me out!!!


Rahul_Choudhary
Forum|alt.badge.img
  • Participating Frequently
  • June 24, 2016

Hi Prashant

 

It was a typo.Anyways if you are performing this installation on test/dev/qa cluster you can use switch --no-system-checks  and --failure-threshold NONE with your install command and it should pass this stage where your installation is failing and should no longer fail.

 

 

Thanks

Rahul


Prashantshahi
  • Author
  • New Participant
  • June 24, 2016

still can't fixed??

 

:(


Rahul_Choudhary
Forum|alt.badge.img
  • Participating Frequently
  • June 24, 2016

Hi

 

Can you kindly share the latest admintools-dbadmin.log so that we can help you further?

 

Thanks

Rahul


Prashantshahi
  • Author
  • New Participant
  • June 24, 2016

Jun 22 06:17:14  [6025] NEW LOG: /opt/vertica/bin/adminTools
Jun 22 06:17:14  [6025] [adminExec.__init__] Unique Ports: False
Jun 22 06:17:14  [6025] [isOkToRun] owner of admintools.conf (dbauser) is root.
Jun 24 08:33:06  [9550] NEW LOG: './admintools'
Jun 24 08:33:06  [9550] [adminExec.__init__] Unique Ports: False
Jun 24 08:33:06  [9550] [isOkToRun] owner of admintools.conf (dbauser) is root.


Prashantshahi
  • Author
  • New Participant
  • June 24, 2016

when i run : /opt/vertica/oss/python/bin/python -m vertica.local_coerce

 


Traceback (most recent call last):
  File "/opt/vertica/oss/python/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/opt/vertica/oss/python/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/opt/vertica/share/eggs/vertica/local_coerce.py", line 206, in <module>
    _main()
  File "/opt/vertica/share/eggs/vertica/local_coerce.py", line 198, in _main
    coerce.run()
  File "/opt/vertica/share/eggs/vertica/local_coerce.py", line 78, in run
    halted = self._run_to_halt()
  File "/opt/vertica/share/eggs/vertica/local_coerce.py", line 83, in _run_to_halt
    if self._iterate(x):
  File "/opt/vertica/share/eggs/vertica/local_coerce.py", line 97, in _iterate
    self._last_observers = verify.run()
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/local_verify.py", line 96, in run
    return self.run_classes(vertica.platform.node.get_all_check_classes())
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/local_verify.py", line 119, in run_classes
    factory.finish()
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/shared/classrunner.py", line 201, in finish
    observer.finish()
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/platform/observers/check/xmloutput.py", line 128, in finish
    self._outfile.write(testsuite.unicode())
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 54, in unicode
    SimpleUnicodeVisitor(l.append, indent).visit(self)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 127, in visit
    visitmethod(node)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 159, in Tag
    self.visit(x)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 127, in visit
    visitmethod(node)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 159, in Tag
    self.visit(x)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 127, in visit
    visitmethod(node)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 159, in Tag
    self.visit(x)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 127, in visit
    visitmethod(node)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 159, in Tag
    self.visit(x)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 127, in visit
    visitmethod(node)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/py/_xmlgen.py", line 133, in __object
    self.write(escape(unicode(obj)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)


Pravesh
Forum|alt.badge.img
  • Participating Frequently
  • June 29, 2016

This is interesting

 

Jun 24 08:33:06  [9550] [isOkToRun] owner of admintools.conf (dbauser) is root.

 

Can you check ownership of admintools.conf.