It's all about the answers!

Ask a question

"lscm status" cmd is not displaying the output in cmd line


mohan kumar (78930) | asked Mar 31 '14, 12:05 a.m.
edited Mar 31 '14, 12:12 a.m.
Hi
 
I have completed following steps using cmd line

1. login
2. create workspace
3. load items into sandbox

but when i give cmd as "lscm status" cmd line doesn't display anything

so what could be the problem

Accepted answer


permanent link
Krzysztof Kaźmierczyk (7.4k374103) | answered Mar 31 '14, 10:01 a.m.
Hi Mohan,
I found several similar questions on jazz.net regarding that:

https://jazz.net/forum/questions/100617/script-receives-failed-to-acquire-locks-on-requested-sandboxes-in-60000ms: Try setting the repository.timeout value in your preferences.properties file to a higher number.  See:
https://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Fr_scm_cli_preferences_properties.html

https://jazz.net/forum/questions/134315/what-is-the-basis-of-failed-to-acquire-locks-on-requested-sandboxes:
  1. Logout of any local sessions (lscm logout)
  2. Kill any running workspace daemons (scm daemon stop)
  3. Recycle my terminal session (start a new shell)

Let us know whether one it helps.
mohan kumar selected this answer as the correct answer

One other answer



permanent link
Krzysztof Kaźmierczyk (7.4k374103) | answered Mar 31 '14, 2:32 a.m.
Hi Mohan,
I would expect that this is correct behavior. As you have already created workspace, you should not have any changes there. Or I missed something?

You can try running also lscm status -v to confirm that lscm command works.

Let us know if that helps.

Comments
mohan kumar commented Mar 31 '14, 9:39 a.m.

 Hi Krzysztof,


Thank you for the response.I wasn't sure that was correct behavior so I posted this question in the forum

I executed the command lscm status -v which u suggested I got the output as given below

Local file system is consistent.
Problem running 'status':
Could not register sandboxes.
Failed to acquire locks on requested sandboxes in 60000ms.
An error has occurred. Kindly check the log for more details.
 


mohan kumar commented Mar 31 '14, 9:41 a.m. | edited Mar 31 '14, 9:41 a.m.
 There seems to be some sort of issue here which I am notable to find out.

Regards
Mohan 

Your answer


Register or to post 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.