ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A
Ask Your Question

Kill other roscore/master processes

asked 2014-06-05 10:11:49 -0500

ROSwithNao gravatar image

I keep getting this error message when trying to run roscore:

roscore cannot run as another roscore/master is already running. Please kill other roscore/master processes before relaunching.

However, I only have one terminal window open. How could there already be a roscore running? I've tried quitting Terminal and restarting it and I've tried restarting my computer. It doesn't matter what I do - my computer thinks there is a roscore running even though there are no terminal windows open with roscore running in them. Is there a way to kill this invisible roscore so that I can run one in a window?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-23 13:14:50 -0500

Pototo gravatar image

On the terminal you can do:

killall -9 roscore

and also:

killall -9 rosmaster

that will completely stop them

edit flag offensive delete link more

answered 2014-06-05 10:33:47 -0500

dornhege gravatar image

This might be from another user. If it does happen even after a reboot, maybe you put something like roscore in your init files like .bashrc.

Check with e.g. rosnode list if there really is a rosmaster running.wh

ps aux|grep roscore should show you who started it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2014-06-05 10:11:49 -0500

Seen: 8,467 times

Last updated: Jan 23 '15