I always do:

su - postgres

psql -U postgres -d engine


----- Original Message -----
> From: "Adam Verslype" <versl...@gmail.com>
> To: users@ovirt.org
> Sent: Sunday, February 14, 2016 5:50:21 PM
> Subject: [ovirt-users] Can't fine engine postgres password
> 
> Hi,
> 
> After deploying hosted engine using the hosted-engine-appliance I need to
> run the unlock_entity utility on the engine vm to unlock a disk that's
> stuck.  So I ssh on the vm and run:
> 
> sudo PGPASSWORD=xxxxxxxxx ./unlock_entity.sh -t disk -u engine -q
> psql: FATAL:  password authentication failed for user "engine"
> FATAL: Cannot execute sql command: --file=./unlock_entity.sql
> where xxxxxxxxx is the password I supplied for everything during
> deployment.  Does it have a different password that came with the
> appliance?  Is this documented somewhere?
> 
> Thanks,
> 
> Adam Verslype
> 
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to