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.
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.
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)
Comments
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
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!!!
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
still can't fixed??
Hi
Can you kindly share the latest admintools-dbadmin.log so that we can help you further?
Thanks
Rahul
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.
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)
This is interesting
Jun 24 08:33:06 [9550] [isOkToRun] owner of admintools.conf (dbauser) is root.
Can you check ownership of admintools.conf.