On 01/06/13 12:55, Arno Töll wrote:
Hi,

On 01.06.2013 12:43, Emilio Pozuelo Monfort wrote:
AH00558: apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.1.1. Set the 'ServerName' directive
globally to suppress this message

That's harmless. If you want to fix it, make 127.0.1.1 resolve to a name
in your /etc/hosts.

Similarly with dav://127.0.1.1 I get:

Try http://127.0.1.1. If that works, try to temporarily enable error
logging in your bundled configuration and see if that gives more insight.

I should have said that I tried dav://127.0.1.1 in nautilus. I have tried http://127.0.1.1 in chromium without any luck:

Chromium's connection attempt to 127.0.1.1 was rejected. The website may be down, or your network may not be properly configured.

http://httpd.apache.org/docs/current/mod/core.html#errorlog

I uncommented LogLevel info and I get this:

[Sat Jun 01 15:38:23.342513 2013] [auth_digest:notice] [pid 26868] AH01757: generating secret for digest authentication ... [Sat Jun 01 15:38:23.343104 2013] [mpm_prefork:notice] [pid 26868] AH00163: Apache/2.4.4 (Debian) configured -- resuming normal operations [Sat Jun 01 15:38:23.343114 2013] [mpm_prefork:info] [pid 26868] AH00164: Server built: May 31 2013 10:04:32 [Sat Jun 01 15:38:23.343127 2013] [core:notice] [pid 26868] AH00094: Command line: '/usr/sbin/apache2 -f /usr/share/gnome-user-share/dav_user_2.4.conf -C Listen 46143' [Sat Jun 01 15:38:39.234208 2013] [authz_core:error] [pid 26870] [client 192.168.1.6:49134] AH01627: AuthType configured with no corresponding authorization directives

That's including me trying to access http://127.0.1.1

Just tried accessing 127.0.1.1:46143 and got an http page like:

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log."

So I went back to the log file and there was:

[Sat Jun 01 15:38:23.343127 2013] [core:notice] [pid 26868] AH00094: Command line: '/usr/sbin/apache2 -f /usr/share/gnome-user-share/dav_user_2.4.conf -C Listen 46143' [Sat Jun 01 15:38:39.234208 2013] [authz_core:error] [pid 26870] [client 192.168.1.6:49134] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:42:28.708621 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58825] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:42:28.796789 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58826] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:42:56.229479 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58827] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:09.656725 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58836] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:10.738242 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58837] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:10.793627 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58838] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:14.916288 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58843] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:14.968701 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58844] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:18.898076 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58845] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:30.375463 2013] [authz_core:error] [pid 26870] [client 127.0.0.1:58900] AH01627: AuthType configured with no corresponding authorization directives [Sat Jun 01 15:43:31.352886 2013] [authz_core:error] [pid 27241] [client 127.0.0.1:59009] AH01627: AuthType configured with no corresponding authorization directives

Looks like an authentication issue

Also, how does your configuration look like?

This is the one shipped with gnome-user-share 3.8.0 with mod_unixd.so commented 
out:

$ cat /usr/share/gnome-user-share/dav_user_2.4.conf
ServerRoot ${XDG_CONFIG_HOME}/user-share
DefaultRuntimeDir ${XDG_CONFIG_HOME}/user-share
PidFile pid
LogLevel crit
#LogLevel info
ErrorLog log
DAVLockDB lock

LimitXMLRequestBody 100000

#LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so
LoadModule mpm_prefork_module ${HTTP_MODULES_PATH}/mod_mpm_prefork.so
LoadModule dav_module ${HTTP_MODULES_PATH}/mod_dav.so
LoadModule dav_fs_module ${HTTP_MODULES_PATH}/mod_dav_fs.so
LoadModule authn_core_module ${HTTP_MODULES_PATH}/mod_authn_core.so
LoadModule authn_file_module ${HTTP_MODULES_PATH}/mod_authn_file.so
LoadModule auth_digest_module ${HTTP_MODULES_PATH}/mod_auth_digest.so
LoadModule authz_core_module ${HTTP_MODULES_PATH}/mod_authz_core.so
LoadModule authz_user_module ${HTTP_MODULES_PATH}/mod_authz_user.so
LoadModule authz_groupfile_module ${HTTP_MODULES_PATH}/mod_authz_groupfile.so
LoadModule dnssd_module ${HTTP_MODULES_PATH}/mod_dnssd.so

DNSSDEnable on
DNSSDAutoRegisterVHosts Off
DNSSDAutoRegisterUserDir Off

<VirtualHost *>
  DocumentRoot ${XDG_PUBLICSHARE_DIR}

  <Location />
    DAV On

    AuthType Digest
    AuthName "${GUS_LOGIN_LABEL}"
    AuthDigestDomain /

    AuthDigestProvider file
    AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
    AuthGroupFile /usr/share/gnome-user-share/dav_groupfile

    <IfDefine RequirePasswordAlways>
      Require user guest
      Require group guest
    </IfDefine>

    <IfDefine RequirePasswordOnWrite>
      <LimitExcept GET OPTIONS PROPFIND>
        Require user guest
        Require group guest
      </LimitExcept>
    </IfDefine>

    DNSSDServiceName "${GUS_SHARE_NAME}"
    DNSSDServiceTypes _webdav._tcp
    DNSSDServiceTxtRecord u=guest
  </Location>
</VirtualHost>

StartServers 1
MaxClients 3

<IfModule mpm_prefork_module>
  MinSpareServers 1
  MaxSpareServers 1
</IfModule>

<IfModule mpm_worker_module>
  MinSpareThreads 1
  MaxSpareThreads 1
  ThreadsPerChild 3
</IfModule>

<IfModule mpm_event_module>
  MinSpareThreads 1
  MaxSpareThreads 1
  ThreadsPerChild 3
</IfModule>

$ cat /usr/share/gnome-user-share/dav_groupfile
guest: guest


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to