diff --git a/xCAT/postscripts/addsiteyum b/xCAT/postscripts/addsiteyum index a93b69158..af73bfa2f 100755 --- a/xCAT/postscripts/addsiteyum +++ b/xCAT/postscripts/addsiteyum @@ -1,6 +1,7 @@ #!/bin/sh cd `dirname $0` if [ ! -d repos/$OSVER/$ARCH ]; then + logger -t xcat "repos/$OSVER/$ARCH is not a directory" exit; fi for i in repos/$OSVER/$ARCH/* diff --git a/xCAT/postscripts/aixremoteshell b/xCAT/postscripts/aixremoteshell index b084e4d7d..69c0dd964 100755 --- a/xCAT/postscripts/aixremoteshell +++ b/xCAT/postscripts/aixremoteshell @@ -47,11 +47,17 @@ $home = $root[5]; $rc = &runcmd("chown root $home"); if ($rc != 0) { + my $msg = "It fails to chown root $home"; + if (defined($logenable)) { + `logger -t xcat $msg`; + } exit 1; } $rc = &runcmd("chgrp system $home"); if ($rc != 0) { + my $msg = "It fails to chgrp system $home"; + `logger -t xcat $msg`; exit 1; } diff --git a/xCAT/postscripts/allowcred.awk b/xCAT/postscripts/allowcred.awk index 341138d3e..a3d087500 100755 --- a/xCAT/postscripts/allowcred.awk +++ b/xCAT/postscripts/allowcred.awk @@ -3,7 +3,7 @@ BEGIN { listener = "/inet/tcp/300/0/0" quit = "no" - + print $0 | "logger -t xcat" while (match(quit,"no")) { while ((listener |& getline) > 0) { if (match($0,"CREDOKBYYOU?")) { diff --git a/xCAT/postscripts/confGang b/xCAT/postscripts/confGang index 04fb87b3b..b93c86f92 100755 --- a/xCAT/postscripts/confGang +++ b/xCAT/postscripts/confGang @@ -2,8 +2,10 @@ #get IP address of MS OS=`uname` echo "the OS is $OS" +logger -t xCAT "the OS is $OS" ms_ip=$MONMASTER -echo "hi is $ms_ip" +echo "MS IP is $ms_ip" +logger -t xCAT "the MS is $ms_ip" result=`ping -c1 $MONMASTER 2>&1` if [ $? -eq 0 ]; then index1=`expr index "$result" "\("` @@ -15,11 +17,12 @@ result=`ping -c1 $MONMASTER 2>&1` ms_ip=`expr substr "$result" $pos $length` echo final is $ms_ip else - logger xCAT "Gangliamon setup" + logger -t xCAT "Gangliamon setup" fi CLUSTER=\"$MONSERVER\" echo "cluster is $CLUSTER" +logger -t xCAT "cluster is $CLUSTER" MASTER=$ms_ip #echo "The new IP is: $NEW_IP" #echo "I will replace now.... @@ -28,8 +31,10 @@ gmond_conf_old="/etc/gmond.conf" if [ $OS == "AIX" ]; then echo "into AIX loop" + logger -t xCAT "into AIX loop" if [ -f $gmond_conf_old ]; then echo "ganglia version 3.0.7" + logger -t xCAT "ganglia version 3.0.7" grep "xCAT gmond settings done" $gmond_conf_old if [ $? -gt 0 ]; then /bin/cp -f $gmond_conf_old /etc/gmond.conf.orig @@ -48,8 +53,10 @@ gmond_conf_old="/etc/gmond.conf" if [ $OS == "AIX" ]; then echo "into AIX new loop" + logger -t xCAT "into AIX new loop" if [ -f $gmond_conf ]; then echo "ganglia version v3.10" + logger -t xCAT "ganglia version v3.10" grep "xCAT gmond settings done" $gmond_conf if [ $? -gt 0 ]; then /bin/cp -f $gmond_conf /etc/ganglia/gmond.conf.orig @@ -71,6 +78,7 @@ gmond_conf_old="/etc/gmond.conf" if [ $OS != "AIX" ]; then echo "not AIX" + logger -t xCAT "not AIX" if [ -f $gmond_conf ]; then grep "xCAT gmond settings done" $gmond_conf if [ $? -gt 0 ]; then @@ -89,6 +97,7 @@ gmond_conf_old="/etc/gmond.conf" if [ $OS != "AIX" ]; then echo "not AIX" + logger -t xCAT "not AIX" if [ -f $gmond_conf_old ]; then grep "xCAT gmond settings done" $gmond_conf_old @@ -107,12 +116,14 @@ fi if [ ! -f $gmond_conf ]; then # echo "file not found" - logger -t gmonfail "gmond configuration file not found" + logger -t gmonfail "gmond configuration file not found" + logger -t xCAT "gmond configuration file not found" fi if [ ! -f $gmond_conf_old ]; then # echo "file not found" logger -t gmonfail "gmond configuration file not found" + logger -t xCAT "gmond configuration file not found" fi exit 0 diff --git a/xCAT/postscripts/enabledebug b/xCAT/postscripts/enabledebug index 2ace1bdb1..0de5a7ff6 100755 --- a/xCAT/postscripts/enabledebug +++ b/xCAT/postscripts/enabledebug @@ -3,7 +3,7 @@ #egan@us.ibm.com #(C)IBM Corp # - +echo "$0: the OS version is $OSVER" | logger -t xcat case $OSVER in sles*|suse*|ul*) perl -pi -e 's/^KERNEL_LOGLEVEL=1/KERNEL_LOGLEVEL=8/' /etc/sysconfig/syslog diff --git a/xCAT/postscripts/getcredentials.awk b/xCAT/postscripts/getcredentials.awk index 43fc33b97..eb556d3ea 100755 --- a/xCAT/postscripts/getcredentials.awk +++ b/xCAT/postscripts/getcredentials.awk @@ -16,7 +16,7 @@ BEGIN { print "" |& server while (server |& getline) { - print $0 + print $0 | "logger -t xcat" if (match($0,"")) { quit = "yes" } diff --git a/xCAT/postscripts/getpostscript.awk b/xCAT/postscripts/getpostscript.awk index 76255f1f3..e4ac32455 100755 --- a/xCAT/postscripts/getpostscript.awk +++ b/xCAT/postscripts/getpostscript.awk @@ -15,7 +15,7 @@ BEGIN { print "" |& server while (server |& getline) { - print $0 + print $0 | "logger -t xcat" if (match($0,"")) { quit = "yes" } diff --git a/xCAT/postscripts/locallibs b/xCAT/postscripts/locallibs index b8f2c4f27..e77e5d1e3 100755 --- a/xCAT/postscripts/locallibs +++ b/xCAT/postscripts/locallibs @@ -18,6 +18,7 @@ ARCH=$(uname -m) DIRS="$LOCALDIR/goto/lib" +echo "$0: arch is $ARCH" | logger -t xcat case "$ARCH" in i686) DIRS="$DIRS $LOCALDIR/intel/$ARCH/lib" diff --git a/xCAT/postscripts/mkhyperv b/xCAT/postscripts/mkhyperv index 456dd6a7a..f58213a92 100755 --- a/xCAT/postscripts/mkhyperv +++ b/xCAT/postscripts/mkhyperv @@ -76,14 +76,17 @@ stop () { grep -q GenuineIntel /proc/cpuinfo && /sbin/modprobe -r kvm-intel grep -q AuthenticAMD /proc/cpuinfo && /sbin/modprobe -r kvm-amd } +logger -t xcat "KVM $1" case "\$1" in start) echo -n $"Starting KVM: " + logger -t xcat "Starting KVM:" start echo ;; stop) echo -n $"Shutting down KVM: " + logger -t xcat "Shutting down KVM:" stop echo ;; @@ -92,7 +95,9 @@ case "\$1" in ;; *) echo "Unknown command: \$1" >&2 + logger -t xcat "Unknown command: \$1" echo "Valid commands are: start, stop, status" >&2 + logger -t xcat "Valid commands are: start, stop, status" exit 1 esac EOF @@ -120,6 +125,7 @@ disconnect_targets() { iscsiadm -m node --logout } +logger -t xcat "iscsi $1" case "\$1" in start) connect_targets @@ -132,7 +138,9 @@ case "\$1" in ;; *) echo "Unknown command: \$1" >&2 + logger -t xcat "Unknown command: \$1" echo "Valid commands are: start, stop, status" >&2 + logger -t xcat "Valid commands are: start, stop, status" exit 1 esac EOF diff --git a/xCAT/postscripts/nfsmounts b/xCAT/postscripts/nfsmounts index 4c0b184c9..7f4530586 100755 --- a/xCAT/postscripts/nfsmounts +++ b/xCAT/postscripts/nfsmounts @@ -24,6 +24,7 @@ XCATFS=$MASTER:$XCATROOT logger -t xcat "Install: setup NFS mounts in fstab" +echo "$0: the OS version is $OSVER" | logger -t xcat case "$OSVER" in rhfc[23]) XOPTS=",nfsvers=2" diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index ccd123366..632626642 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -63,7 +63,9 @@ if [ $mounted -eq 0 ]; then fi echo NFSSERVER=$NFSSERVER +logger -t xcat "NFSSERVER=$NFSSERVER" echo OTHERPKGDIR=$OTHERPKGDIR +logger -t xcat "OTHERPKGDIR=$OTHERPKGDIR" #check if the node has yum or zypper installed, it will try yum first, then zypper and last rpm hasyum=0 @@ -220,15 +222,17 @@ if [ "$repo_pkgs_preremove" != "" ]; then if [ $hasyum -eq 1 ]; then echo "yum -y remove $repo_pkgs_preremove" result=`yum -y remove $repo_pkgs_preremove 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs: $result" + logger -t xcat "otherpkgs: $result" fi echo "$result" elif [ $haszypper -eq 1 ]; then echo "zypper remove -y $repo_pkgs_preremove" result=`zypper remove -y $repo_pkgs_preremove 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs: $result" + logger -t xcat "otherpkgs: $result" fi echo "$result" fi @@ -237,8 +241,9 @@ fi if [ "$plain_pkgs_preremove" != "" ]; then echo "rpm -ev $plain_pkgs_preremove" result=`rpm -ev $plain_pkgs_preremove 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs $result" + logger -t xcat "otherpkgs $result" fi echo "$result" fi @@ -249,15 +254,17 @@ if [ "$repo_pkgs" != "" ]; then if [ $hasyum -eq 1 ]; then echo "yum -y install $repo_pkgs" result=`yum -y install $repo_pkgs 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs: $result" + logger -t xcat "otherpkgs: $result" fi echo "$result" elif [ $haszypper -eq 1 ]; then echo "zypper install -y $repo_pkgs" result=`zypper install -y $repo_pkgs 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs: $result" + logger -t xcat "otherpkgs: $result" fi echo "$result" #remove the repos @@ -294,8 +301,9 @@ if [ "$plain_pkgs" != "" ]; then echo "rpm -Uvh --replacepkgs $plain_pkgs" result=`rpm -Uvh --replacepkgs $plain_pkgs 2>&1` #result=`rpm -Fvh $plain_pkgs 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs $result" + logger -t xcat "otherpkgs $result" fi echo "$result" @@ -311,15 +319,17 @@ if [ "$repo_pkgs_postremove" != "" ]; then if [ $hasyum -eq 1 ]; then echo "yum -y removel $repo_pkgs_postremove" result=`yum -y remove $repo_pkgs_postremove 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs: $result" + logger -t xcat "otherpkgs: $result" fi echo "$result" elif [ $haszypper -eq 1 ]; then echo "zypper remove -y $repo_pkgs_postremove" result=`zypper remove -y $repo_pkgs_postremove 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs: $result" + logger -t xcat "otherpkgs: $result" fi echo "$result" fi @@ -328,8 +338,9 @@ fi if [ "$plain_pkgs_postremove" != "" ]; then echo "rpm -ev $plain_pkgs_postremove" result=`rpm -ev $plain_pkgs_postremove 2>&1` + logger -t xcat "$result" if [ $? -ne 0 ]; then - logger "otherpkgs $result" + logger -t xcat "otherpkgs $result" fi echo "$result" fi diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index 32c84dc2b..5a65b97bb 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -38,6 +38,7 @@ fi # cp /xcatpost/hostkeys/*_key /etc/ssh/ #fi if [ ! -x /usr/bin/openssl ]; then + logger -t xcat "Install: /usr/bin/openssl is not executable." exit 0 fi allowcred.awk & @@ -140,6 +141,7 @@ if [ -r /root/.ssh/id_rsa ]; then fi # start up the sshd for syncfiles postscript to do the sync work +logger -t xCAT "start up sshd" service sshd start kill -9 $CREDPID diff --git a/xCAT/postscripts/serialconsole b/xCAT/postscripts/serialconsole index 7640f6d7e..c032c93ed 100755 --- a/xCAT/postscripts/serialconsole +++ b/xCAT/postscripts/serialconsole @@ -14,6 +14,7 @@ done if [ -n "$GRUB" ] then + logger -t xcat "Install: the GRUB dir is $GRUBDIR" cd $GRUBDIR perl -pi -e 's/^gfxmenu/#gfxmenu/' $GRUBFILE perl -pi -e 's/^color/#color/' $GRUBFILE diff --git a/xCAT/postscripts/servicenode b/xCAT/postscripts/servicenode index 7ea61a9b6..b45d118a6 100755 --- a/xCAT/postscripts/servicenode +++ b/xCAT/postscripts/servicenode @@ -123,6 +123,7 @@ else &runcmd("/opt/xcat/sbin/copycerts"); } +`logger -t xcat rc=$rc`; exit $rc; # diff --git a/xCAT/postscripts/setiscsiparms.awk b/xCAT/postscripts/setiscsiparms.awk index 7e0204d76..b63223b60 100755 --- a/xCAT/postscripts/setiscsiparms.awk +++ b/xCAT/postscripts/setiscsiparms.awk @@ -12,6 +12,7 @@ BEGIN { print $0 | "logger -t xcat" else { print "Retrying iSCSI paramater config script" + print "Retrying iSCSI paramater config script" | "logger -t xcat" close(ns) system("sleep 1") } diff --git a/xCAT/postscripts/setupLDAP b/xCAT/postscripts/setupLDAP index fe11891bc..a2a5a6504 100755 --- a/xCAT/postscripts/setupLDAP +++ b/xCAT/postscripts/setupLDAP @@ -9,7 +9,7 @@ if [ -r /etc/ldap.conf -a -r /etc/resolv.conf ] then echo -n " LDAP: " - + logger -t xcat " LDAP: " DC=$( cat /etc/resolv.conf | \ egrep '(domain|search)' | \ diff --git a/xCAT/postscripts/setupesx b/xCAT/postscripts/setupesx index 581b13c86..6a6822907 100644 --- a/xCAT/postscripts/setupesx +++ b/xCAT/postscripts/setupesx @@ -55,6 +55,7 @@ esxcfg-firewall -e ntpClient esxcfg-firewall -o 123,udp,out,ntpServer esxcfg-firewall -o 514,udp,out,syslog esxcfg-firewall -l +logger -t xcat "Install: restart syslog" service syslog restart EOF1 diff --git a/xCAT/postscripts/setupntp b/xCAT/postscripts/setupntp index 3ef99afd2..400affaa4 100755 --- a/xCAT/postscripts/setupntp +++ b/xCAT/postscripts/setupntp @@ -28,6 +28,7 @@ if [ "$master" == "$sitemaster" ]; then master=$i done else + logger -t xcat "Install: $NTPSERVERS don't exist" exit 0 fi diff --git a/xCAT/postscripts/syncclock b/xCAT/postscripts/syncclock index a39eb3513..df7d05e15 100755 --- a/xCAT/postscripts/syncclock +++ b/xCAT/postscripts/syncclock @@ -21,6 +21,7 @@ then logger -t xcat "Install: sync clock" ntpdate -bs $T 2>&1 | logger -t xcat + logger -t xcat "$0: the OS version is $OSVER" case "$OSVER" in rh9|rh[awe]s[34]|rh*5) hwclock -w 2>&1 | logger -t xcat diff --git a/xCAT/postscripts/syncfiles b/xCAT/postscripts/syncfiles index 86f64ed63..794ed6ef8 100644 --- a/xCAT/postscripts/syncfiles +++ b/xCAT/postscripts/syncfiles @@ -14,6 +14,7 @@ fi #do nothing id there is no sync file template for the node if [[ $NOSYNCFILES -eq 1 ]]; then + logger -t xCAT "$0: there is no sync file template for the node" exit 0 fi @@ -22,6 +23,7 @@ if [ "$NODESETSTATE" = "netboot" -o \ "$NODESETSTATE" = "diskless" -o \ "$NODESETSTATE" = "dataless" ] then + logger -t xCAT "$0: the node set state is $NODESETSTATE" exit 0 fi @@ -32,6 +34,7 @@ osname=`uname` # run the xdcp on the MN/SN xcatpostdir="/xcatpost" +logger -t xCAT "$0: the OS name = $osname" if [ $osname = "Linux" ] then `$xcatpostdir/startsyncfiles.awk` @@ -44,9 +47,9 @@ fi if [ $returncode -eq 1 ] then - logger -t xCAT "Perform Syncing File action successfully" + logger -t xCAT "$0: Perform Syncing File action successfully" else - logger -t xCAT "Perform Syncing File action encountered error" + logger -t xCAT "$0: Perform Syncing File action encountered error" fi exit 0 diff --git a/xCAT/postscripts/unlocktftpdir.awk b/xCAT/postscripts/unlocktftpdir.awk index 2f6945257..e68f8b8fb 100755 --- a/xCAT/postscripts/unlocktftpdir.awk +++ b/xCAT/postscripts/unlocktftpdir.awk @@ -10,6 +10,7 @@ BEGIN { print $0 | "logger -t xcat" else { print "Retrying unlock of tftp directory" + print "$0: Retrying unlock of tftp directory" | "logger -t xcat" close(ns) system("sleep 5") } diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index 5c27f5cd1..b284ed297 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -14,6 +14,8 @@ # if AIX - make sure we include perl 5.8.2 in INC path. # Needed to find perl dependencies shipped in deps tarball. +my $osname = $^0; +`logger -t xcat $osname`; if ($^O =~ /^aix/i) { use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi"; use lib "/usr/opt/perl5/lib/5.8.2"; @@ -40,6 +42,7 @@ if (!-d $logdir) { $::sdate = `/bin/date`; chomp $::sdate; my $logfile = $logdir . "/xcat.log"; +`logger -t xcat $logfile`; # this log should not contain much so it might be ok to let it grow? # at least we'll have the errors preserved @@ -258,12 +261,15 @@ if (-f $scriptname) run_ps () { if [[ -f \\\$1 ]]; then echo \\"Running postscript: \\\$1\\" + print $::LOG_FILE "$::sdate xcataixpost: Running postscript: $1\n"; OUTPUT=\\\`./\\\$1 2>&1\\\` if [[ -n \\\$OUTPUT ]]; then echo \\"\\\$OUTPUT\\" + print $::LOG_FILE "$::sdate xcataixpost: output=$output\n"; fi else echo \\"Postscript \\\$1 does NOT exist.\\" + print $::LOG_FILE "$::sdate xcataixpost: $1 does NOT exist.\n"; fi } # subroutine end @@ -276,6 +282,7 @@ run_ps () { $ENV{PATH}="/xcatpost:$ENV{PATH}"; &runcmd("cd /xcatpost;$scriptname"); print $::outref; + print $::LOG_FILE "$::sdate xcataixpost: outref = $::outref\n"; } else { print "$::sdate xcataixpost: Could not find post script for $::shorthost.\n"; print $::LOG_FILE "$::sdate xcataixpost: Could not find post script for $::shorthost.\n"; @@ -296,6 +303,7 @@ if (@ARGV<1) { } else { #called by updatenode, infrom user it is done print "returned from postscript"; + print $::LOG_FILE "$::sdate xcataixpost: returned from postscript.\n"; } if (-f $scriptname) { @@ -442,7 +450,7 @@ sub updateflag { sub runcmd { my ($cmd) = @_; - my $rc=0; + my $rc=0; $cmd .= ' 2>&1' ; $::outref = []; $::outref = `$cmd`; @@ -451,8 +459,8 @@ sub runcmd $rc = $? >> 8; if ($rc > 0) { - # print "$::sdate xcataixpost: $::outref\n"; - # print $::LOG_FILE "$::sdate xcataixpost: $::outref\n"; + print "$::sdate xcataixpost: $::outref\n"; + print $::LOG_FILE "$::sdate xcataixpost: $::outref\n"; } } return $rc; diff --git a/xCAT/postscripts/xcataixscript b/xCAT/postscripts/xcataixscript index 6101c26cb..74cbee4d6 100644 --- a/xCAT/postscripts/xcataixscript +++ b/xCAT/postscripts/xcataixscript @@ -75,8 +75,8 @@ if ((@ARGV==0) || ($ARGV[0] != 2)) { } if (&runcmd($cpcmd) != 0) { -# print "$::sdate xcataixpost: Could not copy postscripts to /xcatpost.\n"; -# print $::LOG_FILE "$::sdate xcataixpost: Could not copy postscripts to /xcatpost.\n"; + print "$::sdate xcataixpost: Could not copy postscripts to /xcatpost.\n"; + print $::LOG_FILE "$::sdate xcataixpost: Could not copy postscripts to /xcatpost.\n"; } # make sure all are executable @@ -124,8 +124,8 @@ sub runcmd $rc = $? >> 8; if ($rc > 0) { -# print "$::sdate xcataixpost: $::outref\n"; -# print $::LOG_FILE "$::sdate xcataixpost: $::outref\n"; + print "$::sdate xcataixpost: $::outref\n"; + print $::LOG_FILE "$::sdate xcataixpost: $::outref\n"; } } return $rc; diff --git a/xCAT/postscripts/xcatclient b/xCAT/postscripts/xcatclient index 6f55cd011..5d755adcb 100755 --- a/xCAT/postscripts/xcatclient +++ b/xCAT/postscripts/xcatclient @@ -5,6 +5,7 @@ # if [ ! -x /usr/bin/openssl ]; then #Unless we have openssl stup + logger -t xcat "$0: /usr/bin/openssl is not executable" exit 0 fi USEOPENSSLFORXCAT=1 #Declare 2.3 style SSL diff --git a/xCAT/postscripts/xcatinstallpost b/xCAT/postscripts/xcatinstallpost index 355c9b414..458ff0392 100755 --- a/xCAT/postscripts/xcatinstallpost +++ b/xCAT/postscripts/xcatinstallpost @@ -8,6 +8,7 @@ if [ ! `uname` == Linux ]; then MYDIR=`dirname $0` #exec $MYDIR/xcatdsklspost.aix + logger -t xcat "$0: the OS name is not Linux" exit fi let SLI=$RANDOM%10 diff --git a/xCAT/postscripts/xcatpostinit b/xCAT/postscripts/xcatpostinit index 820a95188..5da91f1df 100755 --- a/xCAT/postscripts/xcatpostinit +++ b/xCAT/postscripts/xcatpostinit @@ -19,6 +19,7 @@ if [ -x /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions fi +logger -t xcat "$0: action is $1" case $1 in restart) $0 stop @@ -26,9 +27,11 @@ restart) ;; status) echo -n "xcatpostinit runs only at boot, runs additional post scripts" + logger -t xcat "xcatpostinit runs only at boot, runs additional post scripts" ;; stop) echo -n "nothing to stop " + logger -t xcat "nothing to stop" ;; start) # run /opt/xcat/xcatdsklspost diff --git a/xCAT/postscripts/xcatserver b/xCAT/postscripts/xcatserver index 3ba8eff87..7216df16a 100755 --- a/xCAT/postscripts/xcatserver +++ b/xCAT/postscripts/xcatserver @@ -5,6 +5,7 @@ # if [ ! -x /usr/bin/openssl ]; then + logger -t xcat "$0: /usr/bin/openssl is not executable" exit 0 fi USEOPENSSLFORXCAT=1