diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index ce84709ee..79f655f72 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -2080,6 +2080,11 @@ sub mksysclone if($retcode!=0){ my $rc = xCAT::Utils->startservice("systemimager-server-rsyncd"); if ($rc != 0) { + $callback->( + {error => ["systemimager-server-rsyncd start unsuccessfully. please check if there is rsync service already run in your s +erver, if so, stop it first and try again"], + errorcode => [1]} + ); return 1; } } diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 032df544e..1cf90e08d 100755 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -1587,6 +1587,11 @@ sub mksysclone if($retcode !=0){ my $rc = xCAT::Utils->startservice("systemimager-server-rsyncd"); if ($rc != 0) { + $callback->( + {error => ["systemimager-server-rsyncd start unsuccessfully. please check if there is rsync service already run in your s +erver, if so, stop it first and try again"], + errorcode => [1]} + ); return 1; } }