Martin Wheldon wrote:
> Hi Folks,
> 
>    Repost of information. Hope I've got everything this time. Am I right
> in thinking it is an issue with Frontpage extensions

it certainly looks that way:

  > #0  0x403395f0 in strcmp () from /lib/libc.so.6
  > #1  0x4062f5d0 in frontpage_checkForStub (filename=0x0) at
  > /usr/local/frontpage/version5.0/apache2/mod_frontpage.c:677

>, if so is it
> possible to run both modules on the same server. 

I can't think of a reason why not.  I suspect that the problem may be with
the complex test setup rather than any real interaction difficulties when
both are configured for separate locations or directories.  that the
majority of the tests are just fine would seem to indicate that as well.

> Reason being I want to
> be able to offer both frontpage and asp(perl script) to my users?
> 
>   Hope you can help me with this one. Apologies if I've missed and
> critical information. If I have please let me know and I'll provide any
> additional that is required.

well, this may be a clue:

  [Tue Sep 07 15:30:48 2004] [error] (13)Permission denied: Can't clean
stale key files from directory "/usr/local/frontpage/version5.0/apache-fp"
in FrontPageCleanup().
  [Tue Sep 07 15:30:48 2004] [error] Not running as root in
FrontPageCheckup().  Until this problem is fixed, the FrontPage security
patch is disabled and the FrontPage extensions may not work correctly.

so, basically mod_frontpage is warning us that because the server is not
started as root things may go awry.

it's been a very long time since I've needed to run tests as root, but back
about a year or so ago adding this to the generated TEST.PL before run() is
called was sufficient to get the server running as root:

  use Apache::TestRunPerl ();
  use Apache::TestConfig ();


  # override root blocks
  local *Apache::TestConfig::default_user = sub { return 'root' };
  local *Apache::TestConfig::default_group = sub { return 'root' };


  # and that nasty chown stuff
  local *Apache::TestRun::adjust_t_perms = sub { 1 };

if you get the server running as root and those messages to disappear that
might be a help.  of course, the test suite isn't designed to run as root so
it may cause even more problems ;)

other than that, I really don't know what to say.  it's been a very long
time since I played with fpe on unix, so mostly what I remember is that it
is a royal pain to support :)  but that aside, if these are your only
failing tests, and all you plan on doing is adding Apache::ASP as a content
handler, and it is a low-volume site, I suspect that you would be just fine
to forge forward.  typical caveats apply :)

--Geoff

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to