dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]mod_dgee port to Apache2 (was Re: DGEE boot failure)


From: Taher Sehli
Subject: [DotGNU]mod_dgee port to Apache2 (was Re: DGEE boot failure)
Date: 14 Jul 2003 03:57:55 +0200

On Thu, 2003-07-10 at 23:46, Andrew Mitchell wrote:
> On Thu, Jul 10, 2003 at 07:30:13PM +0000, Chris Smith wrote:
> > On Monday 07 July 2003 18:51, Taher Sehli wrote:
> > > Is there anyone working to port mod_dgee to Apache2, If No let me help in
> > > this issue as I have experience with Apache modules development.
> > 
> > Yes, ajmitch is working on it.  I'm sure any offered help would be, um, 
> > helpful.
> Help is greatly desired! :) I have little/no experience with apache modules,
> and am just trying for a straight port. This has been shelved temporarily due
> to time constraints.

Hi,
I begin porting mod_dgee.c to Apache2 and just finished it. Now mod_dgee
compile and I can load it in Apache2. unfortunately i was not able to
test it as I have permanent goldwater start failure (i will describe
this error later in this message).
When porting mod_dgee I tried to keep the same function names as for
Apache1.3 while changing their prototypes. The Apache2 module structure
is really different than Apache1.3 (many functions/structure renamed or
removed) so I think we should keep it in a different file and choose the
right one on compilation time based on Apache version.
The code is far from clean but I was excited to finish it and get a
working thing...The mod_dgee.c is attached in this message (if this is
not the right way to submit work please instruct me how to do so i can
do so).

About goldwater start failure :
as I mentioned earlier, I can't start goldwater , here's what is
happening when I try to start:

shell> dgadmin start
User/group running administrator does not match that in configuration.
Error Initialising Administrator (Invalid user name)

so I su to root and try again (after sourcing dgeeenv.sh) :
shell> dgadmin start
Initialising local Goldwater administrative processes....
Initialising process Guardian....

when I look in the log directory (there isn't any file !). In fact it's
not running because when i try :
shell> dgadmin boot
Error Initialising Administrator (Goldwater is not running) 

I am almost sure that all environment variables are OK; and ipcs
resources are also OK. While goldwater not running I can see queues
allocated to anybody user: 
shell> ipcs
------ Semaphore Arrays --------
key        semid      owner      perms      nsems     
0x00004e20 196608     nobody    600        4         

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages    
0x00000000 327680     nobody     600        0            0   

I tried to use gdb (although am not familiar with it) to see what is
happening :

shell>gdb goldwater
...
(gdb) run start
Starting program: /usr/local/bin/goldwater start
Initialising local Goldwater administrative processes....
Initialising process Guardian....
Couldn't get registers: Operation not permitted.

I think the last message is due to a bug in gdb (I saw some messages in
internet about this gdb bug).

Chris can you help me please with this problem as it permits to test the
port to Apache2. I am ready to all options including uninstalling and
reinstalling dgee from the scratch.

Regards.

Attachment: mod_dgee.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]