Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

cloudera-scm-server-db start returns 'could not create lock file...Permission denied'

avatar
New Contributor

sudo service cloudera-scm-server-db start returns an error:
    pg_ctl: could not start server

 

/var/log/cloudera-scm-server/db.log shows:

    FATAL:    "/var/run/postgresql/.s.PGSQL.7432.lock": Permission denied

 

If postgresql is started independantly, it starts ok. Only when it is started as a part of CM, it returns the above error.

 

Any idea?

Who agreed with this topic