Ask Your Question
0

Installation/update issue: Another Sage Notebook server is running

asked 2017-06-07 00:11:23 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

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?

edit retag flag offensive close merge delete

Comments

As an aside, if you can find the process id of the sage server running, you can use top or ps ax to list the running processes on your computer, and then kill -9 PID where you replace the PID with the processes running these.

kcrisman gravatar imagekcrisman ( 2017-06-07 15:05:41 +0100 )edit

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.

smbelcas gravatar imagesmbelcas ( 2017-06-07 20:16:12 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-06-07 20:17:43 +0100

smbelcas gravatar image

Uninstall all versions of Sage, including .sage/sage_notebook.sagenb in the home directory. Then reinstall the newest version of Sage. That should work! (Or rather, past self, I just did that, and it did work.)

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

Stats

Asked: 2017-06-07 00:11:23 +0100

Seen: 480 times

Last updated: Jun 07 '17