I have not run on puma2 for about 2 months. When I tried to run a previously working suite, I have been getting a series of errors. First, it was similar to the error found here about
“modtime1 = os.stat(tmpfile).st_mtime
TypeError: coercing to Unicode: need string or buffer, int found”
When I looked in my .ssh on archer2, my ssh files were missing. I have added them again. No idea why they were not there. I checked the steps on setting up your ssh agent and everything looks okay.
When I run the suite on puma 2 I am getting the error
Hi Ros,
Thanks for picking this up. Much appreciated!
[penmaher@puma2 u-dm681]$ ssh ln03
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0640 for ‘/home/n02/n02/penmaher/.ssh/id_rsa_archer’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key “/home/n02/n02/penmaher/.ssh/id_rsa_archer”: bad permissions
penmaher@ln03’s password:
it then does not accept the password for the file that I know is correct.
It won’t accept the passphrase because the file permissions of your keys are too open, it then defaults to asking for you ARCHER2 password. Please change the permission on your ~/.ssh directory and files:
puma2 $ chmod g-r ~/.ssh
Also make sure that the private keys within the .ssh directory are 600 pemissions (rw to only you).
I am now back to my original problem of running a suite, having it fail to run with the following error, which I believe is still a SSH error:
Traceback (most recent call last):
File “/home4/home/n02-puma/fcm/metomi/cylc-7.8.12/bin/cylc-cat-log”, line 439, in
main()
File “/home4/home/n02-puma/fcm/metomi/cylc-7.8.12/bin/cylc-cat-log”, line 435, in main
tmpfile_edit(out, options.geditor)
File “/home4/home/n02-puma/fcm/metomi/cylc-7.8.12/bin/cylc-cat-log”, line 265, in tmpfile_edit
modtime1 = os.stat(tmpfile).st_mtime
TypeError: coercing to Unicode: need string or buffer, int found
There is no HPC resource for n02-NEW005875. We moved into a new accounting year on 1st April 2025 and there was no HPC resource application submitted for the GreenBlock project for Apr25-Mar26.
Hi Ros,
Thanks for the reply. I contacted Grenville directly to get the updated project code and now the suite is working as expected. Thank you for your help!
Penny