maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   You must close your other Scratchbox sessions first (https://talk.maemo.org/showthread.php?t=32203)

AlexBrown 2009-09-29 16:02

You must close your other Scratchbox sessions first
 
I get this message when I try to switch between DIABLO_ARM and DIABLO_X86 targets. How do I close the other scratchbox session? I've tried 'sb-conf ka', I've even tried logging out. Same thing happens in sb-menu.

"You must close your other Scratchbox sessions first"


Thanks,
Alex

Nathan 2009-09-29 19:47

Re: You must close your other Scratchbox sessions first
 
LOL, easist (safest) solution that I've found when I got that message was to reboot.

You can also do the following
- Logout of any active SB sessions you have open,
- shutdown the SB service,
- kill any remaining SB related stuff hanging around
- startup the SB service.
But if you get more weird issues; then you will reboot.

SB is very finicky and uses a lot of behind the scenes "voodoo" to perform its magic, including mounting folders into other folders. And I've seen it get into a weird state where the sb service is partially working after a simple service restart.

So, the safest "solution" that I always use has been just restart the virtual machine I use..

Nathan.

Frank Banul 2009-09-29 19:56

Re: You must close your other Scratchbox sessions first
 
I'm not in front of my scratchbox but if you do a sb-menu, there is a KillAll option that always does the trick for me.

Frank

AlexBrown 2009-09-29 20:19

Re: You must close your other Scratchbox sessions first
 
Thanks, I did try rebooting and sb-menu but neither worked so I ended up completely reinstalling everything -- it's no easy task getting rid of everything, I kept getting errors saying that /scratchbox/sbin/sb-adduser was not executable.

I'm up and running now and (for the moment at least) can switch between targets at will.

Thanks again,
Alex

qwerty12 2009-09-29 21:32

Re: You must close your other Scratchbox sessions first
 
"sb-conf killall --signal=9"

Replace 9 with a nicer number if you wish; I like being trigger-happy.


All times are GMT. The time now is 14:30.

vBulletin® Version 3.8.8