Forum Discussion

Harry_NBAD's avatar
Harry_NBAD
Level 4
11 years ago

"EXIT STATUS 25: cannot connect on socket" while initiating a restore.

I am facing this issue as I am initiating this restore and receiving the following error:

"EXIT STATUS 25: cannot connect on socket"

I looked upon the bplogs for the restore script but couldn't find anything.

Please suggest, it's urgent.

 

Thanks in Advance!!!

Regards,

Harmanpreet Singh

  • In my bprestore script there was a typo error.

    Yes! Any typo error will cause a failure!
    As you have experienced -S wrong-name produced status 25.
    -C wrong-name will cause status 227 (no entity found).
    -D wrong-name will cause some sort of connection error. Probably 'Client hostname not found' (status 48). 

    -S  -C and -D are REALLY optional switches.

    Without -S bprestore will use 1st entry in bp.conf to know where to send restore request to.

    Without -C bprestore will request restore for local hostname (CLIENT_NAME in bp.conf)

    Without -D bprestore will automatically perform local restore.

    See bprestore command usage: http://www.symantec.com/docs/HOWTO43687

    ANYTHING in square brackets is optional.

    bprestore [-A | -B] [-K] [-l | -H | -y] [-r] [-T] [-L progress_log [-en]] [-R rename_file] [-C client] [-D client] [-S master_server] [-disk_media_server media_server][-t policy_type] [-ppolicy] [-k "keyword_phrase"] [-cm] [-drs] [-md] [-dd] [-td temp_dir] [-s date] [-e date] [-Ffile_options] [-spsredir_server hostname] [-spscurver] [-spsignorelock] [-spspreserveiis] [-spsrestoresecurity] [-spsverkeep [0 | 1 | 2]] [-vhd_fn VHD_filename] [-vhd_type 0 | 1] [-vhd_dsizeVHD_disk_size] [-vhd_dof 0 | 1] -BR portal_name | teamsite_name] [-copycopy_number] [-granular_restore] [-priority number] [-w [hh:mm:ss]] -flistfile | filenames [-ev_migrated_data]