| Author |
Message |
|
gmusser
Joined: Feb 12, 2005 Posts: 253 Location: New Jersey
|
 How do I quit the server?
Is there a way to quit the server other than the dialog box within the client? The reason is that I run Indigo on my laptop and would like my location-manager software to automatically quit the server when it detects that I've moved to a different WLAN. Right now, the only way I've found to do this is to run Indigo in unitary mode rather than client-server mode.
George
|
| Wed Dec 06, 2006 3:42 pm |
|
 |
|
schrambo
Joined: Dec 08, 2006 Posts: 6 Location: San Francisco
|
Does this not work for you?
tell application "IndigoServer" to quit
|
| Fri Dec 08, 2006 4:03 pm |
|
 |
|
gmusser
Joined: Feb 12, 2005 Posts: 253 Location: New Jersey
|
No, it doesn't -- the server just hangs. In the Activity Monitor, it appears in red, "not responding". Trying to relaunch it again from the client fails. A reboot is necessary.
George
|
| Sat Dec 09, 2006 12:05 am |
|
 |
|
macpro
Joined: Dec 29, 2005 Posts: 585 Location: Third byte on the right
|
When the server hangs, you can use a "force quit" in the Activity Monitor to stop the Indigo server.
Then you won't have to reboot the Mac.
_________________ "I tawt I taw a puddy tat!" Tweety
|
| Sat Dec 09, 2006 4:12 am |
|
 |
|
gmusser
Joined: Feb 12, 2005 Posts: 253 Location: New Jersey
|
IndigoServer is not listed in the Force Quit dialog.
George
|
| Sat Dec 09, 2006 7:39 am |
|
 |
|
macpro
Joined: Dec 29, 2005 Posts: 585 Location: Third byte on the right
|
But Indigo Server is listed in the Activity Monitor.
Select the Indigo Server process and click the Stop button.
Then you can select to either quit or force quit the process.
_________________ "I tawt I taw a puddy tat!" Tweety
|
| Sat Dec 09, 2006 8:13 am |
|
 |
|
gmusser
Joined: Feb 12, 2005 Posts: 253 Location: New Jersey
|
Nope, that doesn't work either: the IndigoServer entry turns red and the parenthetical remark "(Not responding)" appears, but it remains on the list. I admit that I haven't yet tried kill from the command line, but none of this should be needed to begin with!
George
|
| Sat Dec 09, 2006 8:47 am |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11698 Location: Texas
|
Hi George,
It sounds like IndigoServer has gotten into a bad state. I suggest you restart your Mac. I've seen this happen before when a driver-level problem occurs. It prevents the OS from allowing the server process to be killed.
After you reboot, try the AppleScript technique again:
tell app "IndigoServer" to quit
That should work...
Regards,
Matt
|
| Sat Dec 09, 2006 9:05 am |
|
 |
|
gmusser
Joined: Feb 12, 2005 Posts: 253 Location: New Jersey
|
Ah, silly me, I had the "auto relaunch if crash" box checked.
George
|
| Sat Dec 09, 2006 9:48 am |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11698 Location: Texas
|
If that option is checked, then you can have the OS unload that launchctl item via the command line:
launchctl unload -w "~/Library/LanchAgents/com.perceptiveautomation.IndigoServer2.plist"
And if you want to restart it, you can:
launchctl load -w "~/Library/LanchAgents/com.perceptiveautomation.IndigoServer2.plist"
Regards,
Matt
|
| Sat Dec 09, 2006 10:09 am |
|
|