diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index a9dd0f2cc..87ac2c56b 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -113,9 +113,9 @@ use Sys::Syslog qw(:DEFAULT setlogsock); openlog("xcatd",,"local4"); # turn off warnings for call to setlogsock. puts out warning message if # syslog tcp port not defined in /etc/services. this can safely be ignored. -no warnings qw(Sys::Syslog); +no warnings; setlogsock(["tcp","unix","stream"]); -use warnings qw(Sys::Syslog); +use warnings; use xCAT::NotifHandler; use xCAT_monitoring::monitorctrl;