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 -0600

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


I met the same problem. There is no roscore or rosmaster running. But I met this error whenever I run roscore.

ToughMind gravatar imageToughMind ( 2017-06-04 21:50:43 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

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

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 -0600

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 -0600

Seen: 13,633 times

Last updated: Jun 04