[GE users] Autoinstallation of SGE 6.0u1 on Solaris 10 zones

Bernard Li bli at bcgsc.ca
Sat Jan 15 01:28:34 GMT 2005


Grrr...  looks like I have to paste it inline again...

+ shift 
+ expr 1 - 1 
ARGC=0
+ [ 0 != 0 ] 
+ [ true = false -a install = undef -a install = install -a undef =
install ] 
+ [ false = true -a  !=  -a  !=  ] 
+ [ false = true -a install = install ] 
+ [ install = install -a false != true ] 
+ [ true = true ] 
+ ./utilbin/sol-x86/infotext -log Starting qmaster installation! 
Starting qmaster installation!
+ GetConfigFromFile 
IFS=

+ [ /tmp/gsc_template.conf != undef ] 
+ ./utilbin/sol-x86/infotext -log Reading configuration from file %s
/tmp/gsc_template.conf 
Reading configuration from file /tmp/gsc_template.conf
+ . /tmp/gsc_template.conf 
SGE_ROOT=/opt/sge
SGE_QMASTER_PORT=536
SGE_EXECD_PORT=537
CELL_NAME=default
QMASTER_SPOOL_DIR=/opt/sge/default/spool/qmaster
EXECD_SPOOL_DIR=/opt/sge/common/default/spool
GID_RANGE=20000-20100
SPOOLING_METHOD=berkeleydb
DB_SPOOLING_SERVER=none
DB_SPOOLING_DIR=spooldb
ADMIN_HOST_LIST=headnode node01 node02 node03 node04 node05 node06
node07 node08 node09 node10 node11 node12 node13 node14 node15 node16
node17 node18 node19 node20
SUBMIT_HOST_LIST=headnode
EXEC_HOST_LIST=node01 node02 node03 node04 node05 node06 node07 node08
node09 node10 node11 node12 node13 node14 node15 node16 node17 node18
node19 node20
EXECD_SPOOL_DIR_LOCAL=/opt/sge/default/spool
HOSTNAME_RESOLVING=true
SHELL_NAME=ssh
DEFAULT_DOMAIN=none
ADMIN_MAIL=none
ADD_TO_RC=false
SET_FILE_PERMS=true
RESCHEDULE_JOBS=wait
SCHEDD_CONF=1
SHADOW_HOST=none
EXEC_HOST_LIST_RM=host1 host2 host3 host4
REMOVE_RC=false
IFS=   

+ CheckPath 
+ sed s/\/$// 
+ echo /opt/sge 
MYTEMP=/opt/sge
SGE_ROOT=/opt/sge
+ export SGE_ROOT 
+ WelcomeTheUser 
+ [ true = true ] 
+ return 
+ CheckForLocalHostResolving 
+ cut -f2 -d: 
+ ./utilbin/sol-x86/gethostname 
output= headnode
  
 192.168.0.1 
notok=false
+ [ false = true ] 
+ CheckWhoInstallsSGE 
+ ./utilbin/sol-x86/uidgid -euid 
euid=100
+ [ 100 != 0 ] 
+ : 
+ [ undef = install ] 
+ ./utilbin/sol-x86/infotext -u \nGrid Engine - test installation 
+ ./utilbin/sol-x86/infotext \nYou are installing not as user
>root<!\n\n This will allow you to run Grid Engine only under your user
id for testing\n a limited functionality of Grid Engine.\n 
+ whoami 
ADMINUSER=sgeadmin
+ ./utilbin/sol-x86/infotext -wait -auto true -n Hit <RETURN> if this is
ok or stop the installation with Ctrl-C >>  

+ : 
+ return 0 
+ ProcessSGERoot 
+ export SGE_ROOT 
done=false
+ [ false = false ] 
+ [ /opt/sge =  ] 
+ : 
+ ./utilbin/sol-x86/infotext -u \nChecking $SGE_ROOT directory 
+ /usr/bin/echo 

+ eval echo /opt/sge 
+ echo /opt/sge 
SGE_ROOT_VAL=/opt/sge
+ ./utilbin/sol-x86/infotext -n The Grid Engine root directory is:\n\n
$SGE_ROOT = %s\n\n If this directory is not correct (e.g. it may contain
an automounter\n prefix) enter the correct path to this directory or hit
<RETURN>\n to use default [%s] >>  /opt/sge /opt/sge 
+ Enter /opt/sge 
+ [ true = true ] 
+ /usr/bin/echo /opt/sge 
+ eval SGE_ROOT=/opt/sge 
SGE_ROOT=/opt/sge
+ /usr/bin/echo 

+ eval echo /opt/sge 
+ echo /opt/sge 
SGE_ROOT_VAL=/opt/sge
+ [  = true ] 
done=true
+ [ true = false ] 
+ CheckPath 
+ sed s/\/$// 
+ echo /opt/sge 
MYTEMP=/opt/sge
SGE_ROOT=/opt/sge
+ export SGE_ROOT 
+ ./utilbin/sol-x86/infotext Your $SGE_ROOT directory: %s\n /opt/sge 
+ ./utilbin/sol-x86/infotext -log Your $SGE_ROOT directory: %s /opt/sge 
Your $SGE_ROOT directory: /opt/sge
+ ./utilbin/sol-x86/infotext -wait -auto true -n Hit <RETURN> to
continue >>  

+ : 
+ GetQmasterPort 
+ [ false = true ] 
comm_port_max=65500
+ ./utilbin/sol-x86/getservbyname sge_qmaster 
ret=0
+ [ 536 !=  ] 
+ ./utilbin/sol-x86/infotext -u \nGrid Engine TCP/IP communication
service 
+ [ 536 -ge 1 -a 536 -le 65500 ] 
+ ./utilbin/sol-x86/infotext \nUsing the environment variable\n\n
$SGE_QMASTER_PORT=%s\n\n as port for communication.\n\n 536 
+ export SGE_QMASTER_PORT 
+ ./utilbin/sol-x86/infotext -log Using SGE_QMASTER_PORT >%s<. 536 
Using SGE_QMASTER_PORT >536<.
+ [ 0 = 0 ] 
+ ./utilbin/sol-x86/infotext This overrides the preset TCP/IP service
>sge_qmaster<.\n 
+ ./utilbin/sol-x86/infotext -wait -auto true -n Hit <RETURN> to
continue >>  

+ : 
+ return 
+ GetExecdPort 
+ [ false = true ] 
comm_port_max=65500
+ ./utilbin/sol-x86/getservbyname sge_execd 
ret=0
+ [ 537 !=  ] 
+ ./utilbin/sol-x86/infotext -u \nGrid Engine TCP/IP communication
service 
+ [ 537 -ge 1 -a 537 -le 65500 ] 
+ ./utilbin/sol-x86/infotext \nUsing the environment variable\n\n
$SGE_EXECD_PORT=%s\n\n as port for communication.\n\n 537 
+ export SGE_EXECD_PORT 
+ ./utilbin/sol-x86/infotext -log Using SGE_EXECD_PORT >%s<. 537 
Using SGE_EXECD_PORT >537<.
+ [ 0 = 0 ] 
+ ./utilbin/sol-x86/infotext This overrides the preset TCP/IP service
>sge_execd<.\n 
+ ./utilbin/sol-x86/infotext -wait -auto true -n Hit <RETURN> to
continue >>  

+ : 
+ return 
+ GetCell 
is_done=false
+ [ true = true ] 
SGE_CELL=default
SGE_CELL_VAL=default
+ ./utilbin/sol-x86/infotext -log Using >%s< as CELL_NAME. default 
Using >default< as CELL_NAME.
+ [ -f /opt/sge/default/bootstrap ] 
+ export SGE_CELL 
+ ./utilbin/sol-x86/gethostname -aname 
HOST=headnode
+ [ headnode =  ] 
+ GetQmasterSpoolDir 100 
+ [ true = true ] 
QMDIR=/opt/sge/default/spool/qmaster
+ ./utilbin/sol-x86/infotext -log Using >%s< as QMASTER_SPOOL_DIR.
/opt/sge/default/spool/qmaster 
Using >/opt/sge/default/spool/qmaster< as QMASTER_SPOOL_DIR.
+ export QMDIR 
+ SetCellDependentVariables 
COMMONDIR=default/common
LCONFDIR=default/common/local_conf
CASHAREDDIR=default/common/sgeCA
+ SetPermissions 
+ : 
+ ./utilbin/sol-x86/infotext -u \nVerifying and setting file permissions

+ /usr/bin/echo 

+ ./utilbin/sol-x86/uidgid -euid 
euid=100
+ [ 100 != 0 ] 
+ ./utilbin/sol-x86/infotext You are not installing as user >root<\n 
+ ./utilbin/sol-x86/infotext Can't set the file owner/group and
permissions\n 
+ ./utilbin/sol-x86/infotext -wait -auto true -n Hit <RETURN> to
continue >>  

+ : 
+ return 0 
+ SelectHostNameResolving 
+ [ true = true ] 
IGNORE_FQDN_DEFAULT=true
+ ./utilbin/sol-x86/infotext -log Using >%s< as IGNORE_FQDN_DEFAULT.
true 
Using >true< as IGNORE_FQDN_DEFAULT.
+ ./utilbin/sol-x86/infotext -log If it's >true<, the domainname will be
ignored. 
If it's >true<, the domainname will be ignored.
+ [ true = false ] 
CFG_DEFAULT_DOMAIN=none
+ SetProductMode 
+ [ false = true ] 
AFS_PREFIX=
+ [ false = true ] 
CSP_PREFIX=
+ [ false = false ] 
+ [ false = false ] 
PRODUCT_MODE=none
+ MakeDirsMaster 
+ ./utilbin/sol-x86/infotext -u \nMaking directories 
+ /usr/bin/echo 

+ ./utilbin/sol-x86/infotext -log Making directories 
Making directories
+ Makedir default 
file=default
+ [ ! -d default ] 
+ ./utilbin/sol-x86/infotext creating directory: %s default 
+ ExecuteAsAdmin mkdir -p default 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin mkdir -p default 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 755 default 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 755 default 
+ [ 0 != 0 ] 
+ return 0 
+ Makedir default/common 
file=default/common
+ [ ! -d default/common ] 
+ ./utilbin/sol-x86/infotext creating directory: %s default/common 
+ ExecuteAsAdmin mkdir -p default/common 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin mkdir -p default/common 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 755 default/common 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 755 default/common 
+ [ 0 != 0 ] 
+ return 0 
+ Makedir /opt/sge/default/spool/qmaster 
file=/opt/sge/default/spool/qmaster
+ [ ! -d /opt/sge/default/spool/qmaster ] 
+ ./utilbin/sol-x86/infotext creating directory: %s
/opt/sge/default/spool/qmaster 
+ ExecuteAsAdmin mkdir -p /opt/sge/default/spool/qmaster 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin mkdir -p
/opt/sge/default/spool/qmaster 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 755 /opt/sge/default/spool/qmaster 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 755
/opt/sge/default/spool/qmaster 
+ [ 0 != 0 ] 
+ return 0 
+ Makedir /opt/sge/default/spool/qmaster/job_scripts 
file=/opt/sge/default/spool/qmaster/job_scripts
+ [ ! -d /opt/sge/default/spool/qmaster/job_scripts ] 
+ ./utilbin/sol-x86/infotext creating directory: %s
/opt/sge/default/spool/qmaster/job_scripts 
+ ExecuteAsAdmin mkdir -p /opt/sge/default/spool/qmaster/job_scripts 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin mkdir -p
/opt/sge/default/spool/qmaster/job_scripts 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 755 /opt/sge/default/spool/qmaster/job_scripts 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 755
/opt/sge/default/spool/qmaster/job_scripts 
+ [ 0 != 0 ] 
+ return 0 
+ ./utilbin/sol-x86/infotext -wait -auto true -n Hit <RETURN> to
continue >>  

+ : 
+ SetSpoolingOptions 
+ ./utilbin/sol-x86/infotext -u \nSetup spooling 
+ ExecuteAsAdmin ./utilbin/sol-x86/spoolinit method 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spoolinit method

+ [ 0 != 0 ] 
+ return 0 
COMPILED_IN_METHOD=dynamic
+ ./utilbin/sol-x86/infotext -log Setting spooling method to %s dynamic 
Setting spooling method to dynamic
+ SetSpoolingOptionsDynamic 
+ [ true = true ] 
+ [ berkeleydb != berkeleydb -a berkeleydb != classic ] 
+ : 
+ SetSpoolingOptionsBerkeleyDB 
SPOOLING_METHOD=berkeleydb
SPOOLING_LIB=libspoolb
SPOOLING_SERVER=none
SPOOLING_DIR=/opt/sge/default/spool/qmaster/spooldb
params_ok=0
+ [ true = true ] 
SPOOLING_SERVER=none
SPOOLING_DIR=spooldb
+ [ spooldb =  ] 
+ [ -d spooldb -a none != none ] 
params_ok=1
+ [ install = install -a true = false ] 
+ ps -efa 
+ wc -l 
+ grep berkeley_db_svc 
ret=       1
+ [ 1 -gt 1 ] 
+ [ 1 -eq 0 ] 
+ [ none = none ] 
+ /usr/bin/echo 

+ Makedir spooldb 
file=spooldb
+ [ ! -d spooldb ] 
+ ./utilbin/sol-x86/infotext creating directory: %s spooldb 
+ ExecuteAsAdmin mkdir -p spooldb 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin mkdir -p spooldb 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 755 spooldb 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 755 spooldb 
+ [ 0 != 0 ] 
+ return 0 
SPOOLING_ARGS=spooldb
+ AddBootstrap 
TOUCH=touch
+ ./utilbin/sol-x86/infotext Dumping bootstrapping information 
+ ./utilbin/sol-x86/infotext -log Dumping bootstrapping information 
Dumping bootstrapping information
+ ExecuteAsAdmin touch default/common/bootstrap 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin touch default/common/bootstrap 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 666 default/common/bootstrap 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 666 default/common/bootstrap

+ [ 0 != 0 ] 
+ return 0 
+ PrintBootstrap 
+ /usr/bin/echo # Version: pre6.0 
+ /usr/bin/echo # 
+ [ sgeadmin != default ] 
+ /usr/bin/echo admin_user             sgeadmin 
+ /usr/bin/echo default_domain          none 
+ /usr/bin/echo ignore_fqdn             true 
+ /usr/bin/echo spooling_method         berkeleydb 
+ /usr/bin/echo spooling_lib            libspoolb 
+ /usr/bin/echo spooling_params         spooldb 
+ /usr/bin/echo binary_path             /opt/sge/bin 
+ /usr/bin/echo qmaster_spool_dir       /opt/sge/default/spool/qmaster 
+ /usr/bin/echo security_mode           none 
+ ExecuteAsAdmin chmod 444 default/common/bootstrap 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 444 default/common/bootstrap

+ [ 0 != 0 ] 
+ return 0 
+ InitSpoolingDatabase 
+ ./utilbin/sol-x86/infotext Initializing spooling database 
+ ./utilbin/sol-x86/infotext -log Initializing spooling database 
Initializing spooling database
+ ExecuteAsAdmin ./utilbin/sol-x86/spoolinit berkeleydb libspoolb
spooldb init 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spoolinit
berkeleydb libspoolb spooldb init 
+ [ 0 != 0 ] 
+ return 0 
+ ./utilbin/sol-x86/infotext -wait -auto true -n \nHit <RETURN> to
continue >>  

+ : 
+ AddConfiguration 
useold=false
+ [ false = false ] 
+ GetConfiguration 
+ GetGidRange 
done=false
+ [ false = false ] 
+ : 
+ ./utilbin/sol-x86/infotext -u \nGrid Engine group id range 
+ ./utilbin/sol-x86/infotext \nWhen jobs are started under the control
of Grid Engine an additional group id\n is set on platforms which do not
support jobs. This is done to provide maximum\n control for Grid Engine
jobs.\n\n This additional UNIX group id range must be unused group id's
in your system.\n Each job will be assigned a unique id during the time
it is running.\n Therefore you need to provide a range of id's which
will be assigned\n dynamically for jobs.\n\n The range must be big
enough to provide enough numbers for the maximum number\n of Grid Engine
jobs running at a single moment on a single host. E.g. a range\n like
>20000-20100< means, that Grid Engine will use the group ids from\n
20000-20100 and provides a range for 100 Grid Engine jobs at the same
time\n on a single host.\n\n You can change at any time the group id
range in your cluster configuration.\n 
+ ./utilbin/sol-x86/infotext -n Please enter a range >>  
+ Enter 20000-20100 
+ [ true = true ] 
+ /usr/bin/echo 20000-20100 
CFG_GID_RANGE=20000-20100
+ [ 20000-20100 !=  ] 
+ ./utilbin/sol-x86/infotext -wait -auto true -n \nUsing >%s< as gid
range. Hit <RETURN> to continue >>  20000-20100 

+ : 
done=true
+ [ true = true -a 20000-20100 =  ] 
+ ./utilbin/sol-x86/infotext -log Using >%s< as gid range. 20000-20100 
Using >20000-20100< as gid range.
+ [ true = false ] 
+ [ true = true ] 
CFG_EXE_SPOOL=/opt/sge/common/default/spool
CFG_MAIL_ADDR=none
+ ./utilbin/sol-x86/infotext -log Using >%s< as EXECD_SPOOL_DIR.
/opt/sge/common/default/spool 
Using >/opt/sge/common/default/spool< as EXECD_SPOOL_DIR.
+ ./utilbin/sol-x86/infotext -log Using >%s< as ADMIN_MAIL. none 
Using >none< as ADMIN_MAIL.
+ export CFG_EXE_SPOOL 
TMPC=/tmp/configuration
TOUCH=touch
+ rm -f /tmp/configuration 
+ ExecuteAsAdmin touch /tmp/configuration 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin touch /tmp/configuration 
+ [ 0 != 0 ] 
+ return 0 
+ PrintConf 
+ /usr/bin/echo # Version: pre6.0 
+ /usr/bin/echo # 
+ /usr/bin/echo # DO NOT MODIFY THIS FILE MANUALLY! 
+ /usr/bin/echo # 
+ /usr/bin/echo conf_version           0 
+ /usr/bin/echo execd_spool_dir        /opt/sge/common/default/spool 
+ /usr/bin/echo mailer                 /bin/mailx 
+ /usr/bin/echo xterm                  /usr/openwin/bin/xterm 
+ /usr/bin/echo load_sensor            none 
+ /usr/bin/echo prolog                 none 
+ /usr/bin/echo epilog                 none 
+ /usr/bin/echo shell_start_mode       posix_compliant 
+ /usr/bin/echo login_shells           sh,ksh,csh,tcsh 
+ /usr/bin/echo min_uid                0 
+ /usr/bin/echo min_gid                0 
+ /usr/bin/echo user_lists             none 
+ /usr/bin/echo xuser_lists            none 
+ /usr/bin/echo projects               none 
+ /usr/bin/echo xprojects              none 
+ /usr/bin/echo enforce_project        false 
+ /usr/bin/echo enforce_user           auto 
+ /usr/bin/echo load_report_time       00:00:40 
+ /usr/bin/echo max_unheard            00:05:00 
+ /usr/bin/echo reschedule_unknown     00:00:00 
+ /usr/bin/echo loglevel               log_warning 
+ /usr/bin/echo administrator_mail     none 
+ [ false = true ] 
+ /usr/bin/echo set_token_cmd          none 
+ /usr/bin/echo pag_cmd                none 
+ /usr/bin/echo token_extend_time      none 
+ /usr/bin/echo shepherd_cmd           none 
+ /usr/bin/echo qmaster_params         none 
+ /usr/bin/echo execd_params           none 
+ /usr/bin/echo reporting_params       accounting=true reporting=false
flush_time=00:00:15 joblog=false sharelog=00:00:00 
+ /usr/bin/echo finished_jobs          100 
+ /usr/bin/echo gid_range              20000-20100 
+ /usr/bin/echo qlogin_command         telnet 
+ /usr/bin/echo qlogin_daemon          /usr/sbin/in.telnetd 
+ /usr/bin/echo rlogin_daemon          /usr/sbin/in.rlogind 
+ /usr/bin/echo max_aj_instances       2000 
+ /usr/bin/echo max_aj_tasks           75000 
+ /usr/bin/echo max_u_jobs             0 
+ /usr/bin/echo max_jobs               0 
+ /usr/bin/echo auto_user_oticket      0 
+ /usr/bin/echo auto_user_fshare       0 
+ /usr/bin/echo auto_user_default_project none 
+ /usr/bin/echo auto_user_delete_time  100 
+ /usr/bin/echo delegated_file_staging false 
+ SetPerm /tmp/configuration 
file=/tmp/configuration
+ ExecuteAsAdmin chmod 644 /tmp/configuration 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 644 /tmp/configuration 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin ./utilbin/sol-x86/spooldefaults configuration
/tmp/configuration 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spooldefaults
configuration /tmp/configuration 
+ [ 0 != 0 ] 
+ return 0 
+ rm -f /tmp/configuration 
+ AddLocalConfiguration 
+ : 
+ ./utilbin/sol-x86/infotext -u \nCreating local configuration 
+ ExecuteAsAdmin mkdir /tmp/12447 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin mkdir /tmp/12447 
+ [ 0 != 0 ] 
+ return 0 
TMPH=/tmp/12447/headnode
+ ExecuteAsAdmin rm -f /tmp/12447/headnode 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin rm -f /tmp/12447/headnode 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin touch /tmp/12447/headnode 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin touch /tmp/12447/headnode 
+ [ 0 != 0 ] 
+ return 0 
+ PrintLocalConf 1 
arg=1
+ [ 1 = 1 ] 
+ /usr/bin/echo # Version: pre6.0 
+ /usr/bin/echo # 
+ /usr/bin/echo # DO NOT MODIFY THIS FILE MANUALLY! 
+ /usr/bin/echo # 
+ /usr/bin/echo conf_version           0 
+ /usr/bin/echo mailer                 /bin/mailx 
+ /usr/bin/echo xterm                  /usr/openwin/bin/xterm 
+ /usr/bin/echo qlogin_daemon          /usr/sbin/in.telnetd 
+ /usr/bin/echo rlogin_daemon          /usr/sbin/in.rlogind 
+ [ undef != undef ] 
+ ExecuteAsAdmin ./utilbin/sol-x86/spooldefaults local_conf
/tmp/12447/headnode headnode 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spooldefaults
local_conf /tmp/12447/headnode headnode 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin rm -rf /tmp/12447 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin rm -rf /tmp/12447 
+ [ 0 != 0 ] 
+ return 0 
+ AddActQmaster 
+ ./utilbin/sol-x86/infotext Creating >act_qmaster< file 
+ TruncCreateAndMakeWriteable default/common/act_qmaster 
+ [ -f default/common/act_qmaster ] 
+ CreateAndMakeWriteable default/common/act_qmaster 
+ ExecuteAsAdmin touch default/common/act_qmaster 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin touch default/common/act_qmaster 
+ [ 0 != 0 ] 
+ return 0 
+ [ sgeadmin != default ] 
+ ExecuteAsAdmin chmod 666 default/common/act_qmaster 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 666
default/common/act_qmaster 
+ [ 0 != 0 ] 
+ return 0 
+ /usr/bin/echo headnode 
+ SetPerm default/common/act_qmaster 
file=default/common/act_qmaster
+ ExecuteAsAdmin chmod 644 default/common/act_qmaster 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 644
default/common/act_qmaster 
+ [ 0 != 0 ] 
+ return 0 
+ AddDefaultComplexes 
+ ./utilbin/sol-x86/infotext Adding default complex attributes 
+ ExecuteAsAdmin ./utilbin/sol-x86/spooldefaults complexes
/opt/sge/util/resources/centry 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spooldefaults
complexes /opt/sge/util/resources/centry 
Reading in complex attributes.
+ [ 0 != 0 ] 
+ return 0 
+ AddPEFiles 
+ ./utilbin/sol-x86/infotext Adding default parallel environments (PE) 
+ ./utilbin/sol-x86/infotext -log Adding default parallel environments
(PE) 
Adding default parallel environments (PE)
+ ExecuteAsAdmin ./utilbin/sol-x86/spooldefaults pes
/opt/sge/util/resources/pe 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spooldefaults
pes /opt/sge/util/resources/pe 
Reading in parallel environments:
	PE "make".
+ [ 0 != 0 ] 
+ return 0 
+ AddDefaultDepartement 
+ ./utilbin/sol-x86/infotext Adding SGE default usersets 
+ ExecuteAsAdmin ./utilbin/sol-x86/spooldefaults usersets
/opt/sge/util/resources/usersets 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spooldefaults
usersets /opt/sge/util/resources/usersets 
Reading in usersets:
	Userset "defaultdepartment".
	Userset "deadlineusers".
+ [ 0 != 0 ] 
+ return 0 
+ AddCommonFiles 
+ [ sge_aliases = sge_aliases ] 
+ ./utilbin/sol-x86/infotext Adding >%s< path aliases file sge_aliases 
+ ExecuteAsAdmin cp util/sge_aliases default/common 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin cp util/sge_aliases default/common

+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 644 default/common/sge_aliases 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 644
default/common/sge_aliases 
+ [ 0 != 0 ] 
+ return 0 
+ [ qtask = sge_aliases ] 
+ [ qtask = qtask ] 
+ ./utilbin/sol-x86/infotext Adding >%s< qtcsh sample default request
file qtask 
+ ExecuteAsAdmin cp util/qtask default/common 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin cp util/qtask default/common 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 644 default/common/qtask 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 644 default/common/qtask 
+ [ 0 != 0 ] 
+ return 0 
+ [ sge_request = sge_aliases ] 
+ [ sge_request = qtask ] 
+ ./utilbin/sol-x86/infotext Adding >%s< default submit options file
sge_request 
+ ExecuteAsAdmin cp util/sge_request default/common 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin cp util/sge_request default/common

+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod 644 default/common/sge_request 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod 644
default/common/sge_request 
+ [ 0 != 0 ] 
+ return 0 
+ unset f 
+ CreateSGEStartUpScripts 100 true master 
euid=100
create=true
hosttype=master
+ [ master = master ] 
TMP_SGE_STARTUP_FILE=/tmp/sgemaster.12447
STARTUP_FILE_NAME=sgemaster
S95NAME=S95sgemaster
+ [ -f /tmp/sgemaster.12447 ] 
+ [ -f /tmp/sgemaster.12447.0 ] 
+ [ -f /tmp/sgemaster.12447.1 ] 
SGE_STARTUP_FILE=/opt/sge/default/common/sgemaster
+ [ true = true ] 
+ [ master = master ] 
+ Execute sed -e s%GENROOT%/opt/sge%g -e s%GENCELL%default%g -e
/#+-#+-#+-#-/,/#-#-#-#-#-#/d util/rctemplates/sgemaster_template 
+ [  = true ] 
+ sed -e s%GENROOT%/opt/sge%g -e s%GENCELL%default%g -e
/#+-#+-#+-#-/,/#-#-#-#-#-#/d util/rctemplates/sgemaster_template 
+ [ 0 != 0 ] 
+ [ 536 !=  ] 
+ Execute sed -e s/=GENSGE_QMASTER_PORT/=536/ /tmp/sgemaster.12447.0 
+ [  = true ] 
+ sed -e s/=GENSGE_QMASTER_PORT/=536/ /tmp/sgemaster.12447.0 
+ [ 0 != 0 ] 
+ [ 537 !=  ] 
+ Execute sed -e s/=GENSGE_EXECD_PORT/=537/ /tmp/sgemaster.12447.1 
+ [  = true ] 
+ sed -e s/=GENSGE_EXECD_PORT/=537/ /tmp/sgemaster.12447.1 
+ [ 0 != 0 ] 
+ ExecuteAsAdmin cp /tmp/sgemaster.12447
/opt/sge/default/common/sgemaster 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin cp /tmp/sgemaster.12447
/opt/sge/default/common/sgemaster 
+ [ 0 != 0 ] 
+ return 0 
+ ExecuteAsAdmin chmod a+x /opt/sge/default/common/sgemaster 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin chmod a+x
/opt/sge/default/common/sgemaster 
+ [ 0 != 0 ] 
+ return 0 
+ rm -f /tmp/sgemaster.12447 /tmp/sgemaster.12447.0
/tmp/sgemaster.12447.1 
+ [ 100 = 0 -a sgeadmin != default -a install = install -a master =
master ] 
+ [ 100 != 0 -a master = master ] 
+ AddDefaultManager 
+ ExecuteAsAdmin ./utilbin/sol-x86/spooldefaults managers 
+ [  = true ] 
+ [ sgeadmin = default ] 
+ ./utilbin/sol-x86/adminrun sgeadmin ./utilbin/sol-x86/spooldefaults
managers 
usage:
 ./utilbin/sol-x86/spooldefaults command

create default entries during installation process
following are the valid commands:
test                          test the spooling framework
adminhosts <template_dir>     create admin hosts
calendars <template_dir>      create calendars
ckpts <template_dir>          create checkpoint environments
complexes <template_dir>      create complexes
configuration <template>      create the global configuration
cqueues <template_dir>        create cluster queues
exechosts <template_dir>      create execution hosts
local_conf <template> <name>  create a local configuration
managers <mgr1> [<mgr2> ...]  create managers
operators <op1> [<op2> ...]   create operators
pes <template_dir>            create parallel environments
projects <template_dir>       create projects
sharetree <template>          create sharetree
submithosts <template_dir>    create submit hosts
users <template_dir>          create users
usersets <template_dir>       create usersets
+ [ 1 != 0 ] 
+ /usr/bin/echo 

+ Translate 1 Command failed: %s ./utilbin/sol-x86/spooldefaults
managers 
newline=
stderr=0
+ [ 1 = 0 -o 1 = 1 ] 
newline=\n
+ [ 1 = 1 -o 1 = 3 ] 
stderr=1
+ [ 1 = 4 ] 
+ shift 
+ [  = 1 ] 
transout=Command failed: %s
+ shift 
+ [ 1 = 4 ] 
+ [ 1 = 0 ] 
+ printf Command failed: %s\n ./utilbin/sol-x86/spooldefaults managers 
Command failed: ./utilbin/sol-x86/spooldefaults managers
+ /usr/bin/echo 

+ Translate 1 Probably a permission problem. Please check file access
permissions. 
newline=
stderr=0
+ [ 1 = 0 -o 1 = 1 ] 
newline=\n
+ [ 1 = 1 -o 1 = 3 ] 
stderr=1
+ [ 1 = 4 ] 
+ shift 
+ [  = 1 ] 
transout=Probably a permission problem. Please check file access
permissions.
+ shift 
+ [ 1 = 4 ] 
+ [ 1 = 0 ] 
+ printf Probably a permission problem. Please check file access
permissions.\n 
Probably a permission problem. Please check file access permissions.
+ Translate 1 Check read/write permission. Check if SGE daemons are
running. 
newline=
stderr=0
+ [ 1 = 0 -o 1 = 1 ] 
newline=\n
+ [ 1 = 1 -o 1 = 3 ] 
stderr=1
+ [ 1 = 4 ] 
+ shift 
+ [  = 1 ] 
transout=Check read/write permission. Check if SGE daemons are running.
+ shift 
+ [ 1 = 4 ] 
+ [ 1 = 0 ] 
+ printf Check read/write permission. Check if SGE daemons are
running.\n 
Check read/write permission. Check if SGE daemons are running.
+ /usr/bin/echo 

+ ./utilbin/sol-x86/infotext -log Command failed: %s
./utilbin/sol-x86/spooldefaults managers 
Command failed: managers./utilbin/sol-x86/spooldefaults
+ ./utilbin/sol-x86/infotext -log Probably a permission problem. Please
check file access permissions. 
Probably a permission problem. Please check file access permissions.
+ ./utilbin/sol-x86/infotext -log Check read/write permission. Check if
SGE daemons are running. 
Check read/write permission. Check if SGE daemons are running.
+ [ true = true ] 
+ MoveLog 
+ [ install = uninstall -o install = uninstall ] 
+ hostname 
+ cp /tmp/install.12447
/opt/sge/default/spool/qmaster/install_headnode_2005-01-14_16:55:27.log


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list