[daip] AIPS Midnight Job and TPMON problems
Eric Greisen
egreisen at nrao.edu
Tue Nov 1 10:55:09 EST 2005
Emma Rigby writes:
> Hi,
>
> I ran the AIPS midnight job on 28th October and it reported the following
> error message:
>
> "
> The UPDATE job has detected a COMLNK TPMON for
> version 31DEC05 on relnx03 at Fri Oct 28 01:30:16 UTC 2005 (UT).
> Please restart TPMON daemons on LINUX systems.
> "
>
> Since then AIPS is unable to open either the MSGSRV or the TEKSRV (it
> says: AIPSmsg: Can't execvp $LOAD/MSGSRV.EXE ; sleep 3 : No such file or
> directory).
I assume that you have a binary installation. You need to put in
your .cshrc, .tcshrc, or .bashrc file (depending on what default shell
you use), a line to define $AIPS_ROOT and a ref to its login. Thus
for tcsh and csh
setenv AIPS_ROOT <path to main aips location>
source $AIPS_ROOT/LOGIN.CSH
or for bash
export AIPS_ROOT=<path to main aips location>
. $AIPS_ROOT/LOGIN.SH
This should allow the $LOAD to be recognized and the LD_LIBRARY_PATH
needed to actually execute the programs.
>
> I've tried killing the TPMON processes but it's not working. Do you have
> any idea what I could do to fix it.
Surely you can do a
ps -elf | grep TPMON
and then
kill <process_number>
or is needed kill -9 <process_number> for the <process_number>'s seen
by the ps command. If you cannot kill them then identify who started
them and have him or her kill them. Actually this is not too
important. I added more messages to TPMON so that we can diagnose
problems with tapes better. In the absence of errors that is not
important.
Eric Greisen
More information about the Daip
mailing list