<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Wow. This did it for me! Funny thing is, APXS ***still*** reported
failure, but Apache::Test installed fine, and then Apache::Request did
as well. Thanks Rich.<br>
<br>
E-<br>
<br>
Richard Gration wrote:<br>
<blockquote type="cite" cite="mid200312041727.57324.richard@zync.co.uk">
<pre wrap="">Sorry, managed to reply to the OP instead of the list.
---------- Forwarded Message ----------
On Thursday 04 December 2003 04:30, Don Brett wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm running into the same problem others have. All Apache tests fail
while installing
Apache::Request, complaining about Apache::Test, which refuses to
install. Any suggestions? Thanks,
Don
</pre>
</blockquote>
<pre wrap=""><!---->
I also had the same issues when installing Apache::Test. I eventually found
out that the problem is permissions.
Usually, perl mods have to be installed as root. My .cpan directory is in
root's home directory. People familiar with apache might already have sniffed
the problem from this. Apache runs as a particular user, usually httpd,
sometimes apache (thanks RedHat). This user needs read access to any
directory it serves content from. Permissions on root's home directory (like
all other home directories) are usually 700. The test suite for Apache::Test
fires up a test httpd on some port, and then tries to request a page from it.
But this page is somewhere in the .cpan directory, which is very often in a
directory which the httpd user does not have read access to. So the response
code is 5xx (Forbidden or Access Denied, can't remember), which the test
suite interprets as a failure to install the module or run the httpd server,
therefore it bombs out. This is why a force install usually doesn't cause any
problems, because most often the install goes OK, it's just the test that
fails.
Various solutions present themselves:
1. Put .cpan in a world readable directory, maybe /tmp
2. "chmod 755 /root" before installation and "chmod 700 /root" afterwards (or
wherever your .cpan is)
3. Cross your fingers and force the install
HTH
Rich
-------------------------------------------------------
_______________________________________________
rt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rt-users@lists.fsck.com">rt-users@lists.fsck.com</a>
<a class="moz-txt-link-freetext" href="http://lists.fsck.com/mailman/listinfo/rt-users">http://lists.fsck.com/mailman/listinfo/rt-users</a>
Have you read the FAQ? The RT FAQ Manager lives at <a class="moz-txt-link-freetext" href="http://fsck.com/rtfm">http://fsck.com/rtfm</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr width="100%" size="2"> Ethan Kiczek<br>
Information Technology Manager<br>
Weatherhead Center for International Affairs<br>
617-496-3772<br>
Email: <a href="mailto:ekiczek@wcfia.harvard.edu">ekiczek@wcfia.harvard.edu</a><br>
Web site: <a href="http://www.wcfia.harvard.edu">http://www.wcfia.harvard.edu</a><br>
<br>
</div>
</body>
</html>