RTC SCM CLI is disconnected from daemon
Mickey Roash (90●2●16●16)
| asked Sep 11 '11, 3:56 p.m.
retagged Jun 04 '12, 10:13 a.m. by Evan Hughes (2.4k●13●18)
Hi ,
I am trying to use CLI to do some action on first I run this command lscm login -r https://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u mickeyr@il.ibm.com -c after one or two commands e.g. llscm -a y list streams -r local I am getting the following error: L:\StmOO\RTC\7531>lscm status -d L:\StmOO\RTC\7531 Problem running 'status': Could not login to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as "mickeyr@i l.ibm.com". Already logged in as "MICKEYR@il.ibm.com". Run "lscm logout" and retry. this is the output of the commands that I execute after this error L:\StmOO\RTC\7531> lscm ls cred -v # uri, user id, repository nickname, password stored https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/, mickeyr@il.ibm.com, local, <No>, <No>, <Password> L:\StmOO\RTC\7531>scm ls daemon Port Description 54942 Jazz CLI (3.0.1.v20110602_1036) L:\StmOO\RTC\7531 Can please advice what I am doing wrong ? Thanks, Mickey |
5 answers
The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com).
Can you try login with MICKEYR@il.ibm.com? Which version of rtc client are you using? Hi , |
Hi ,
I am using RTC 3.0.1 : it did not help, this what I get when tried with uppercase: C:\Windows\system32>lscm login -r ttps://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u MICKEYR@il.ibm.com -c Password (MICKEYR@il.ibm.com @ https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/): Problem running 'login': Could not log in to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as user MICK EYR@il.ibm.com: CRJAZ0124I Invalid username or password. anyway, My problem was that I was able to login successfully and even run one or two commands ,but after that it gave me the error that I mention in the first thread " Already logged in as ...." Thanks, Mickey The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com). Hi , |
Hi ,
Can someone advice ? Thanks, Mickey Hi , The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com). Hi , |
The scm cli checks whether the logged in user id is the same as the one inferred from the sandbox (for the status command) or inferred from the "-r" option if it was specified. As mentioned earlier the repository returned user id has a different case and the compare fails.
I am not sure why the first couple of subcommands pass. Once the subcommand fails with the error does the earlier commands that used to work still pass if you try it again? Hi , Hi , The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com). Hi , |
Hi ,
I tried again with uppercase ID and now it is NOT disconnected!!! I probably did typo on the password . I do not know why the "lscm login" command working with both uppercase and lowercase ID ,but I am happy now . Thanks, Mickey The scm cli checks whether the logged in user id is the same as the one inferred from the sandbox (for the status command) or inferred from the "-r" option if it was specified. As mentioned earlier the repository returned user id has a different case and the compare fails. Hi , Hi , The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com). Hi , |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.