Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and troubleshooting of radosgw under Debian8

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "radosgw installation and troubleshooting under Debian8". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "radosgw installation and troubleshooting under Debian8".

Installation and troubleshooting of radosgw under # Debian8

Software version information

Apache2.4.10

Ceph version 0.94.3-228-g2b11a4c (2b11a4c07a9416a2f75c8ce62a923994977d799c)

Debian 8.2 64 bit (kernel:Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86-64)

Please refer to the official documentation for the specific installation process.

Several key configuration files

Cat / etc/ceph/ ceph.confession [global].... [client.rgw.demo] host = demokeyring = / etc/ceph/ceph.client.radosgw.demo.keyringrgw socket path = / var/run/ceph/ceph-client.rgw.demo.asoklog file = / var/log/radosgw/client.radosgw.demo.logrgw print continue = falsecat / etc/apache2/sites-available/rgw.confServerName demoDocumentRoot / var/www/htmlErrorLog / var/log/apache2/rgw_error.logCustomLog / var/log/apache2/rgw_ Access.log combined# LogLevel debugRewriteEngine OnRewriteRule. *-[Eleven HTTP automatic HTTP:Authorization}% {HTTP} L] SetEnv proxy-nokeepalive 1ProxyPass / unix:///var/run/ceph/ceph-client.rgw.demo.asok | fcgi://localhost:9000/ # Note here corresponds to the path of the asok file in the previous ceph.conf

Note that the official document misses the operation of disabling the default site. You need to execute a2dissite 000-default. The test found a 500th error, as shown below.

Curl http://10.0.2.15 500 Internal Server ErrorInternal Server Error

The server encountered an internal error ormisconfiguration and was unable to completeyour 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 availablein the server error log.

Apache/2.4.10 (Debian) Server at 10.0.2.15 Port 80tail-f / var/log/apache2/rgw_ error.log [proxy:warn] [pid 13025:tid 140558455908096] [client 10.0.2.15 Server at 33708] AH01144: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. [Thu Sep 17 13:53:20.416251 2015] [proxy:warn] [pid 13026:tid 140558358009600] [client 10.0.2.15:33713] AH01144: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. [Thu Sep 17 13:54:40.455318 2015] [proxy:warn] [pid 13025:tid 140558316046080] [client 10.0.2.15:33714] AH01144: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. [Thu Sep 17 14:09:23.823843 2015] [proxy:warn] [pid 13993:tid 140035573221120] [client 10.0.2.15:33716] AH01144: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. [Thu Sep 17 14:13:52.140677 2015] [proxy:warn] [pid 14308:tid 139872356669184] [client 10.0.2.15:33718] AH01144: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

To solve this problem, you need to open several key modules and restart the service, and there are still many official document pits.

A2enmod rewritea2enmod proxya2enmod proxy_fcgiservice apache2 restart

Note: the official document has made a major update to the configuration of apache2. The version before 2.4.9 directly uses fastcgi (mod_fastcgi), and after 2.4.10, it uses Unix Domain Socket (UDS) to factcgi (mod proxy_fcgi).

At this point, I believe you have a deeper understanding of the "radosgw installation and troubleshooting methods under Debian8". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report