Salesforce backup and restore for data, files and metadata
Post Reply
CK_9
Novice
Posts: 3
Liked: never
Joined: Feb 01, 2023 2:24 pm
Full Name: Can D. Kara
Contact:

After Installation can't connect to PostgreSQL

Post by CK_9 »

Hi,

when installing Veeam Backup for Salesforce i install everything like written in the user guide.
Everything works until i have to connect to the PostgreSQL Database-Step.
It says Unable to connect to Database. Please check your server address localhost.

It can't resolve the localhost ? 127.0.0.1, DNS-Name and IP also not working
PaloAlto Firewall doesn't block anything and CentOS firewall is already disabled for this step.

Is there any solution or ideas to this?

Best regards
real CK9
skitch210
VeeaMVP
Posts: 91
Liked: 25 times
Joined: Nov 16, 2015 9:42 pm
Full Name: Marty Williams
Contact:

Re: After Installation can't connect to PostgreSQL

Post by skitch210 »

Are you using a local install of PostgreSQL? or remote?
Mike Resseler
Product Manager
Posts: 8189
Liked: 1320 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: After Installation can't connect to PostgreSQL

Post by Mike Resseler »

@CK_9 You cannot ping 127.0.0.1? Do you have an IP which is not 169...? I would guess from this that there is an issue in the networking part of that server. Can the server ping other servers in your network?
CK_9
Novice
Posts: 3
Liked: never
Joined: Feb 01, 2023 2:24 pm
Full Name: Can D. Kara
Contact:

Re: After Installation can't connect to PostgreSQL

Post by CK_9 »

I used the Veeam installation script, which includes the PostgreSQL.
It seems that the server did not has any PostgreSQL services running after successful installation and beeing already in the Web UI.
CK_9
Novice
Posts: 3
Liked: never
Joined: Feb 01, 2023 2:24 pm
Full Name: Can D. Kara
Contact:

Re: After Installation can't connect to PostgreSQL

Post by CK_9 »

PostgreSQL did not download and install the package, we oversaw that.
It just didn't exist. we now ran it again and PostgreSQL was installed and connected.

The script just didn't point it out and said "... PostgreSQL was configured successfully."
MIvanov
VP, Product Management
Posts: 276
Liked: 77 times
Joined: Dec 12, 2008 2:39 pm
Full Name: Maxim
Contact:

Re: After Installation can't connect to PostgreSQL

Post by MIvanov »

Thanks for reporting!

What is the distro you are running?
salmawisoky
Lurker
Posts: 2
Liked: never
Joined: Sep 13, 2023 12:16 pm
Full Name: salmawisoky
Contact:

Re: After Installation can't connect to PostgreSQL

Post by salmawisoky »

Review the PostgreSQL configuration files to ensure that the server is listening on the correct IP address and port. By default, PostgreSQL listens on localhost (127.0.0.1) and port 5432. If you have modified these settings, ensure they are correctly configured.
salmawisoky
Lurker
Posts: 2
Liked: never
Joined: Sep 13, 2023 12:16 pm
Full Name: salmawisoky
Contact:

Re: After Installation can't connect to PostgreSQL

Post by salmawisoky »

Ensure that the PostgreSQL server is installed and running correctly on your CentOS system. Check that the PostgreSQL service is running and listening on the expected port (default is 5432).
Drift Boss
alex90
Lurker
Posts: 1
Liked: never
Joined: Sep 28, 2023 2:17 pm
Full Name: Alex Mahone
Contact:

Re: After Installation can't connect to PostgreSQL

Post by alex90 »

Same issue,any proper solution?
MIvanov
VP, Product Management
Posts: 276
Liked: 77 times
Joined: Dec 12, 2008 2:39 pm
Full Name: Maxim
Contact:

Re: After Installation can't connect to PostgreSQL

Post by MIvanov »

There is one known issue and in the console log you can see the following line
"/opt/vbsf/server-configuration.sh: line 258: bc: command not found"

We've seen this with RHEL 8.8
Next build will have this fixed in the script. Meanwhile, you can either choose another OS or install BC manually

Code: Select all

sudo yum install bc

Once installed, run the installation script once again. PostgreSQL should be installed fine. Let me know if this worked
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest