On Mon, Aug 3, 2009 at 9:26 AM, Serge A. Salamanka<[email protected]> wrote: > > Dear support, > > I'm having a bit of a problem with setting up Sage public server with > several pool accounts. > > Everything is done according to recommendations on > http://wiki.sagemath.org/DanDrake/JustEnoughSageServer > except that I have to set up 750 permission for the group of sageusers > on /home/sageadm (chmod 750 /home/sageadm ) > Otherwise the notebook cells show error "Permission denied" > > So I have created dir /home/sageadm/sagenbfiles for notebook server and > setup 2775 permission. > > The server is run by the user sageadm with pool accounts of several > others with no password by ssh. > > I can sign up on the server and the interface but I can't execute simple > code "2-1" or anything other in the notebook cell. > It says: > " Traceback (most recent call last): 2-1 > NameError: name 'os' is not defined > There was an error loading the sage libraries. Try starting from the > command line to see what the error is."
Can you manually ssh to the pool accounts and type "sage" to run Sage? The pool accounts *must* be able to run Sage by just typing "sage". William > > well, you can check out yourself at > https://sagenb.sageworldmath.org:8000/ > > The point is when I run server with default dir in .sage and no pool > accounts, it works good. > But when I point to the dir outside of the /home/sageadm/.sage it shows > error. > > Any ideas ? > > I use Sage-4.1 (latest download) and Scientific Linux 5.3 > > # Serge > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
