diff --git a/xCAT-client/bin/db2sqlsetup b/xCAT-client/bin/db2sqlsetup index c81789b1f..e4a5bf30a 100755 --- a/xCAT-client/bin/db2sqlsetup +++ b/xCAT-client/bin/db2sqlsetup @@ -745,7 +745,10 @@ sub setupinstance if ($::RUNCMD_RC != 0) { # if error exit xCAT::MsgUtils->message("E", " $cmd failed."); + # start the daemon + &startxcatd; exit(1); + } # setup instance