I have a couple of ESP Linux distributed agents. They seem to work just fine. However when I view the spool I always find there is a line or two of of output right before the expected spool. Sometimes I see the below
logname: no login name
/etc/profile[67]: [: argument expected
and sometimes I only see
logname: no login name
and these lines show up before the expected spool whether user is a local account on the box or not. I am a mainframer and am quite confused because I have never encountered this problem on any of my AIX agents.
I ran a test job to verify what my logname was and it turned out to be the same value I specified as user in the LINUX_JOB definition. Has anyone else seen this particular behavior. Thanks in advance. I am going to paste in my test application and the spool it generates which lists the environmental variables associated with my userid
APPL LINUXJOB
LINUX_JOB TESTLINX
AGENT LDXWAS65
USER me24948
CMDNAME /usr/bin/ksh
ARGS -c "env"
EXITCODE 0 SUCCESS
RUN ANY
ENDJOB
----------------------------------------------- Row 1 of 52, Col 1 -
COMMAND ===>
---------------------------------- TOP OF DATA---------------------------------
----------------------------------------------------------------
Output of messages for workload object TESTLINX/LINUXJOB.1/MAIN
Start date Tue Oct 5 15:03:23 2010
----------------------------------------------------------------
----------------------------------------------------------------
Output of messages for workload object TESTLINX/LINUXJOB.1/MAIN
Start date Tue Oct 5 15:07:10 2010
----------------------------------------------------------------
----------------------------------------------------------------
Output of messages for workload object TESTLINX/LINUXJOB.1/MAIN
Start date Tue Oct 5 15:50:41 2010
----------------------------------------------------------------
logname: no login name
/etc/profile[67]: [: argument expected
_=/bin/env
CONSOLE=/dev/console
ESPAGENT=LDXWAS65
ESPAGENTDIR=/opt/esp
ESPAGENTHASH=DE6C849833B91D486BE58559E94FEB56608159A8
ESPAGENTPORT=3015
ESPAPGEN=1
ESPAPPL=LINUXJOB
ESPAPPLMGR=JavaAgent#tcpip@CENTER2
ESPMSGQUEUE=/opt/esp/cybAgent.bin
ESPOBJECT=TESTLINX/LINUXJOB.1/MAIN
ESPWOB=TESTLINX
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/me24948
HOSTNAME=ldxwas65.dx.deere.com
INIT_VERSION=sysvinit-2.86
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/opt/esp:/opt/esp:/opt/esp/jre/lib/i386:/opt/esp/jre/lib/i386/s
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=me24948
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;
MAIL=/var/spool/mail/me24948
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
PATH=/usr/kerberos/bin:/sbin:/usr/sbin:/bin:/usr/bin
PREVLEVEL=N
PWD=/opt/esp
RUNLEVEL=3
SELINUX_INIT=YES
SHELL=/bin/ksh
SHLVL=1
TERM=linux
USER=me24948
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
previous=N
runlevel=3
Thank you very much