View unanswered posts | View active topics It is currently Sat May 25, 2013 11:46 pm



Reply to topic  [ 10 posts ] 
 How do I quit the server? 
Author Message

Joined: Feb 12, 2005
Posts: 253
Location: New Jersey
Post 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
Profile

Joined: Dec 08, 2006
Posts: 6
Location: San Francisco
Post 
Does this not work for you?

tell application "IndigoServer" to quit


Fri Dec 08, 2006 4:03 pm
Profile WWW

Joined: Feb 12, 2005
Posts: 253
Location: New Jersey
Post 
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
Profile
User avatar

Joined: Dec 29, 2005
Posts: 585
Location: Third byte on the right
Post 
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
Profile WWW

Joined: Feb 12, 2005
Posts: 253
Location: New Jersey
Post 
IndigoServer is not listed in the Force Quit dialog.
George


Sat Dec 09, 2006 7:39 am
Profile
User avatar

Joined: Dec 29, 2005
Posts: 585
Location: Third byte on the right
Post 
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
Profile WWW

Joined: Feb 12, 2005
Posts: 253
Location: New Jersey
Post 
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
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11698
Location: Texas
Post 
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
Profile WWW

Joined: Feb 12, 2005
Posts: 253
Location: New Jersey
Post 
Ah, silly me, I had the "auto relaunch if crash" box checked.
George


Sat Dec 09, 2006 9:48 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11698
Location: Texas
Post 
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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.