source bashrc returns illegal variable name.

305 views
Skip to first unread message

MINGHAO YAN

unread,
Aug 2, 2024, 12:54:07 PM8/2/24
to cloudlab-users
Hi,

I have been using d8545 nodes for a while. However, starting from yesterday, when I perform source .bashrc, it would return Illegal variable name. At first I thought this might be due to my modification to the file. I terminated the instances and restarted for a few times, but the problem persists even if I do not change anything in the file. I have been using the default small-ian profile with Ubuntu 20.04.

How should I proceed to fix this issue?

Thank you,
Minghao

Leigh Stoller

unread,
Aug 2, 2024, 2:03:56 PM8/2/24
to cloudlab-users

> I have been using d8545 nodes for a while. However, starting from yesterday, when I perform source .bashrc, it would return Illegal variable name. At first I thought this might be due to my modification to the file. I terminated the instances and restarted for a few times, but the problem persists even if I do not change anything in the file. I have been using the default small-ian profile with Ubuntu 20.04.
>
> How should I proceed to fix this issue?

Hi. We have not seen this problem before, so we will need a link to the
experiment status page of an experiment that exhibits this problem.

Thanks
Leigh

MINGHAO YAN

unread,
Aug 2, 2024, 2:26:35 PM8/2/24
to cloudlab-users
Hi,

Thank you for getting back! Here is the experiment status page:


I have been getting d8545-10s10305 or d8545-10s10501 after terminating and relaunching the nodes. The problem persists on both nodes.

Thanks again,
Minghao

David M Johnson

unread,
Aug 2, 2024, 2:46:05 PM8/2/24
to cloudla...@googlegroups.com
By default, your login shell is `tcsh`... so you cannot run `source
.bashrc` without first entering a `bash` shell; this seems most likely
to be the reason for the error. (Your .bashrc `source`'d fine for me
from a `bash` shell.)

You can change your default login shell to `bash` via
https://www.cloudlab.us/myaccount.php .

David
> --
> You received this message because you are subscribed to the Google
> Groups "cloudlab-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cloudlab-user...@googlegroups.com
> <mailto:cloudlab-user...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cloudlab-users/e1e1c8ce-8b07-4cda-93a4-feaeab7cc854n%40googlegroups.com <https://groups.google.com/d/msgid/cloudlab-users/e1e1c8ce-8b07-4cda-93a4-feaeab7cc854n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages