Opened 9 months ago
Closed 9 months ago
#3298 closed help (fixed)
New 2FA setup model error
Reported by: | ha392 | Owned by: | um_support |
---|---|---|---|
Component: | PUMA | Keywords: | ARCHER, Error |
Cc: | Platform: | PUMA | |
UM Version: | <select version> |
Description
Hello,
I have setup the 2FA for Puma and logged into ARCHER in the way mentioned in Grenville's email for using rose/cylc. All of this seemed successful.
I tried to run a UM suite u-bq497 and I am getting the same message come up in an error for the local fcm_make_pp process.
fcm make -f /home/ha392/cylc-run/u-bq497/work/20000401T0000Z/fcm_make_pp/fcm-make.cfg -C /home/ha392/cylc-run/u-bq497/share/fcm_make_pp -j 4 mirror.target=login.archer.ac.uk:cylc-run/u-bq497/share/fcm_make_pp mirror.prop{config-file.name}=2 # return-code=255
I was wondering if it had something to do with the suite.rc file as mentioned towards the bottom of Grenville's email, but I have not been able to find where to change in this file or the related Archer file.
Cheers,
Holly
Change History (12)
comment:1 Changed 9 months ago by grenville
comment:2 Changed 9 months ago by ha392
Hi Grenville,
Thank you for your reply. Unfortunately this doesn't seem to make any difference.
Holly
comment:3 Changed 9 months ago by ha392
Is it possible it could have something to do with all of these -
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
I seem to get them in the error message and in the terminal for both puma and Arche?
Holly
comment:4 Changed 9 months ago by grenville
Holly
Only ever a long shot - I'll take a copy of your suite.
grenville
comment:5 Changed 9 months ago by grenville
Holly
Your suite works for me. I don't know why setlocal is called, it's only giving a warning - what do you get on PUMA if you type 'locale' ?
Grenville
comment:6 Changed 9 months ago by grenville
Can you run other suites with postproc?
comment:7 Changed 9 months ago by ha392
Hi Grenville,
I get -
locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=C.UTF-8 LC_CTYPE="C.UTF-8" LC_NUMERIC="C.UTF-8" LC_TIME="C.UTF-8" LC_COLLATE="C.UTF-8" LC_MONETARY="C.UTF-8" LC_MESSAGES="C.UTF-8" LC_PAPER="C.UTF-8" LC_NAME="C.UTF-8" LC_ADDRESS="C.UTF-8" LC_TELEPHONE="C.UTF-8" LC_MEASUREMENT="C.UTF-8" LC_IDENTIFICATION="C.UTF-8" LC_ALL=C.UTF-8
I get similar messages to this when I login to both Puma and Archer now.
I just tried another suite and seem to be getting the same problems.
Holly
comment:8 Changed 9 months ago by grenville
Holly
Hmm - I get something different. On PUMA, pleae run env & send the result.
grenville@puma:~/roses/u-bq497> locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
comment:9 Changed 9 months ago by grenville
Hi Holly
Please run locale on your local machine - the one you login to PUMA from.
Grenville
comment:10 Changed 9 months ago by ha392
Hi Grenville,
I get-
ha392@puma:/home/ha392> env _=*29609*/usr/bin/env COLORTERM=1 CPU=x86_64 CSHEDIT=emacs CVS_RSH=ssh DISPLAY=localhost:33.0 FROM_HEADER= GPG_AGENT_INFO=/tmp/gpg-ukTaJL/S.gpg-agent:29638:1 G_BROKEN_FILENAMES=1 HISTSIZE=1000 HOME=/home/ha392 HOST=puma HOSTNAME=puma. HOSTTYPE=x86_64 INFODIR=/usr/local/info:/usr/share/info:/usr/info INFOPATH=/usr/local/info:/usr/share/info:/usr/info INPUTRC=/etc/inputrc JAVA_BINDIR=/usr/lib64/jvm/jre/bin JAVA_HOME=/usr/lib64/jvm/jre JAVA_ROOT=/usr/lib64/jvm/jre JRE_HOME=/usr/lib64/jvm/jre LANG=C.UTF-8 LC_ALL=C.UTF-8 LC_CTYPE=C.UTF-8 LD_LIBRARY_PATH=/usr/lib64/mpi/gcc/openmpi/lib64 LESS=-M -I LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME=ha392 LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: LS_OPTIONS=-N --color=tty -T 0 MACHTYPE=x86_64-suse-linux MAIL=/var/mail/ha392 MANPATH=/usr/lib64/mpi/gcc/openmpi/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man MINICOM=-c on MORE=-sl NNTPSERVER=news OSTYPE=linux PAGER=less PATH=/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home/fcm/bin PROFILEREAD=true PWD=/home/ha392 PYTHONSTARTUP=/etc/pythonstart QT_SYSTEM_DIR=/usr/share/desktop-data SCRATCH=/export/puma/data-01/training/ha392 SHELL=/bin/ksh SHLVL=1 SSH_AGENT_PID=6909 SSH_AUTH_SOCK=/tmp/ssh-7O0erqMwbcKl/agent.6908 SSH_CLIENT=2.222.184.234 52762 22 SSH_CONNECTION=2.222.184.234 52762 134.225.0.17 22 SSH_SENDS_LOCALE=yes SSH_TTY=/dev/pts/33 TERM=xterm-256color UMDIR=/home/um USER=ha392 WINDOWMANAGER=/usr/bin/gnome XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/local/share:/usr/share:/etc/opt/kde3/share:/opt/kde3/share XKEYSYMDB=/usr/share/X11/XKeysymDB XNLSPATH=/usr/share/X11/nls _AST_FEATURES=UNIVERSE - att A__z=! PROFILEREAD="*SHLVL
Holly
comment:11 Changed 9 months ago by ha392
Sorry, in Suite I get-
ha392@puma:/home/ha392/roses/u-bq497> env _=*29609*/usr/bin/env COLORTERM=1 CPU=x86_64 CSHEDIT=emacs CVS_RSH=ssh DISPLAY=localhost:33.0 FROM_HEADER= GPG_AGENT_INFO=/tmp/gpg-ukTaJL/S.gpg-agent:29638:1 G_BROKEN_FILENAMES=1 HISTSIZE=1000 HOME=/home/ha392 HOST=puma HOSTNAME=puma. HOSTTYPE=x86_64 INFODIR=/usr/local/info:/usr/share/info:/usr/info INFOPATH=/usr/local/info:/usr/share/info:/usr/info INPUTRC=/etc/inputrc JAVA_BINDIR=/usr/lib64/jvm/jre/bin JAVA_HOME=/usr/lib64/jvm/jre JAVA_ROOT=/usr/lib64/jvm/jre JRE_HOME=/usr/lib64/jvm/jre LANG=C.UTF-8 LC_ALL=C.UTF-8 LC_CTYPE=C.UTF-8 LD_LIBRARY_PATH=/usr/lib64/mpi/gcc/openmpi/lib64 LESS=-M -I LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME=ha392 LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: LS_OPTIONS=-N --color=tty -T 0 MACHTYPE=x86_64-suse-linux MAIL=/var/mail/ha392 MANPATH=/usr/lib64/mpi/gcc/openmpi/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man MINICOM=-c on MORE=-sl NNTPSERVER=news OSTYPE=linux PAGER=less PATH=/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home/fcm/bin PROFILEREAD=true PWD=/home/ha392/roses/u-bq497 PYTHONSTARTUP=/etc/pythonstart QT_SYSTEM_DIR=/usr/share/desktop-data SCRATCH=/export/puma/data-01/training/ha392 SHELL=/bin/ksh SHLVL=1 SSH_AGENT_PID=6909 SSH_AUTH_SOCK=/tmp/ssh-7O0erqMwbcKl/agent.6908 SSH_CLIENT=2.222.184.234 52762 22 SSH_CONNECTION=2.222.184.234 52762 134.225.0.17 22 SSH_SENDS_LOCALE=yes SSH_TTY=/dev/pts/33 TERM=xterm-256color UMDIR=/home/um USER=ha392 WINDOWMANAGER=/usr/bin/gnome XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/local/share:/usr/share:/etc/opt/kde3/share:/opt/kde3/share XKEYSYMDB=/usr/share/X11/XKeysymDB XNLSPATH=/usr/share/X11/nls _AST_FEATURES=UNIVERSE - att A__z=! PROFILEREAD="*SHLVL
Holly
comment:12 Changed 9 months ago by grenville
- Resolution set to fixed
- Status changed from new to closed
Outcome of discussion in CMS
it's the LANG var which gets exported to the remote host, which then sets the locale. Both archer and puma don't support C.UTF-8, pumatest always sets the locale to en_US.UTF-8 whatever value you set LANG too
setting export LANG="en_GB.UTF-8" on the local machine works
Hi Holly
Please try changing config_base to fcm:moci.x_tr, reload the suite & retrigger fcm_make_pp
(no need to worry about the suite.rc file - your suite sees ARCHER ok)
Grenville