Informix backup failed with a status code 6 error with the infxbsa log reported "bprd_connect: errno = 13 - Permission denied"

  • Modified Date:
  • Article ID:000083009

Problem

Informix backup failed, status code: 6.

bphdb debug log reported:

14:13:51.746 [3101] <4> bphdb sync_server: INF - BACKUP START
14:13:51.933 [3101] <4> bphdb sync_server: INF - CONTINUE BACKUP message received.
14:13:51.933 [3101] <2> bphdb get_filelist: INF - Read filename: </home/db/informix/BKB_Scripts/infx-ser1-whole-hotbkp.sh>
14:13:51.933 [3101] <2> bphdb get_filelist: INF - Read filename: <CONTINUE>
14:13:51.933 [3101] <4> bphdb do_backup: INF - Processing /home/db/informix/BKB_Scripts/infx-ser1-whole-hotbkp.sh
14:13:51.935 [3101] <4> bphdb keepalive_timeout: INF - bphdb still working.
14:13:51.935 [3101] <2> bphdb keepalive_timeout: INF - bphdb- Sending a keepalive.
14:13:51.936 [3101] <4> bphdb do_backup: INF - Keepalives will be sent every 900 seconds.
14:13:51.936 [3101] <4> bphdb do_backup: INF - Waiting for the child status.
14:13:51.936 [3102] <4> bphdb do_backup: INF - Child executing /home/db/informix/BKB_Scripts/infx-ser1-whole-hotbkp.sh
14:14:08.903 [3101] <16> bphdb do_backup: ERR - Script exited with status = 3 <valid archive image produced, but no files deleted due to non-fatal problems>
14:14:08.903 [3101] <16> bphdb Exit: ERR - bphdb exit status = 6: the backup failed to back up the requested files

14:14:08.904 [3101] <4> bphdb Exit: INF - EXIT STATUS 6: the backup failed to back up the requested files

 

infxbsa debug log reported:

14:14:02.521 [3122] <2> bprd_connect: Cannot connect to server NBUMASTER automatically: 11
14:14:02.521 [3122] <2> bprd_connect: Cannot connect to server NBUMASTER
14:14:02.521 [3122] <2> bprd_connect:    errno = 13 - Permission denied
14:14:02.521 [3122] <2> bprd_get_features: bprd_connect(NBUMASTER) failed, cannot connect on socket (25)
14:14:02.521 [3122] <8> bsa_checkFeatureId: bprd_get_features() failed, retrying
14:14:02.521 [3122] <2> vnet_cached_gethostbyname: vnet_hosts.c.299: host in failed cache: NBUMASTER
14:14:02.521 [3122] <2> vnet_cached_gethostbyname: vnet_hosts.c.300: Function failed: 5 0x00000005
14:14:02.521 [3122] <2> vnet_init_connect_rec: vnet_vnetd.c.3679: vnet_cached_gethostbyname failed: 5 0x00000005
14:14:02.521 [3122] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3554: vnet_init_connect_rec failed: 5 0x00000005
14:14:02.521 [3122] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 5
14:14:02.521 [3122] <2> bprd_connect: Cannot connect to server NBUMASTER automatically: 11
14:14:02.521 [3122] <2> bprd_connect: Cannot connect to server NBUMASTER
14:14:02.521 [3122] <2> bprd_connect:    errno = 13 - Permission denied
14:14:02.521 [3122] <2> bprd_get_features: bprd_connect(NBUMASTER) failed, cannot connect on socket (25)
14:14:02.521 [3122] <16> bsa_checkFeatureId: unable to check if feature <37> is licensed
14:14:02.521 [3122] <16> bsa_checkFeatureId: Server exit status = 25: cannot connect on socket
14:14:02.521 [3122] <16> VxBSAInit: ERR - The license for the requested feature is not available.
14:14:02.521 [3122] <4> VxBSAGetEnv: INF - entering GetEnv - NBBSA_DEBUGFD
14:14:02.521 [3122] <4> VxBSAGetEnv: INF - returning - 8
 

Error Message

bphdb Exit: ERR - bphdb exit status = 6: the backup failed to back up the requested files

errno = 13 - Permission denied.

bprd_get_features: bprd_connect(NBUMASTER) failed, cannot connect on socket (25)
 

Solution

In this case, the issue resolved with adding read permission  for /etc/hosts to the Informix user.

 

 

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)