Running sdesetup on  other database port than default

Discussion created by amichor on Dec 12, 2013
Latest reply on Dec 12, 2013 by atalarczyk
I have  v.10 ArcSDE on PostgreSQL 8.3 runing on SUSE 64bit.
Firts instance database running on default port 5432
Second instance database running on port 5532
When I wont to register database on second instance
sdesetup -o install -d POSTGRESQL -u sde -D database -l /home/sde/keycodes  -i sde:postgresql:;PGPORT=5532:schema
Show error:
ESRI ArcSDE Server Setup Utility Thu Dec 12 11:31:34 2013
Connection to database 'database' failed.
Connection to test failed(0)
Error creating ArcSDE direct connection (-162)

Does anyone have an idea to solve the problem ?
Thanks to all,