Druva Phoenix Oracle PBS shows disconnected on the Phoenix console after the reboot
Problem description
- Oracle PBS server shows disconnected on the Phoenix console after reboot.
- Command #ps -ef | grep -i Phoenix shows only 1 search process, this means the service PBS Backupstore is not running.
Cause
Format change\Spaces found in the /etc/exports file.
Traceback
Main_Service.log shows
[INFO] Failed to poll REST Server. Retrying in 5 seconds...
[ERROR] Error <class 'requests.exceptions.ConnectionError'>:HTTPConnectionPool(host='0.0.0.0', port=9090): Max retries exceeded with url: /druva-phoenix/v1/hello (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd85f79e850>: Failed to establish a new connection: [Errno 111] Connection refused',)). Traceback -Traceback (most recent call last):
File "__main__PhoenixBackupStore__.py", line 61, in wait_for_export_service
[ERROR] Failed to start Export Service REST Server. Aborting Phoenix Oracle Client.
export_service.log
AttributeError: 'NoneType' object has no attribute 'group'
[INFO] Pool Name:Phoenix, Pool path:/Phoenix, mounts base path:/mnt/uploads, restores_base_path:/mnt/restores
Initializing FSID manager...
Resolution
Remove the unwanted spaces from the /etc/exports file and restart the PhoenixBackupStore service.
Steps to remove the spaces from /etc/exports file.
- Make a copy of the file.
cp /etc/exports /etc/exports_orig
check if a new backup file is created /etc/exports_orig
If not, then create it first.
- Run the below commands to find and replace the spaces.
# sed "/^\//s/ [ ]*/ /g" /etc/exports
If the above commands run fine, only then run below command.
# sed -i "/^\//s/ [ ]*/ /g" /etc/exports
- Restart the PBS store Service.
# service PhoenixBackupStore restart
Once the above steps are done, you will see the PhoenixBackupStore service running and the client will show connected on the Phoenix console.