Notebook not working properly on Solaris 10.

18 views
Skip to first unread message

Dr. David Kirkby

unread,
Nov 7, 2009, 6:02:07 AM11/7/09
to sage-...@googlegroups.com
I built Sage 4.2 on Solaris 10 on a Sun Netra T1 running the first release of
Solaris 10.

Whilst computing things like 1+1 work fine in command line mode, they do not
work in the notebook. The input is accepted in the notebook, but no output is
ever displayed.

See screenshot (sorry, I should have cropped it first), at:

http://sage.math.washington.edu/home/kirkby/Sage-4.2-on-Solaris-10.png

Here is the commands typed. Note, I'm running this on a different machine to
where the browser is. The browser is running on an OpenSolaris (x86) machine,
and the sage binary on a Solaris 10 (SPARC) machine.


drkirkby@kestrel:~/sage-4.2$ ./sage
----------------------------------------------------------------------
| Sage Version 4.2, Release Date: 2009-10-24 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: sage: notebook(address='', server_pool=['sage1@localhost'],ulimit='-v
500000', accounts=True)
**********************************************************************
WARNING: Running the notebook insecurely not on localhost is dangerous
because its possible for people to sniff passwords and gain access to
your account. Make sure you know what you are doing.
**********************************************************************
The notebook files are stored in: sage_notebook.sagenb
**********************************************************************
WARNING: Insecure notebook server listening on external address.
Unless you are running this via ssh port forwarding, you are
**crazy**! You should run the notebook with the option secure=True.
**********************************************************************
**************************************************
* *
* Open your web browser to http://localhost:8000 *
* *
**************************************************
/export/home/drkirkby/sage-4.2/local/lib/python2.6/site-packages/twisted/persisted/sob.py:12:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import os, md5, sys
2009-11-07 10:48:09+0000 [-] Log opened.
2009-11-07 10:48:09+0000 [-] twistd 8.2.0
(/export/home/drkirkby/sage-4.2/local/bin/python 2.6.2) starting up.
2009-11-07 10:48:09+0000 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2009-11-07 10:48:09+0000 [-] twisted.web2.channel.http.HTTPFactory starting on 8000
2009-11-07 10:48:09+0000 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0x3a05238>
/export/home/drkirkby/sage-4.2/local/bin/sage-native-execute: xdg-open: not found
2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] got EOF subprocess must
have crashed...
2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] The authenticity of host
'localhost (127.0.0.1)' can't be established.
2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] RSA key fingerprint is
55:45:b6:ed:05:bb:e1:be:21:0a:0a:93:87:15:4d:41.
2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] Are you sure you want to
continue connecting (yes/no)?
2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] import
os;os.chdir("/tmp/tmpnMPbma");
2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11]
execfile("_sage_input_2.py")Host key verification failed.
2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11]
2009-11-07 10:49:42+0000 [HTTPChannel,1,192.168.1.11] got EOF subprocess must
have crashed...
2009-11-07 10:49:42+0000 [HTTPChannel,1,192.168.1.11] The authenticity of host
'localhost (127.0.0.1)' can't be established.
2009-11-07 10:49:42+0000 [HTTPChannel,1,192.168.1.11] RSA key fingerprint is
55:45:b6:ed:05:bb:e1:be:21:0a:0a:93:87:15:4d:41.
2009-11-07 10:49:42+0000 [HTTPChannel,1,192.168.1.11] Are you sure you want to
continue connecting (yes/no)?
2009-11-07 10:49:42+0000 [HTTPChannel,1,192.168.1.11] import
os;os.chdir("/tmp/tmpZmv353");
2009-11-07 10:49:42+0000 [HTTPChannel,1,192.168.1.11]
execfile("_sage_input_2.py")Host key verification failed.
2009-11-07 10:49:42+0000 [HTTPChannel,1,192.168.1.11]
2009-11-07 10:49:52+0000 [HTTPChannel,0,192.168.1.11] got EOF subprocess must
have crashed...
2009-11-07 10:49:52+0000 [HTTPChannel,0,192.168.1.11] The authenticity of host
'localhost (127.0.0.1)' can't be established.
2009-11-07 10:49:52+0000 [HTTPChannel,0,192.168.1.11] RSA key fingerprint is
55:45:b6:ed:05:bb:e1:be:21:0a:0a:93:87:15:4d:41.
2009-11-07 10:49:52+0000 [HTTPChannel,0,192.168.1.11] Are you sure you want to
continue connecting (yes/no)?
2009-11-07 10:49:52+0000 [HTTPChannel,0,192.168.1.11] import
os;os.chdir("/tmp/tmpu7K3JK");
2009-11-07 10:49:52+0000 [HTTPChannel,0,192.168.1.11]
execfile("_sage_input_2.py")Host key verification failed.
2009-11-07 10:49:52+0000 [HTTPChannel,0,192.168.1.11]
2009-11-07 10:51:05+0000 [HTTPChannel,1,192.168.1.11] got EOF subprocess must
have crashed...
2009-11-07 10:51:05+0000 [HTTPChannel,1,192.168.1.11] The authenticity of host
'localhost (127.0.0.1)' can't be established.
2009-11-07 10:51:05+0000 [HTTPChannel,1,192.168.1.11] RSA key fingerprint is
55:45:b6:ed:05:bb:e1:be:21:0a:0a:93:87:15:4d:41.
2009-11-07 10:51:05+0000 [HTTPChannel,1,192.168.1.11] Are you sure you want to
continue connecting (yes/no)?
2009-11-07 10:51:05+0000 [HTTPChannel,1,192.168.1.11] import
os;os.chdir("/tmp/tmptpRDpF");
2009-11-07 10:51:05+0000 [HTTPChannel,1,192.168.1.11]
execfile("_sage_input_2.py")Host key verification failed.
2009-11-07 10:51:05+0000 [HTTPChannel,1,192.168.1.11]

Here's what the log shows

Worksheet 'first-worksheet' (2009-11-07 at 09:34)
{{{id=1|
factorial(100)
///
}}}

Worksheet 'first-worksheet' (2009-11-07 at 09:34)
{{{id=1|
factorial(100)
///
}}}

Worksheet 'first-worksheet' (2009-11-07 at 09:42)
{{{id=-2|

///
}}}

Worksheet 'Untitled' (2009-11-07 at 09:45)
{{{id=1|
12+23
///
}}}

Worksheet 'Untitled' (2009-11-07 at 09:45)
{{{id=2|

///
}}}

Worksheet 'test' (2009-11-07 at 10:38)
{{{id=1|
12*322323
///
}}}

Worksheet 'test' (2009-11-07 at 10:38)
{{{id=2|
factorial(100)
///
}}}

Worksheet 'test' (2009-11-07 at 10:41)
{{{id=1|
12*322323
///
}}}

Worksheet 'test' (2009-11-07 at 10:43)
{{{id=2|
factorial(100)
///
}}}

Worksheet 'test' (2009-11-07 at 10:43)
{{{id=3|

///
}}}

Worksheet 'Untitled' (2009-11-07 at 10:44)
{{{id=1|
12*23
///
}}}

Worksheet 'Untitled' (2009-11-07 at 10:44)
{{{id=2|
12+2
///
}}}

Worksheet 'Untitled' (2009-11-07 at 10:44)
{{{id=3|
factorial(100)
///
}}}

Worksheet 'Untitled' (2009-11-07 at 10:49)
{{{id=1|
23*12
///
}}}

Worksheet 'Untitled' (2009-11-07 at 10:49)
{{{id=2|
1+3223
///
}}}

Worksheet 'Untitled' (2009-11-07 at 10:49)
{{{id=3|
factorial(100)
///
}}}

Worksheet 'Untitled' (2009-11-07 at 10:51)
{{{id=4|
12+2
///
}}}


Any ideas??

Dave

Willem Jan Palenstijn

unread,
Nov 7, 2009, 6:12:30 AM11/7/09
to sage-...@googlegroups.com
On Sat, Nov 07, 2009 at 11:02:07AM +0000, Dr. David Kirkby wrote:
>
> I built Sage 4.2 on Solaris 10 on a Sun Netra T1 running the first release of
> Solaris 10.
>
> Whilst computing things like 1+1 work fine in command line mode, they do not
> work in the notebook. The input is accepted in the notebook, but no output is
> ever displayed.
>
>[...]

>
> 2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] got EOF subprocess must
> have crashed...
> 2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] The authenticity of host
> 'localhost (127.0.0.1)' can't be established.
> 2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] RSA key fingerprint is
> 55:45:b6:ed:05:bb:e1:be:21:0a:0a:93:87:15:4d:41.
> 2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] Are you sure you want to
> continue connecting (yes/no)?
> 2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11] import
> os;os.chdir("/tmp/tmpnMPbma");
> 2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11]
> execfile("_sage_input_2.py")Host key verification failed.
> 2009-11-07 10:49:32+0000 [HTTPChannel,2,192.168.1.11]

It looks like the ssh connection is failing. Try if it works after first
manually ssh-ing to sage1@localhost once to answer the 'Are you sure you want
to continue connecting?' question.


-Willem Jan

David Kirkby

unread,
Nov 9, 2009, 2:04:33 AM11/9/09
to sage-...@googlegroups.com
2009/11/7 Willem Jan Palenstijn <w...@usecode.org>:

That did fix it. I did not actually logm in as sage1@localhost, since
I would not have known any password for 'sage1' as there was no user
'sage1' in /etc/paswd, but I did say "yes" to the 'Are you sure you


want to continue connecting?'" question.

Is this only observed on Solaris? It seems strange that it should be.

This should be documented, since it is far from obvious for someone to
know how to solve - or perhaps I am just thick!

Every attempt I ever made to build Sage on my Sun Blade 2000 has
always resulted in there being no server running on port 8000. This
time, where I used another machine to build Sage, the server did at
least run. But there could be many reasons this has behaviour has
changed.

* A Sun Netra T1 was used not a Blade 2000 (Both are SPARC though).
* My Blade 2000 runs the latest Solaris 10 - this machine the first
version of Solaris 10.
* This time browser and host were on different computers.
* I believe you have made some changes to the notebook in Sage
recently, though whether that includes the server I do not know.
* This was built using gcc 4.4.2 - every other attempt has been made
with an older gcc, though recent attempts have used 4.4.1, so the
changes should be minimal.

I'm not at home now (I had to go to my fathers yesterday to use his
Internet connection, as mine had failed and I was scheduled to play a
game of chess for a team).

When I get home later today, I'll implement Gonzalo Tornaria's
suggestions to changes for the script that builds the binary, and move
the resulting binary to another machine to test it out.

If you want, I could create a zone on 't2' and run the server publicly on 't2'.

Dave.

Reply all
Reply to author
Forward
0 new messages