diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 77ae7cb43..c1acc43c9 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -800,6 +800,15 @@ sub plugin_command { close $parfd; $check_fds->add($pfd); } + } else { + my $pm_name = $plugins_dir."/".$modname.".pm"; + foreach my $node (keys %{$handler_hash{$_}}) { + if ($sock) { + print $sock XMLout({node=>[{name=>[$node],data=>["Cannot find the perl module to complete the operation: $pm_name"],errorcode=>[1]}]},NoAttr=>1,RootName=>'xcatresponse'); + } else { + $callback->({node=>[{name=>[$node],data=>["Cannot find the perl module to complete the operation: $pm_name"],errorcode=>[1]}]}); + } + } } } unless ($sock) { return $Main::resps };