0

I am logged in to a server and trying to restart pgbouncer.

$ /sbin/service pgbouncer restart
Stopping pgbouncer service:                                [FAILED]
pgbouncer already running                                  [FAILED]

When I call for pgbouncer status I get:

$ /sbin/service pgbouncer status
pgbouncer dead but subsys locked

Anyone know how I can properly restart pgbouncer?

ThatGraemeGuy
  • 15,314
  • 12
  • 51
  • 78
hackg
  • 3
  • 1
  • 2

1 Answers1

1

Look for a .pid in /var/run/ and /var/lock/subsys/ for pgbouncer and delete them. Then you should be able to restart it correctly.

Nathan C
  • 14,901
  • 4
  • 42
  • 62