Installation/update issue: Another Sage Notebook server is running
I have a mystery in updating Sage on a MacBook Air. (To be precise, I'm updating it on three MacBook Airs; two of them have Sage working fine, but the third...) Both Sage 7.6 and 7.2 are installed. Sage 7.2 worked fine on this machine before today, as far as I know. I updated the operating system to Sierra and then installed Sage 7.6 (yes, the OS 12.3 version).
When I start up Sage, I get the "Starting, please wait..." page, and then the localhost:8080 page tries to load, but I get "The connection was refused when attempting to contact localhost:8080." The first thing I checked was the security settings; there are no firewalls or anything on the machine. The next thing I checked was looking at sage.log, and here there is the statement Another Sage Notebook server is running, PID 365.
Now: I quit Sage 7.6 and tried running Sage 7.2 and got the same results (meaning the same error messages.) I looked to see whether there was a process with PID 365 under Activity Monitor, and there was---followupd. I restarted the machine, started Sage 7.6, got the same results, and... now PID 365 is a WiFiproxy (because I've restarted the machine) so that is definitely not a Sage notebook server.
I will completely believe that a past user of this machine (possibly me) has done something stupid that is causing the problem... but what?
As an aside, if you can find the process id of the sage server running, you can use
top
orps ax
to list the running processes on your computer, and thenkill -9 PID
where you replace thePID
with the processes running these.The problem was that (a) in the process list, there was only one Sage-related process, and (b) the PID listed by Sage was something different.