Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After downloading Juju and playing around with it a little bit, my curiosity is satisfied. I decided to move on to other endeavors and uninstall Juju, although despite my best efforts a piece of Juju lives on in my syslog (on system boot):

kernel: [   16.509086] init: juju-jon-sample-file-storage main process (2163) terminated with status 1
kernel: [   16.509113] init: juju-jon-sample-file-storage main process ended, respawning
kernel: [   16.680103] init: juju-jon-sample-file-storage main process (2164) terminated with status 1
kernel: [   16.680138] init: juju-jon-sample-file-storage main process ended, respawning
kernel: [   16.873943] init: juju-jon-sample-file-storage main process (2165) terminated with status 1
kernel: [   16.873965] init: juju-jon-sample-file-storage respawning too fast, stopped

...actual number is much greater, but you get the idea, also present is the identical errors replaced with juju-jon-sample-machine-agent.

I tried

sudo apt-get remove juju
sudo apt-get purge juju
sudo apt-get autoremove

and

sudo update-rc.d juju remove
sudo update-rc.d juju-jon-sample-machine-agent remove
sudo update-rc.d juju-jon-sample-file-storage remove

Any ideas how to remove my that last piece of Juju stuck to my syslog? I am running 12.04 64 bit. Thanks in advance.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Juju installs some upstart files for local provider environments. Prior to removing juju it can be removed via juju destroy-environment for each local environment. Post removal that the upstart files can be removed from /etc/init by hand, their prefixed with the environment name and user name. update-rc.d doesn't work with upstart files afaik.

share|improve this answer
add comment

what you are missing is:

stop juju-jon-sample-file-storage

This will tell upstart to stop respawning the service. Then, you can safely delete the file /etc/init/juju-jon-sample-file-storage.

The other is not respawning, so should not be a problem in your logs or won't be seen dangling in your process list.

Hope this helps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.