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
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to