<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Unable to verify database connection in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/50023#M319</link>
    <description>&lt;P&gt;I'm facing these exact problem, however placing the servers in diferent nodes didn't solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can spot on the&amp;nbsp;cloudera-scm-agent.log the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;[26/Jan/2017 19:29:53 +0000] 6579 MainThread agent ERROR Failed to activate {u'refresh_files': [], u'config_generation': 0, u'auto_restart': False, u'running': True, u'required_tags': [], u'one_off': True, u'special_file_info': [], u'group': u'root', u'id': 31, u'status_links': {}, u'name': u'MGMT.REPORTSMANAGER-test-db-connection', u'extra_groups': [], u'run_generation': 1, u'start_timeout_seconds': None, u'environment': {}, u'optional_tags': [], u'program': u'dbconnection/test_db_connection.sh', u'arguments': [u'db.properties'], u'parcels': {}, u'resources': [], u'user': u'root'}&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/agent.py", line 1682, in handle_heartbeat_processes&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;new_process.update_heartbeat(raw, True)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/process.py", line 282, in update_heartbeat&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;self.fs_update()&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/process.py", line 383, in fs_update&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;raise Exception("Non-root agent cannot execute process as user '%s'" % user)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Exception: Non-root agent cannot execute process as user 'root'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any change that someone knows how to solve it?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 19:35:14 GMT</pubDate>
    <dc:creator>markelhas</dc:creator>
    <dc:date>2017-01-26T19:35:14Z</dc:date>
    <item>
      <title>Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/1899#M316</link>
      <description>&lt;P&gt;trying to install for the 1st time, cloudera-manager-installer.bin runs without issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i go to the web interface &amp;amp; get through several pages taking all the defaults, &amp;amp; then reach database-setup where i'm stuck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the activity/service/host monitors are all checked &amp;amp; a random 1 always works, but the other 2 complain with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;&lt;SPAN&gt;Unexpected error. Unable to verify database connection&lt;/SPAN&gt;&lt;/STRONG&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i back up a page a change my role assignments to move the major functions to a different server than the 1 i'm instlaling from i can get 2 of the montiors to work with only 1 failure, again a the failure is from a random monitor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i've uninstalled/reinstalled multiple times trying various perturbations prior to the database-setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my hostname is the FQDN &amp;amp; /etc/hosts is in the formant of:&amp;nbsp; IP FQDM HOSTNAME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/etc/cloudera-scm-server/db.mgmt.properties uses FQDM for the 3 monitors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my OS is rhel6.4 with all latest updates&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lsof shows postgres listening to port 7432 on all interfaces&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2013 15:06:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/1899#M316</guid>
      <dc:creator>jakespeed</dc:creator>
      <dc:date>2013-09-30T15:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/1903#M317</link>
      <description>&lt;P&gt;&lt;IMG border="0" src="https://community.cloudera.com/t5/image/serverpage/image-id/83i8381F4BC92E836D9/image-size/original?v=mpbl-1&amp;amp;px=-1" align="middle" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2013 15:13:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/1903#M317</guid>
      <dc:creator>jakespeed</dc:creator>
      <dc:date>2013-09-30T15:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/1965#M318</link>
      <description>&lt;P&gt;resolved by changing the default of placing all 3 monitors on the install server to placing them on 3 separate servers in the cluster other than the install server&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 12:21:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/1965#M318</guid>
      <dc:creator>jakespeed</dc:creator>
      <dc:date>2013-10-02T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/50023#M319</link>
      <description>&lt;P&gt;I'm facing these exact problem, however placing the servers in diferent nodes didn't solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can spot on the&amp;nbsp;cloudera-scm-agent.log the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;[26/Jan/2017 19:29:53 +0000] 6579 MainThread agent ERROR Failed to activate {u'refresh_files': [], u'config_generation': 0, u'auto_restart': False, u'running': True, u'required_tags': [], u'one_off': True, u'special_file_info': [], u'group': u'root', u'id': 31, u'status_links': {}, u'name': u'MGMT.REPORTSMANAGER-test-db-connection', u'extra_groups': [], u'run_generation': 1, u'start_timeout_seconds': None, u'environment': {}, u'optional_tags': [], u'program': u'dbconnection/test_db_connection.sh', u'arguments': [u'db.properties'], u'parcels': {}, u'resources': [], u'user': u'root'}&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/agent.py", line 1682, in handle_heartbeat_processes&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;new_process.update_heartbeat(raw, True)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/process.py", line 282, in update_heartbeat&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;self.fs_update()&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/process.py", line 383, in fs_update&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;raise Exception("Non-root agent cannot execute process as user '%s'" % user)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Exception: Non-root agent cannot execute process as user 'root'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any change that someone knows how to solve it?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:35:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/50023#M319</guid>
      <dc:creator>markelhas</dc:creator>
      <dc:date>2017-01-26T19:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/52660#M320</link>
      <description>&lt;P&gt;same issue facing any solution found&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2017 01:40:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/52660#M320</guid>
      <dc:creator>adminzeeshan</dc:creator>
      <dc:date>2017-03-26T01:40:22Z</dc:date>
    </item>
  </channel>
</rss>

