我正在CentOS7上部署openstack,并且部署好的每个服务和模块。 但是当我键入http://<controller-ip>/dashboard ,几分钟后,出现错误消息500 "Internal Server Error" 。 我查了/var/log/httpd/error_log ,看到错误信息是: [2009年10月10日10:05:55.743509 2017] [:错误] [pid 27541]证书CN和虚拟名称的configuration错误。 证书CN有localhost4.localdomain4。 我们期待控制器作为虚拟名称。 我的/ etc / hosts的内容是: 127.0.0.1 localhost 10.1.79.116 controller 192.168.2.22 controller 192.168.2.21 compute01 更新:通过以下这些链接,我仍然有上面提到的问题: https://www.linode.com/docs/security/ssl/ssl-apache2-centos https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-httpd-secure-server.html https://docs.openstack.org/keystone/latest/admin/identity-certificates-for-pki.html https://docs.openstack.org/project-deploy-guide/openstack-ansible/ocata/app-advanced-config-sslcertificates.html 现在我感到困惑,我不知道该怎么办。 任何帮助,将不胜感激。
我希望你能帮助,我只是一个初学者! 我列出了一些可能不相关的额外细节。 我使用ASCII码FTP95Pro将cgi脚本上传到Apache / 2.2.10服务器上的本地/个人目录。 脚本在terminal会话中使用perl在我的web服务器上正确执行。 因此,我的代码没有致命的语法错误。 在/ cgi-bin /中的每个cgi脚本都会有网页的“操作”。 有系统目录文件链接到我的本地目录文件的符号链接。 FollowSymLinks已启用(不确定如何)。 权限是正确的(755)。 这个设置显然没有改变。 这些脚本已经完成了多年,直到2010年。但现在,在2010年,我已经用新的脚本/文件replace了工作脚本,现在具有完全相同的文本,文件名和权限。 只有date(上次修改)已更改。 但现在我收到一个500内部服务器错误,并不能确定为什么。 我的服务器pipe理员假设我有代码错误。 但是自去年以来,代码并没有改变,并且它在web服务器控制台上使用perl myscript.cgi运行正常(尽pipe没有参数) 有什么你可以想到的可能已经改变? 我怀疑新的十年。 我认为服务器去年从Linux交换到Windows操作系统,但我的服务器pipe理员得到它一切正常。 有没有什么不寻常的,他可能错过了,与2010年有关?
我已经迁移到一个新的服务器,当我尝试使用我的网站与www前缀我得到一个500内部服务器错误。 这个用法在我以前的主机上工作就好了。 这是htaccess文件的一个片段,它引用了www – 没有其他地方引用www。 <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^blog/ – [L] RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC] RewriteRule ^(.*)$ http://mydomain.com/$1 RewriteRule ^search/(.*)/(.*)/(.*)/(.*) /search.php?searchfor=$1&sortby=$2&page=$3&searchterm=$4 RewriteRule ^confirmemail/(.*) /confirmemail.php?code=$1 RewriteRule ^resetpassword/(.*) /resetpassword.php?code=$1 RewriteRule ^resendconfirmation/(.*) /resendconfirmation.php?userid=$1 RewriteRule ^categories/ /categories.php RewriteRule ^([-_~*a-zA-Z0-9]+)(\/)?$ /memberprofile.php?username=$1 RewriteRule ^browse/audios/(.*)/(.*)/(.*)/(.*) /audios.php?sortby=$1&filter=$2&page=$3&title=$4 RewriteRule ^browse/categories/audios/(.*)/(.*)/(.*)/(.*) /categoryaudios.php?sortby=$1&filter=$2&page=$3&title=$4 RewriteRule ^audios/(.*)/(.*) /playaudio.php?audioid=$1&title=$2 RewriteRule ^download/audio/(.*)/(.*) /downloadaudio.php?AUDIOID=$1&title=$2 RewriteRule ^members/audios/(.*)/(.*) /memberaudios.php?pid=$1&username=$2 RewriteRule ^syndicate/audios/(.*)/(.*) […]
获取500错误,可能是由于我的PHP脚本中的错误。 出于某种原因,当我有一个错误,它不会输出它,它只是给我一个500错误。 我怎样才能改变呢?
我是lighttpd的新手,刚刚从Apache切换过来。 我怎样才能通过SSHfind错误日志? 我一直在收到一些500内部服务器错误,我想排除故障。
我已经安装了IIS 6的Windows Server 2003框。 这台服务器上只有一个运行ASP的网站。 大约每1-3个小时,IIS停止响应(返回500服务不可用)没有很好的理由。 没有很高的服务器使用率,没有logging错误,一点都没有。 重新启动IIS(实际上只有服务)可以解决问题,直到再次发生。 我不知道要检查什么。 有没有人有类似的问题?
我是运行带有Exchange 2003的Server 2003 R2的菜鸟networkingpipe理员。我无法接收在我的域上创build的新帐户的外部电子邮件。 原来这个问题只是一个新用户发生。 现在我发现我创build的任何帐户都有这个问题。 我创build的最后一个新帐户是在一个月前,我从未改变过任何设置。 我试图查找这个问题,我检查了服务器上的继电器设置,一切似乎都很好。 我如何解决这个问题?
我有一个运行nginx的SSL域,我想能够访问我的munin图/统计在该域。 所以,在域的server块中,我添加了这个: location = /munin/ { alias /var/cache/munin/www/; } 理论上,我应该可以访问http://example.com/munin并显示/var/cache/munin/www/index.html 。 但是,我得到一个500错误,并在error.log这个消息: 2011/08/26 15:21:25 [错误] 19089#0:* 31218重写或内部redirect周期内部redirect到“/index.html”,客户端:1.2.3.4,服务器:domain.com,请求:“ GET / munin / HTTP / 1.1“,主机:”domain.com“ 我尝试了一堆不同的东西,但似乎没有任何工作。 如果有人能够澄清这种情况,我会很感激,也许会想出一个解决scheme。 谢谢! 🙂 这是域的完整configuration,如果有帮助: server { listen 443 default ssl; ## listen for ipv6 ssl_certificate somewhere; ssl_certificate_key somewhere; root /srv/www/domain.com/wwwroot; index index.html index.htm index.php; access_log /srv/www/domain.com/logs/access.log combined; error_log /srv/www/domain.com/logs/error.log; server_name […]
我应该找什么,当wget返回500,但相同的URL在我的网页浏览器中正常工作? 我没有看到任何似乎与错误有关的access_log条目。 在linux-gnu上由Wget 1.14创build的DEBUG输出。 <SSL negotiation info stripped out> —request begin— GET /survey/de/tools/clear-caches/password/<some-token> HTTP/1.1 User-Agent: Wget/1.14 (linux-gnu) Accept: */* Host: testing.thesurveylab.net Connection: Keep-Alive —request end— HTTP request sent, awaiting response… —response begin— HTTP/1.0 500 Internal Server Error Date: Wed, 12 Dec 2012 14:53:07 GMT Server: Apache/2.2.3 (CentOS) Set-Cookie: blueprint2-staging=8jnbmkqapl30hjkgo0u6956pd1; path=/ Expires: Thu, 19 Nov 1981 […]
我负责redirect和拆分请求的nginx服务器。 在我们的生产引擎中运行nginx 1.2.1,并在testing机器上运行1.4.1。 configuration是一样的,但在生产环境中,我总是得到一个500 Internal Server Error"但在testing环境中运行正常,我总是检查access.log和Nginx的error.log,但没有什么可担心的。 我怎样才能分析错误,并进一步调查这个错误的原因?