Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
11027 Ansichten

when I try from base management it says:

Could not drop database !

and when I try to drop via terminal:

dropdb: database removal failed: ERROR:  database "database" is being accessed by other users
DETAIL:  There are 4 other session(s) using the database.

I can drop other databases, but not the one I need to drop

any other possibilities?

Avatar
Verwerfen
Beste Antwort

Restarting the server may not fix this. If a user is logged into PostgreSQL, then restarting Odoo won't disconnect them. A better answer would be to restart PostgreSQL and try again.

Avatar
Verwerfen
Beste Antwort

Restart the service ( /etc/init.d/openerp-server restart) and immediately try again. If you are going to drop the database from commandline, then you can completely stop the OpenERP server and then try again.

Avatar
Verwerfen

Ray Carnes Thank you. Helped me too. I restarted postgresql.

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Nov. 22
2088
0
März 15
4307
0
Feb. 25
717
2
Nov. 24
4736
2
Okt. 24
1951