[sage-support] Re: sage -wiki not starting

2008-09-23 Thread Adam Webb


  ^^^ This is some sort of permission error. Are you running SELinux or
  something like that?


Just to confirm. SELinux was added to the computer. I am now
'negotiating' with IT. :-)

cheers,
Adam
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
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
-~--~~~~--~~--~--~---



[sage-support] Re: sage -wiki not starting

2008-09-23 Thread mabshoff



On Sep 22, 11:32 pm, Adam Webb [EMAIL PROTECTED] wrote:
   ^^^ This is some sort of permission error. Are you running SELinux or
   something like that?

Hi Adam,

 Just to confirm. SELinux was added to the computer. I am now
 'negotiating' with IT. :-)

good luck negotiating :). You can relabel all the files so that Sage
and SELinux can play well together, but adding new pages to the wiki
might prove difficult since those new files need to inherit the right
ACLs.

 cheers,
 Adam

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
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
-~--~~~~--~~--~--~---



[sage-support] Re: sage -wiki not starting

2008-09-23 Thread Adam Webb

Hi,


^^^ This is some sort of permission error. Are you running SELinux or
something like that?


It turns out that although SELinux is installed it is actually
disabled because it interferes to much and since I live behind a
firewall it deemed unneeded. So I am back to square one.

At the moment I went into the last file in the traceback: sage/local/
lib/python2.5/site-packages/twisted/python/util.py and put in a
statement to set setgroups and getgroups to None. If I understand the
comments, this forces the case where the OS does not support this. My
initial test is that this works but I have no idea what the side
effects might be.

Adam
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
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
-~--~~~~--~~--~--~---



[sage-support] Re: sage -wiki not starting

2008-09-22 Thread Adam Webb



 It works for me:

 sage: wiki()
 **
 *                                                *
 * Open your web browser tohttp://localhost:9000*
 *                                                *
 **
 2008-09-22 09:30:32-0700 [-] Log opened.
 2008-09-22 09:30:32-0700 [-] twistd 8.1.0 (//scratch/mabshoff/release-
 cycle/sage-3.1.3.alpha1/local/bin/python 2.5.2) starting up
 2008-09-22 09:30:32-0700 [-] reactor class: class
 'twisted.internet.selectreactor.SelectReactor'
 2008-09-22 09:30:32-0700 [-] MoinMoin.server.twistedmoin.MoinSite
 starting on 9000
 2008-09-22 09:30:32-0700 [-] Starting factory
 MoinMoin.server.twistedmoin.MoinSite instance at 0x2b944c8f7830
 2008-09-22 09:30:32-0700 [-] set uid/gid 1090/1090




 ^^^ This is some sort of permission error. Are you running SELinux or
 something like that?



I don't so but I was upgraded from SDL 5 to 5.1 and something may have
changed. I am not the administrator so it is possible that something
like selinux has been added or policy changed without telling me. I
would guess that you are probably right and I will ask the
administrator.

Cheers,
Adam
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
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
-~--~~~~--~~--~--~---