I had similar issues. Do you get any message when running
/etc/init.d/radosgw start? you should be getting:
starting**radosgw.gateway....
or similar. If not, the radosgw process is not starting up. It doesn't
give much output to say what is wrong.
i found it was due to the actual hostname of the gateway not matching
the 'host' in ceph.conf. Check the output from running 'hostname'
command. it should match 'mon' as in your ceph.conf.
On 05/08/2014 10:31 AM, peng wrote:
Hey,
I have proceeded to use radosgw. I follow the instructions in
the document of ceph.com.
In rgw.conf , I write :
FastCgiExternalServer /var/www/html/s3gw.fcgi
-socket*/var/run/ceph/ceph.radosgw.gateway.fastcgi.sock *
And I have set the same socket-file in /etc/ceph/ceph.conf , like:
[client.radosgw.gateway]
host = mon
keyring = /etc/ceph/ceph.client.radosgw.keyring
*rgw socket path = /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock
* log file = /var/log/ceph/radosgw.log
rgw dns name = mon.gw.com
rgw enable ops log =true
But when I send request http://mon.gw.com , always encounter Http
Status 500 Internal Server Error.
Using tail -f the errorlog,I found :
[Thu May 08 17:30:42 2014] [error] [client 10.200.1.199] (2)No such
file or directory: FastCGI: failed to connect to server
"/var/www/html/s3gw.fcgi": *connect() failed*
[Thu May 08 17:30:42 2014] [error] [client 10.200.1.199] FastCGI:
incomplete headers (0 bytes) received from server
"/var/www/html/s3gw.fcgi"
[root@mon ceph]# ls -al /var/www/html/s3gw.fcgi
-rwxrwxrwx. 1 apache apache 81 May 8 13:21 /var/www/html/s3gw.fcgi
Can anyone help me to figure out what's wrong here.Thanks a lot.
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com