I stopped all processes by doing.

    1. /etc/init.d/cloudera-scm-agent stop (successful)
    2. /etc/init.d/cloudera-scm-server stop (was never started successfully
    to begin with)
    3. /etc/init.d/cloudera-scm-server-db stop (could not shutdown, so I did
    kill -9 on the process id)

The cleaned up left over pid's
rm /var/lib/cloudera-scm-server-db/data/postmaster.pid

Then rebooted my cluster.
restarted all services, /etc/init.d/cloudera-scm-server start still fails
to come up w/ same errors.
psql: FATAL: the database system is shutting down

Anything else to try ? Not sure what's going on here.

On Wednesday, April 16, 2014 11:11:58 AM UTC-7, Julio Solis Jr. wrote:

Trying to start cloudera server but fails with postgres errors.

# /etc/init.d/cloudera-scm-
server start
Starting cloudera-scm-server: [ OK ]

Then shortly after status indicates server dead.

# /etc/init.d/cloudera-scm-server status
cloudera-scm-server dead but pid file exists

cloudera-scm-server.log reveals: Any ideas or help ?

2014-04-15 13:34:19,847 WARN
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@707ffa54 --
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 (30). Last acquisition attempt
org.postgresql.util.PSQLException: FATAL: the database system is starting

2014-04-15 13:34:19,849 WARN [main:spi.SqlExceptionHelper@143] SQL Error:
0, SQLState: null
2014-04-15 13:34:19,850 ERROR [main:spi.SqlExceptionHelper@144]
Connections could not be acquired from the underlying database!
2014-04-15 13:34:19,854 ERROR
[main:bootstrap.EntityManagerFactoryBean@154] Unable to upgrade schema to
latest version.
org.hibernate.exception.GenericJDBCException: Could not open connection

Running psql from command line also reveals fatal message:
# psql -h localhost -p 7432 -U scm
psql: FATAL: the database system is shutting down

Any idea why postgres would suddenly have issues ? I have not even touched
anything lately.
Thanks. Julio.
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupscm-users @
postedApr 16, '14 at 6:12p
activeApr 16, '14 at 10:15p

2 users in discussion

Julio Solis Jr.: 2 posts Darren Lo: 2 posts



site design / logo © 2022 Grokbase