[GE users] Start execd script don't work - /tmp/exec* says, can't create directory "bnode": No such file or directory

amanyus amanyus at gmail.com
Sun Dec 16 02:58:35 GMT 2007


Hello all users! Need some expertise here. The init.d script does not  
work for my x86 Linux.

#  cat /tmp/exec*
12/16/2007 05:52:35|execd|bnode|C|can't create directory "bnode": No  
such file or directory
12/16/2007 05:53:24|execd|bnode|C|can't create directory "bnode": No  
such file or directory


Investigation:
[root at bnode lx24-x86]# ps -ef | grep sge
root      3292  2708  0 10:53 pts/1    00:00:00 grep sge
[root at bnode lx24-x86]# pwd
/opt/n1ge6/bin/lx24-x86
[root at bnode lx24-x86]# ./sge_execd
critical error: can't create directory "bnode": No such file or  
directory <<< HELP
[root at bnode lx24-x86]#


Information:
	
	bnode:/opt/n1ge6# ./util/arch
	lx24-x86

 From /etc/init.d/sgeexecd:

for i in $*; do
	if [ "$i" = start ]; then
	startup=true

...


if [ "$startup" = true ]; then

    # execution daemon is started on this host!

       echo "   starting sge_execd"
       exec 1>/dev/null 2>&1
       $bin_dir/sge_execd
       [ $? -eq 0 -a -d /var/lock/subsys ] && touch /var/lock/subsys/ 
sgeexecd
       exit 0
else
    if [ $execd = true ]; then
       # Shutdown execution daemon
       GetExecdSpoolDir
       execd_spool_dir=$EXECD_SPOOL_DIR/$UQHOST

       # Send SIGTERM to execd
       echo "   Shutting down Grid Engine execution daemon"
       Shutdown sge_execd $execd_spool_dir/execd.pid
       ret=$?
       if [ -f /var/lock/subsys/sgeexecd ]; then
           uid=`$utilbin_dir/uidgid -uid`
           if [ "$uid" = "0" -a "$ret" = "0" ]; then
              rm -f /var/lock/subsys/sgeexecd >/dev/null 2>&1
           else
              echo "Can't shut down execd!"
              exit 1
           fi
       fi
       if [ $softstop = false ]; then
          # Send SIGTERM to all shepherds
          for jobid in `ls $execd_spool_dir/active_jobs`; do
             echo "   Shutting down Grid Engine shepherd of job $jobid"
             Shutdown sge_shepherd $execd_spool_dir/active_jobs/ 
$jobid/pid
          done
       fi
    fi
fi






More information about the gridengine-users mailing list