You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Florian Konnertz <f....@gmail.com> on 2005/08/12 15:14:09 UTC

[users@httpd] fs permiss. prob err(13) in error_log and path missing

Hi apache users,


error_log:
[Fri Aug 12 13:04:59 2005] [error] [client 65.214.44.128] (13)Permission
denied: access to /index.html denied

In Browser:
Forbidden
You don't have permission to access /index.html on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
Apache/2.0.54 (Gentoo/Linux) Server at rocoto060.openspirit.de Port 80

This is a fresh install. DocumentRoot /var/www/localhost/htdocs
apache runs as apache/apache
permissions are:
index.html and htdocs 777; apache/apache
all parent dirs are a+x and also apache/apache except
/var i left as root/root but also a+x
so that should be fine.

I also tried with another DocumentRoot /public
and created /public/index.html
chmod 777 /public -R

The correct config file is used i checked via apache2 -V
apache restarted (init skript, ungracefully, also tried apachectl2

I wonder especially that in error_log there's only the request path, not as
stated in the docs and i'm used to the fs path.

Is it correct that error (13) is fs permission error?
To be sure that not access control is the prob i put
  <IfModule mod_access.c>
    Order allow,deny
    Allow from all
  </IfModule>
in Directory / additionally to Directory /var/www/localhost/htdocs where it is
the default.


What could i try next to track down the problem???


TIA
Florian

PS LogLevel i set to "debug" but it's not really verbose, just this one line
in the error_log....


-- 
http://florian-konnertz.de
http://openspirit.de - semantic web development

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: fs permiss. prob err(13) in error_log and path missing

Posted by Florian Konnertz <f....@gmail.com>.
Hi again people,

This is the strangest thing i've ever seen...
Thx to all on #apache irc who helped me. We had no chance, no idea
what's happening here.
I even tried installing other versions (2.0.51; .and .52), but always
the same...

Any idea would be greatly appreciated!
Florian


2005/8/12, Florian Konnertz <f....@gmail.com>:
> Hi apache users,
> 
(...)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] fs permiss. prob err(13) in error_log and path missing

Posted by Joshua Slive <js...@gmail.com>.
On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> 2005/8/12, Joshua Slive <js...@gmail.com>:
> > On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> > > 2005/8/12, Joshua Slive <js...@gmail.com>:
> > > > On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> > > > > Hi apache users,
> > > > >
> > > > >
> > > > > error_log:
> > > > > [Fri Aug 12 13:04:59 2005] [error] [client 65.214.44.128] (13)Permission
> > > > > denied: access to /index.html denied
> > > >
> > > > Do you have selinux installed?
> > > No. Simple gentoo installation
> >
> > Try su'ing to the User/Group specified in httpd.conf
> > and then cat the relevant index.html.>
> > Joshua.
> >
> rocoto060 ~ # su apache
> Cannot execute /bin/false: Permission denied
> rocoto060 ~ # ls -la /bin/false
> -rwxr-xr-x  1 root root 11276 Jul 30 13:19 /bin/false
> 
> what can that mean???

You have the apache user's shell set to /bin/false to prevent it from
logging in.  It isn't directly related to your apache problem.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] fs permiss. prob err(13) in error_log and path missing

Posted by Florian Konnertz <f....@gmail.com>.
2005/8/12, Joshua Slive <js...@gmail.com>:
> On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> > 2005/8/12, Joshua Slive <js...@gmail.com>:
> > > On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> > > > Hi apache users,
> > > >
> > > >
> > > > error_log:
> > > > [Fri Aug 12 13:04:59 2005] [error] [client 65.214.44.128] (13)Permission
> > > > denied: access to /index.html denied
> > >
> > > Do you have selinux installed?
> > No. Simple gentoo installation
> 
> Try su'ing to the User/Group specified in httpd.conf
> and then cat the relevant index.html.> 
> Joshua.
> 
rocoto060 ~ # su apache
Cannot execute /bin/false: Permission denied
rocoto060 ~ # ls -la /bin/false
-rwxr-xr-x  1 root root 11276 Jul 30 13:19 /bin/false

what can that mean???

thx
Florian

-- 
http://florian-konnertz.de
http://openspirit.de - semantic web development

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] fs permiss. prob err(13) in error_log and path missing

Posted by Joshua Slive <js...@gmail.com>.
On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> 2005/8/12, Joshua Slive <js...@gmail.com>:
> > On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> > > Hi apache users,
> > >
> > >
> > > error_log:
> > > [Fri Aug 12 13:04:59 2005] [error] [client 65.214.44.128] (13)Permission
> > > denied: access to /index.html denied
> >
> > Do you have selinux installed?
> No. Simple gentoo installation

Try su'ing to the User/Group specified in httpd.conf
and then cat the relevant index.html.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] fs permiss. prob err(13) in error_log and path missing

Posted by Florian Konnertz <f....@gmail.com>.
2005/8/12, Joshua Slive <js...@gmail.com>:
> On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> > Hi apache users,
> >
> >
> > error_log:
> > [Fri Aug 12 13:04:59 2005] [error] [client 65.214.44.128] (13)Permission
> > denied: access to /index.html denied
> 
> Do you have selinux installed?
No. Simple gentoo installation

> 
> Joshua.
> 


-- 
http://florian-konnertz.de
http://openspirit.de - semantic web development

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] fs permiss. prob err(13) in error_log and path missing

Posted by Joshua Slive <js...@gmail.com>.
On 8/12/05, Florian Konnertz <f....@gmail.com> wrote:
> Hi apache users,
> 
> 
> error_log:
> [Fri Aug 12 13:04:59 2005] [error] [client 65.214.44.128] (13)Permission
> denied: access to /index.html denied

Do you have selinux installed?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org