Hello Wido
yes , the is my /etc/cep/ceph.conf
and yes radosgw.ceph-rgw-02 is the running instance .
root@ceph-rgw-02:/var/log/ceph# ps -ef | grep -i rgw
ceph 17226 1 0 14:02 ? 00:00:01 /usr/bin/radosgw --cluster=ceph --id rgw.ceph-rgw-02 -f --setuser ceph --setgroup ceph
Thanks
Yair Magnezi
Storage & Data Protection TL // Kenshoo
Office +972 7 32862423 // Mobile +972 50 575-2955
__________________________________________
On Mon, Mar 13, 2017 at 4:06 PM, Wido den Hollander <wido@xxxxxxxx> wrote:
> Op 13 maart 2017 om 15:03 schreef Yair Magnezi <yair.magnezi@xxxxxxxxxxx>:
>
>
> Hello Cephers .
>
> I'm trying to modify the civetweb default port to 80 but from some
> reason it insists on listening on the default 7480 port
>
> My configuration is quiet simple ( experimental ) and looks like this :
>
>
> [global]
> fsid = 00c167db-aea1-41b4-903b-69b0c86b6a0f Are you sure this is in /etc/ceph/ceph.conf?
> mon_initial_members = ceph-osd-01 ceph-osd-02
> mon_host = 10.83.1.78,10.83.1.79
> auth_cluster_required = cephx
> auth_service_required = cephx
> auth_client_required = cephx
> public_network = 10.83.1.0/24
> rbd default features = 3
> #debug ms = 1
> #debug rgw = 20
>
> [client.radosgw.ceph-rgw-02]
> host = ceph-rgw-02
> keyring = /etc/ceph/ceph.client.radosgw.keyring
> log file = /var/log/radosgw/client.radosgw.gateway.log
> rgw_frontends = "civetweb port=80"
>
>
In addition, are you also sure the RGW is running as user 'radosgw.ceph-rgw-02' ?
Wido
> after restart still the same :
>
> root@ceph-rgw-02:/var/log/ceph# netstat -an | grep 80 > *tcp 0 0 0.0.0.0:7480 <http://0.0.0.0:7480>
> 0.0.0.0:* LISTEN*
> *2017-03-13 13:45:14.115639 7fbdb2e6c900 0 starting handler: civetweb*> tcp 0 0 10.83.1.100:56697 10.83.1.79:6804
> ESTABLISHED
> tcp 0 0 10.83.1.100:59482 10.83.1.79:6800
> TIME_WAIT
> tcp 0 0 10.83.1.100:33129 10.83.1.78:6804
> ESTABLISHED
> tcp 0 0 10.83.1.100:56318 10.83.1.80:6804
> TIME_WAIT
> tcp 0 0 10.83.1.100:56324 10.83.1.80:6804
> ESTABLISHED
> tcp 0 0 10.83.1.100:60990 10.83.1.78:6800
> ESTABLISHED
> tcp 0 0 10.83.1.100:60985 10.83.1.78:6800
> TIME_WAIT
> tcp 0 0 10.83.1.100:56691 10.83.1.79:6804
> TIME_WAIT
> tcp 0 0 10.83.1.100:33123 10.83.1.78:6804
> TIME_WAIT
> tcp 0 0 10.83.1.100:59494 10.83.1.79:6800
> ESTABLISHED
> tcp 0 0 10.83.1.100:55924 10.83.1.80:6800
> ESTABLISHED
> tcp 0 0 10.83.1.100:57629 10.83.1.80:6789
> ESTABLISHED
>
>
> Besides that it also looks like the service tries to start the fcgi (
> besides the civetweb ) is there a reason for that ? ( fastcgi & Apache are
> not installed ) ?
>
>
> 2017-03-13 13:44:35.938897 7f05f3fd7700 1 handle_sigterm set alarm for 120
> 2017-03-13 13:44:35.938916 7f06692c7900 -1 shutting down
> 2017-03-13 13:44:36.170559 7f06692c7900 1 final shutdown
> 2017-03-13 13:45:13.980814 7fbdb2e6c900 0 deferred set uid:gid to
> 64045:64045 (ceph:ceph)
> 2017-03-13 13:45:13.980992 7fbdb2e6c900 0 ceph version 10.2.6
> (656b5b63ed7c43bd014bcafd81b001 959d5f089f), process radosgw, pid 16995
> 2017-03-13 13:45:14.117003 7fbd8ffff700 0 -- 10.83.1.100:0/3241919968
> submit_message mon_subscribe({osdmap=48}) v2 remote, 10.83.1.78:6789/0,
> failed lossy con, dropping message 0x7fbd78011cc0
> 2017-03-13 13:45:14.117644 7fbd8ffff700 0 monclient: hunting for new mon
> *2017-03-13 13:45:14.120767 7fbdb2e6c900 0 starting handler: fastcgi*
> *2017-03-13 13:45:14.123000 7fbd09f7b700 0 ERROR: no socket server point
> defined, cannot start fcgi frontend*
>
>
> Any idea what do i miss here
>
>
> ceph version --> 10.2.6
> ceph-rgw-02 is the gateway .
>
> Many Thanks
>
> Yair
>
> --
> This e-mail, as well as any attached document, may contain material which
> is confidential and privileged and may include trademark, copyright and
> other intellectual property rights that are proprietary to Kenshoo Ltd,
> its subsidiaries or affiliates ("Kenshoo"). This e-mail and its
> attachments may be read, copied and used only by the addressee for the
> purpose(s) for which it was disclosed herein. If you have received it in
> error, please destroy the message and any attachment, and contact us
> immediately. If you are not the intended recipient, be aware that any
> review, reliance, disclosure, copying, distribution or use of the contents
> of this message without Kenshoo's express permission is strictly prohibited.
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph. com
This e-mail, as well as any attached document, may contain material which is confidential and privileged and may include trademark, copyright and other intellectual property rights that are proprietary to Kenshoo Ltd, its subsidiaries or affiliates ("Kenshoo"). This e-mail and its attachments may be read, copied and used only by the addressee for the purpose(s) for which it was disclosed herein. If you have received it in error, please destroy the message and any attachment, and contact us immediately. If you are not the intended recipient, be aware that any review, reliance, disclosure, copying, distribution or use of the contents of this message without Kenshoo's express permission is strictly prohibited.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com