On 16.05.2012 [09:38:26 -0700], Nishanth Aravamudan wrote:
> On 16.05.2012 [16:21:26 +0000], Spear, Raymond (Mission Critical Linux) wrote:
> > I made that change and all of the missing packages installed.
> > 
> > Unfortunately, /var/www/html/afe does not exist.
> 
> You mean, you get this in apache's log?
> 
> I just hit this yesterday -- and solved it by fixing the directory
> permissions on /usr/local/autotest. They were set so that others
> couldn't read or execute the directory, meaning they couldn't stat the
> UI files.

To be more explicit, /var/www/html/afe doesn't exist ever. If you look
in <autotest_dir>/apache/conf/afe-directives, there is a RewriteRule
that checks to see if various directories exist on the system and if so
rewrites /afe(.*) into a form that will invoke the GWT client.

Now, I found out that the RewriteCond for my system was evaluating to
false by modifying afe-directives to have

RewriteLog rewrite.log
RewriteLogLevel 5

and looking /etc/httpd/rewrite.log

Once I found that, I tried

sudo -u apache stat /usr/local/autotest/<path to directory containing client 
war>

and stat returned an error about permissions. This is when I checked out
the directory permissions on /usr/local/autotest and saw the issue.

In this particular installation attempt (which I did yesterday), I ran
the script as root. In the past I've run it as the autotest user and not
hit issues.

Thanks,
Nish

-- 
Nishanth Aravamudan <[email protected]>
IBM Linux Technology Center

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to