Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Web Help Desk (WHD) > Backup Failed: Backup command returned exit code 1

Backup Failed: Backup command returned exit code 1

Table of contents

Updated: November 3, 2016

Overview

The following error displays when clicking Backup Now in Web Help Desk Backup:

Backup command returned exit code 1:

pg_dump: [archiver (db)] connection to database "whd" failed: could not connect to server: Connection refused (0x0000274D/10061)

Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

Environment

WHD version 12.4

Steps

1. Verify if the database is running on PostgreSQL Embedded.

2. Check postgresql.conf if listen_addresses and port are commented (with #).

3. If not, edit postgresql.conf and verify that it is commented by adding # before listen_addresses and port.

4. Check the port assigned for whd.db.port in the .whd.properties file and verify that:

  • If the database is external postgresql, the port is 5432.
  • If the database is PostgreSQL Embedded, the port is 20293.

5. Create a backup of .whd.properties.

6. Stop the Web Help Desk service. Refer to Stop and start Web Help Desk.

7. Edit .whd.properties as per step 4 and save.

8. Start Web Help Desk.

9. Create a backup.

 

 

Last modified
14:06, 12 Jul 2017

Tags

Classifications

Public