<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div><br>
I believe Andreas meant to say etc/passwd.<br>
<br>
<br>
The key thing here is resolving that uid/gid.  That output suggests it failed.<br>
<br>
It doesn't have to be in passwd if you're using ldap or some other auth setup, but you do have to be able to look up that uid/gid.
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> lustre-discuss <lustre-discuss-bounces@lists.lustre.org> on behalf of Andrus, Brian Contractor <bdandrus@nps.edu><br>
<b>Sent:</b> Thursday, January 26, 2017 9:06:56 AM<br>
<b>To:</b> Dilger, Andreas<br>
<b>Cc:</b> lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> Re: [lustre-discuss] putting web pages on lustre mount</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">It comes back with:<br>
<br>
# L_GETIDENTITY_TEST=true l_getidentity -d 48<br>
uid=48 gid=48<br>
permissions:<br>
  nid                   perm<br>
<br>
<br>
The only thing in /etc/hosts is the localhost. Everything else is via DNS that is all there (forward/reverse/aliases, etc)<br>
<br>
Brian Andrus<br>
ITACS/Research Computing<br>
Naval Postgraduate School<br>
Monterey, California<br>
voice: 831-656-6238<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Dilger, Andreas [<a href="mailto:andreas.dilger@intel.com">mailto:andreas.dilger@intel.com</a>]
<br>
Sent: Wednesday, January 25, 2017 5:25 PM<br>
To: Andrus, Brian Contractor <bdandrus@nps.edu><br>
Cc: lustre-discuss@lists.lustre.org<br>
Subject: Re: [lustre-discuss] putting web pages on lustre mount<br>
<br>
On Jan 25, 2017, at 16:36, Andrus, Brian Contractor <bdandrus@nps.edu> wrote:<br>
> <br>
> We’ve been using lustre for some time with great success, but I recently tried moving some hosted web pages from a gluster mount to a lustre mount and suddenly they don’t work, giving an error:<br>
>  <br>
> [core:error] [pid 8769] (13)Permission denied: [client xxx.xxx.yyy.zzz:56341] AH00035: access to /yum/7/ denied (filesystem path '/opt/yum/7') because search permissions are missing on a component of the path<br>
>  <br>
> Thing is, the permissions/ownership are exactly the same as the gluster mount. Is there a particular mount setting that needs done so apache can serve pages on a lustre mount?<br>
<br>
Is the web server UID/GID in the /etc/hosts file on the MDS so that the l_getidentity upcall can find them?  Try running on the MDS as root:<br>
<br>
L_GETIDENTITY_TEST=true l_getidentity -d {uid}<br>
<br>
and verify that the user can be found.<br>
<br>
Cheers, Andreas<br>
--<br>
Andreas Dilger<br>
Lustre Principal Architect<br>
Intel Corporation<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</div>
</span></font>
</body>
</html>