I noticed that killed ROS nodes are not being removed from "rosnode list".
When I used "rosnode info turtlesim", I saw:
...
So I added export ROS_HOSTNAME=localhost
After that "rosnode info turtlesim" give me:
...
Pid: 6178
I thought it was strange to see a different port number, but rosnode list started working.
Then I went to the next tutorial and did "roscore" while other roscore was running.
Then I noticed that "rosnode list" again doesn't work and "rosnode info turtlesim" now gives:
P.S. I'm using Fuerte with a fresh Ubuntu-12.04, 64-bit.