Data Loss Prevention

 View Only
Expand all | Collapse all

Return code meaning

  • 1.  Return code meaning

    Posted Mar 09, 2015 02:21 AM

    Hello all , when we are doing the installation or upgrade and then for some reasons if it is not completed succuesfully and if we see in the log file to identify the reason for failure , then for certian components we see diffrent return codes if it is adding or removing the component. Please help me to understand as what does rthe below return code means is it a SUCCUES  or FAILURE ?

     

    What does return code 0 mean ? " Succuess or failure "

    What does return code/value 1 mean ? " Succuess or failute " 

    Regards



  • 2.  RE: Return code meaning

    Posted Mar 09, 2015 02:28 AM

    Where you see mention return code ?

    If installation are failed both return code showing failure

    you need to check sep_inst.log file for installation failed reason



  • 3.  RE: Return code meaning

    Posted Mar 09, 2015 02:30 AM

    I was doing the upgrade for DLP agents and on few agents it failed the upgrade. Now if I see the log file to identify the cause , for diffrent components it is doing some  action i.e removing etc etc and for each action it is returning a value i.e 0 and 1

    I want to know that 0 and 1 means a succues or failure ? 

     

    Action ended 13:41:35: BackupExistingDatabaseFiles. Return value 1.

    Action start 13:41:35: RemoveExistingProducts.

    Action ended 13:41:35: RemoveExistingProducts. Return value 0.

    Action start 13:41:35: InstallInitialize.

    Action ended 13:41:35: InstallInitialize. Return value 1.

    Action start 13:41:35: ProcessComponents.

    Action ended 13:41:35: ProcessComponents. Return value 1.

    Action start 13:41:35: UnpublishComponents.

    Action ended 13:41:35: UnpublishComponents. Return value 0.

    Action start 13:41:35: UnpublishFeatures.

    Action ended 13:41:35: UnpublishFeatures. Return value 1.

    Action start 13:41:35: StopServices.

    Action ended 13:41:35: StopServices. Return value 1.

    Action start 13:41:35: DeleteServices.

    Action ended 13:41:35: DeleteServices. Return value 1.

    Action start 13:41:35: CleanupFiles.

    Action ended 13:41:36: CleanupFiles. Return value 1

     

    Regards



  • 4.  RE: Return code meaning

    Posted Mar 09, 2015 02:33 AM

    What does return code 0 mean ? " Succuess "

    What does return code/value 1 mean ?  failure 



  • 5.  RE: Return code meaning

    Posted Mar 09, 2015 02:34 AM

    ok you asking related to DLP.

    above you are mention SEP 12.x



  • 6.  RE: Return code meaning

    Posted Mar 09, 2015 02:36 AM

    ITs regarding DLP agent



  • 7.  RE: Return code meaning

    Posted Mar 09, 2015 02:46 AM
    So what you are saying is return code 0 means it is a success and return code 1 means it is a failure ?


  • 8.  RE: Return code meaning

    Posted Mar 09, 2015 02:53 AM
    So what you are saying is return code 0 means it is a success and return code 1 means it is a failure ?


  • 9.  RE: Return code meaning

    Posted Mar 09, 2015 03:24 AM

    Here in this case return value 1 means action completed successfully

    Return value  0 means, no action required.

    for ex: 

    Action start 13:41:35: RemoveExistingProducts.

    Action ended 13:41:35: RemoveExistingProducts. Return value 0 ( its 0 becuase there is no existing product to be removed, if there was an existing product then it will be removed and return value would be 1) 

     



  • 10.  RE: Return code meaning

    Posted Mar 09, 2015 03:31 AM

    So rafeeq what I am understading is return code 1 means that action it tried to perform or complete was completed succuesfully ? right ?



  • 11.  RE: Return code meaning

    Posted Mar 09, 2015 04:37 AM

    Yes, 

     



  • 12.  RE: Return code meaning

    Broadcom Employee
    Posted Mar 09, 2015 09:15 AM

    Hi Outrageous,

    Comparison operations result in a value of 1 (TRUE), 0 (FALSE), or NULL.