groupToRunAs failure on Fedora 1-64

Adam DePrince <[email protected]>
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
I've run into a problem starting Skunkweb 3.4b5 on Fedora Core 1 x64. 
Almost certainly a python issue, but it is worth menioning.  

When listening to port 80 I follow the recommendations regarding the
setting of user params in swmgr and sw.conf.  When I start I see this on
my console over and over again.

  SkunkWeb exited abnormally! -- check the error log file
  for details

and this in my error.log file (please forgive the long copy and paste):

[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR: File
"/home/adam/bin/skunkweb",
line 97, in ?
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:    
SkunkWeb.Server.start()
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:   File
"/home/adam/lib/SkunkWeb/Server.py", line 159, in start
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:     svr.mainloop()
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:   File
"/home/adam/lib/pylibs/ProcessMgr/ProcessMgr.py", line 147, in mainloop
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:     self._spawn()
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:   File
"/home/adam/lib/pylibs/ProcessMgr/ProcessMgr.py", line 204, in _spawn
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:     self.run()
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:   File
"/home/adam/lib/SkunkWeb/Server.py", line 88, in run
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:     os.setgid(gid)
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR:
[Fri, 30 Apr 2004 15:37:16 GMT] [11772]  ERROR: exceptions.OSError: 

Removal of the groupToRunAs option makes this go away, but with the
obvious problem of not being able to set your group.

Environment:

AMD64 running Fedora 1 for AMD64
Python 2.3.3 compiled with GCC 3.4.0 (installed via profiled-boot-strap)
Egenix 2.0.5 compiled with GCC 3.4.0
Skunkweb 3.4b5 configured with --without-mod_skunkweb (compiled and
installed against the python and gcc versions described above)


-- 
Adam DePrince <[email protected]>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.