Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloudera-scm-server not starting #58

Open
sorabhj opened this issue Feb 27, 2017 · 1 comment
Open

cloudera-scm-server not starting #58

sorabhj opened this issue Feb 27, 2017 · 1 comment

Comments

@sorabhj
Copy link

sorabhj commented Feb 27, 2017

Hello ,

Using setup-master.sh , its failing at below step :
_+ sudo service cloudera-scm-server-db start
Creating SCM configuration file: /etc/cloudera-scm-server/db.properties
waiting for server to start...............................................................could not start server
Could not start database server, giving up

  • sudo service cloudera-scm-server start
    Starting cloudera-scm-server: [ OK ]
  • sudo sed -i.bak $'-es%server_host=localhost%server_host=indlin2394.corp.amdocs.com\nindlin2394%' /etc/cloudera-scm-agent/config.ini
    sed: -e expression Issue with creation of Zookeeper service #1, char 62: unterminated `s' command
  • sudo service cloudera-scm-agent start
    Starting cloudera-scm-agent: [ OK ]_

cloudera-scm-server is not coming UP .
Logs attached herewith .
Logs&Files.zip

i am using below python version .
[root@indlin2394 cloudera-scm-server]# python -V
Python 2.7.13

Kindly help .

@skvenkat
Copy link

skvenkat commented Mar 23, 2017

@sorabhj,

You have used mysql as external database for cloudera manager and seems like it wasn't configured properly as per the error messages in the cloudera-scm-server.log :

2017-02-22 15:45:23,508 WARN com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@42c5d9ca -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Make sure you can access mysql server from localhost and remote host. If you can, then refer the following link to ensure any other possibilities cause the error :
http://stackoverflow.com/a/2985169/2383136

Note: Disable IPv6 on the mysql server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants