cancel
Showing results for 
Search instead for 
Did you mean: 

PEM installation

Adventurer

PEM installation

Hi Team,

 

I have done the PEM installation but not able to configure client on the DB server which can communicate to PEM and get monitored.

Can anyone help on this.

Thanks,

Sandeep

4 REPLIES 4
Moderator

Re: PEM installation

Yes Sandeep we sure can help. Can you give more details about where you are stuck and what are the environment variables (OS / PEM/ Database versions)

Adventurer

Re: PEM installation

Sure Amit..

I'll reply by tomorrow on this explaining the things in details.

One thing how to get notification in this forum when someone comments on my posts/questions?

 

Thanks,

Sandeep

Adventurer

Re: PEM installation

I got an issue on the PEM server:

psql connection was asking for password everytime.

I changed the connectivity to "TRUST" for all servers and databases in pg_hba.conf file but after that also same issue.

So I did:

alter role postgres password '';

and now not able to connect to psql at all.Can anyone please help on this.

After this I need to add database nodes to PEM.

 

Thanks,

Sandeep

 

Moderator

Re: PEM installation

@sandeepkandhway wrote:

I got an issue on the PEM server:

psql connection was asking for password everytime.

I changed the connectivity to "TRUST" for all servers and databases in pg_hba.conf file but after that also same issue.

So I did:

alter role postgres password '';

and now not able to connect to psql at all.Can anyone please help on this.

 


Hi Sandeep,

 

Unfortunately, you cannot simply change the password to '' in order to remove the password.  Instead, you will need to perform ALTER ROLE postgres WITH PASSWORD NULL

 

With regards to being asked for a password every time--have you tried using the PGPASSWORD environment variable, or storing that in .pgpass?

 

HTH,

--Richard