My apache conf is as follows cat /etc/apache2/httpd.conf ServerName radosgw01.swisstxt.ch cat /etc/apache2/sites-enabled/000_radosgw <VirtualHost *:80> ServerName *.radosgw01.swisstxt.ch # ServerAdmin {email.address} ServerAdmin servicedesk@xxxxxxxxxxx DocumentRoot /var/www RewriteEngine On RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1¶ms=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] <IfModule mod_fastcgi.c> <Directory /var/www> Options +ExecCGI AllowOverride All SetHandler fastcgi-script Order allow,deny Allow from all AuthBasicAuthoritative Off </Directory> </IfModule> AllowEncodedSlashes On ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log combined ServerSignature Off </VirtualHost> Default site is disabled cat /var/www/s3gw.fcgi #!/bin/sh exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway There are NO dns entries at the moment radosgw01.swisstxt.ch is entered in hosts file cheers Andi -----Original Message----- From: Yehuda Sadeh [mailto:yehuda@xxxxxxxxxxx] Sent: Dienstag, 20. August 2013 17:09 To: Fuchs, Andreas (SwissTXT) Cc: ceph-users@xxxxxxxxxxxxxx Subject: Re: failing on 0.67.1 radosgw install On Tue, Aug 20, 2013 at 7:34 AM, Fuchs, Andreas (SwissTXT) <Andreas.Fuchs@xxxxxxxxxxx> wrote: > Hi > > I succesfully setup a ceph cluster with 0.67.1, now I try to get the > radosgw on a separate node running > > Os=ubuntu 12.04 lts > Install seemed succesfull, but if I try to access the api I see the > following in the logs > > Apache2/error.log > > 2013-08-20 16:22:17.029064 7f927abdf780 -1 warning: unable to create > /var/run/ceph: (13) Permission denied > 2013-08-20 16:22:17.029343 7f927abdf780 -1 WARNING: libcurl doesn't > support curl_multi_wait() > 2013-08-20 16:22:17.029348 7f927abdf780 -1 WARNING: cross zone / > region transfer performance may be affected [Tue Aug 20 16:22:17 2013] [warn] FastCGI: (dynamic) server "/var/www/s3gw.fcgi" (pid 20793) terminated by calling exit with status '0' > > I can fix the /var/run/ceph permission error by > > sudo mkdir /var/run/ceph > sudo chown www-data /var/run/ceph > > but after restarting the services I still get: > > [Tue Aug 20 16:24:45 2013] [notice] FastCGI: process manager > initialized (pid 24276) [Tue Aug 20 16:24:45 2013] [notice] > Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 > mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations > [Tue Aug 20 16:25:25 2013] [warn] FastCGI: (dynamic) server > "/var/www/s3gw.fcgi" started (pid 24373) > 2013-08-20 16:25:25.760621 7f2a63aeb780 -1 WARNING: libcurl doesn't > support curl_multi_wait() > 2013-08-20 16:25:25.760628 7f2a63aeb780 -1 WARNING: cross zone / > region transfer performance may be affected [Tue Aug 20 16:25:25 2013] [warn] FastCGI: (dynamic) server "/var/www/s3gw.fcgi" (pid 24373) terminated by calling exit with status '0' > > Also I have over time more and more of those processes: > > /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway > > Ceph auth list shows > > client.radosgw.gateway > key: checked witj keyfile and correct > caps: [mon] allow rw > caps: [osd] allow rwx > > config is: > > [client.radosgw.gateway] > host = radosgw01, radosgw02 > keyring = /etc/ceph/keyring.radosgw.gateway rgw_socket_path = > /tmp/radosgw.sock log_file = /var/log/ceph/radosgw.log rgw_dns_name = > radosgw01.swisstxt.ch > > Can you provide your apache site setup? _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com