ROSCORE doesn't start on ROS_MASTER
Hi everyone. I am new to ROS and its large community.
My question may be simple but after a thorough research on internet, I cannot find an answer to my problem. Basically, I have a host laptop (GS63) and ros master (Husky). The details are below:
Husky: 192.168.131.1
GS63: 192.168.131.99
ROS_MASTER_URI=http//:192.168.131.1:11311/
ROS_IP=192.168.131.99
The problem is whenever I run:
roscore
on my Husky, I get the following error:
... logging to /home/administrator/.ros/log/8c8dd558-f641-11ec-893a-675445159788/roslaunch-Cypector-1649.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://Cypector:41833/
ros_comm version 1.15.14
PARAMETERS
* /rosdistro: noetic
* /rosversion: 1.15.14
NODES
RLException: roscore cannot run as another roscore/master is already running.
Please kill other roscore/master processes before relaunching.
The ROS_MASTER_URI is http://Cypector:11311/
The traceback for the exception was written to the log file
I know that I have to kill other roscore processes. But there are no any other roscore processes running at the moment. Even so, I killed all of them by running:
killall -9 roscore
and
killall -9 rosmaster
After this, when I run:
roscore
I still get the same error:
RLException: roscore cannot run as another roscore/master is already running. Please kill other roscore/master processes before relaunching. The ROS_MASTER_URI is http://Cypector:11311/ The traceback for the exception was written to the log file
I have no idea what is going on and cannot find an solution to this loop. Please help.
Thanks