Re: msl with apache2: "Pre-configuration failed"
Mikkel Kruse Johnsen <[email protected]> Mon, 20 Oct 2003 09:53:26 +0200
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Organization | ITS |
| Message-ID | <[email protected]> |
--Boundary_(ID_f4VZuMi4dJNbKiMLoUDnnQ) Content-type: text/plain Content-transfer-encoding: 7BIT Hi Bill Remember to load the mod_log_spared module after you load the mod_log_config module. /Mikkel On Fri, 2003-10-17 at 17:57, Bill Montgomery wrote: > I've compiled and installed mod_log_spread, but can't get apache to load > the module and start successfully. I compiled/installed mod_log_spread.c > (v. 1.15.2.1) with: > apxs -i -a -c -l spread mod_log_spread.c > I'm running apache 2.0.47, and it has mod_so.c compiled in. I'm using > the spread library v. 3.17.01. > > The problem is that apache fails when loading the mod_log_spread module. > Using strace, the last interesting things that happens are as follows: > mls is loaded, libspread is loaded, my httpd.conf is read, then my > suexec program is stat'd. After the stat64(suexec,....) call, the > message "Pre-configuration failed" is printed, and the program cleans up > (munmap) and exits. > > I am unfamiliar with writing apache modules, so I could be missing > something very basic. What causes "Pre-configuration" to fail? Which > function in mod_log_spread.c is called during this pre-configuration? Or > is something external to mod_log_spread failing? I get this error by > only swapping mod_log_spread for mod_log_config and adding a > SpreadDaemon line in httpd.conf. > > TIA, > Bill Montgomery > > > _______________________________________________ > mls-users mailing list > [email protected] > http://lists.backhand.org/mailman/listinfo/mls-users -- Mikkel Kruse Johnsen <[email protected]> ITS --Boundary_(ID_f4VZuMi4dJNbKiMLoUDnnQ) Content-type: text/html; charset=utf-8 Content-transfer-encoding: 7BIT <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9"> </HEAD> <BODY> Hi Bill<BR> <BR> Remember to load the mod_log_spared module after you load the mod_log_config module.<BR> <BR> /Mikkel<BR> <BR> On Fri, 2003-10-17 at 17:57, Bill Montgomery wrote: <BLOCKQUOTE TYPE=CITE> <PRE><FONT COLOR="#737373"><I>I've compiled and installed mod_log_spread, but can't get apache to load the module and start successfully. I compiled/installed mod_log_spread.c (v. 1.15.2.1) with: apxs -i -a -c -l spread mod_log_spread.c I'm running apache 2.0.47, and it has mod_so.c compiled in. I'm using the spread library v. 3.17.01. The problem is that apache fails when loading the mod_log_spread module. Using strace, the last interesting things that happens are as follows: mls is loaded, libspread is loaded, my httpd.conf is read, then my suexec program is stat'd. After the stat64(suexec,....) call, the message "Pre-configuration failed" is printed, and the program cleans up (munmap) and exits. I am unfamiliar with writing apache modules, so I could be missing something very basic. What causes "Pre-configuration" to fail? Which function in mod_log_spread.c is called during this pre-configuration? Or is something external to mod_log_spread failing? I get this error by only swapping mod_log_spread for mod_log_config and adding a SpreadDaemon line in httpd.conf. TIA, Bill Montgomery _______________________________________________ mls-users mailing list [email protected]</FONT> <A HREF="http://lists.backhand.org/mailman/listinfo/mls-users"><U>http://lists.backhand.org/mailman/listinfo/mls-users</U></I></A></PRE> </BLOCKQUOTE> <PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> -- <BR> Mikkel Kruse Johnsen <<A HREF="mailto:[email protected]"><U>[email protected]</U></A>><BR> ITS </TD> </TR> </TABLE> </PRE> </BODY> </HTML> --Boundary_(ID_f4VZuMi4dJNbKiMLoUDnnQ)--