Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Restart an unresponsive Timbuktu host via SSH Apps
I administer a remote server via Timbuktu, but occasionally the Timbuktu host stops responding. Here is a way to restart the remote Timbuktu service via the Terminal. This hint assumes that the remote host has "Remote Login" enabled. Open a terminal window and connect to the remote host via ssh:
ssh LoginName@www.servername.com
You will be asked to provide the password for the remote computer. Next, we need to find the process ID (PID) of Timbuktu:
ps -aux
You can quickly find the process ID of the Timbuktu host by finding "Timbuktu" with the Terminal's find function (robg adds: or just add | grep "Timbuktu" to the end of the above command). Now kill the Timbuktu process (make sure to substitute the process ID for your Timbuktu, and don't use "377" as shown):
sudo kill 377
You will be asked for the root password when you do this. Now enter the following to restart timbuktu:
sudo /System/Library/Frameworks/Carbon.framework/Versions/
  A/Support/LaunchCFMApp '/Applications/Timbuktu Pro/
  Timbuktu Pro.app/Contents/SharedSupport/Timbuktu Extension' &
The above should be entered as one long line, and the only spaces are after sudo and before '/Applications....

And you are all set!
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[11,735 views]  

Restart an unresponsive Timbuktu host via SSH | 10 comments | Create New Account
Click here to return to the 'Restart an unresponsive Timbuktu host via SSH' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use systemstarter instead
Authored by: vonleigh on Jun 19, '03 11:24:51AM
Instead of having to remember that long command (or find a place to copy it from), to relaunch timbuktu use:

% sudo SystemStarter start TimbuktuHost

[ Reply to This | # ]
Use systemstarter instead
Authored by: kate on Jun 22, '03 09:16:49AM

Does this also work with a stuck Finder.app ?

So far I did not find a way to restart the Finder through ssh when needed.



[ Reply to This | # ]
Restart an unresponsive Timbuktu host via SSH
Authored by: eagle on Jun 19, '03 11:45:40AM

I restart Timbuktu with:

sudo /Library/StartupItems/TimbuktuStartup/TimbuktuStartup

:)



[ Reply to This | # ]
Restart an unresponsive Timbuktu host via SSH
Authored by: sophistry on Jun 19, '03 12:42:41PM

http://www.opensource.apple.com/projects/documentation/howto/html/System-Starter_HOWTO.html



[ Reply to This | # ]
Restart an unresponsive Timbuktu host via SSH
Authored by: macubergeek on Jun 19, '03 10:46:55PM

can you also do
sudo kill -HUP <pid> to restart the process?



[ Reply to This | # ]
Restart an unresponsive Timbuktu host via SSH
Authored by: sophistry on Jun 08, '04 11:19:54AM

I tried to use this hint with timbuktu 7.0.3 on panther 10.3.4. It doesn't work anymore. Neither do the system starter hints. Names and paths must have changed. I couldn't find any up-t-date information anywhere on the web.

I figured it out, however.

Here is how I restart Timbuktu 7.0.3 host program:

open -a Timbuktu\ Host



[ Reply to This | # ]
Restart an unresponsive Timbuktu host via SSH
Authored by: sophistry on Jun 24, '04 03:15:51PM

you might also try:

open -a Timbuktu\ Pro.app



[ Reply to This | # ]
Restart an unresponsive Timbuktu host via SSH
Authored by: jdmuys on Nov 15, '05 03:05:27AM

open doesn't really work, because it will indeed launch Timbuktu, but Timbuktu will request the administrator password on the remote machine screen, and will be stuck there.

Is there a way in general to launch an administrator app with the admin password on the command line?

I tried 'sudo open...' but it didn't work (MacOS X 10.4.3).

J-D



[ Reply to This | # ]
Restart an unresponsive Timbuktu host via SSH
Authored by: msilverman on Nov 15, '05 08:49:18AM
To restart a crashed Timbuktu host from the SSH command line (or to start Timbuktu if it simply isn't running for whatever reason) you can use the built-in TimbuktuInstaller tool, which is part of the Timbuktu application package.

This is the syntax if Timbuktu is located in the usual place:

sudo '/Applications/Timbuktu Pro/Timbuktu Pro.app/Contents/SharedSupport/TimbuktuInstaller' '/Applications/Timbuktu Pro/Timbuktu Pro.app'

basically the command is "path to the TimbuktuInstaller tool" followed by "Path to the Timbuktu app package"

The TimbuktuInstaller tool is the "official" way to start the Timbuktu host, and it is actually the thing which Timbuktu's Push service uses to work its magic.

[ Reply to This | # ]

Restart an unresponsive Timbuktu host via SSH
Authored by: jordan314 on Feb 20, '06 03:54:24PM

I just wanted to say that this last comment is what actually worked for me with timbuktu 8.5. Sweet! Thanks!!
(Again the command is:)
sudo '/Applications/Timbuktu Pro/Timbuktu Pro.app/Contents/SharedSupport/TimbuktuInstaller' '/Applications/Timbuktu Pro/Timbuktu Pro.app'

(Timbuktu outputs in the command line:)
Replacing existing host.
Launching /Applications/Timbuktu Pro/Timbuktu Pro.app/Contents/SharedSupport/Timbuktu Host.app/Contents/MacOS/Timbuktu Host with bootstrap port 8707.
Waiting for host to come up.
Host came up.
Installing StartupItem or SystemLoginItem.
Installer exiting.



[ Reply to This | # ]