服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我的DC上的事件查看器每隔几秒发生一个新错误,说“DCOM无法使用任何已configuration的协议与计算机IP地址进行通信”。 任何错误中的IP地址都不为我们所知,而不在域中。 AD在经过最新的维护之后相当干净。 任何想法如何摆脱这些错误? 谢谢
我不能curl在CentOS 6.2服务器上下载https://www.sicdm.caixa.gov.br/cadmut/login_internet_form.do 。 命令curl -v -k -3 https://www.sicdm.caixa.gov.br/cadmut/login_internet_form.do产生: * About to connect() to www.sicdm.caixa.gov.br port 443 (#0) * Trying 200.201.173.93… connected * Connected to www.sicdm.caixa.gov.br (200.201.173.93) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * warning: ignoring value of ssl.verifyhost * skipping SSL peer certificate verification * NSS error -5938 * Closing connection #0 […]
我有几个Windows服务器与DNS和ADangular色,一些是Win2003,一些是Win2012。 有一个AD集成区域example.com ,其中包含example.com的ip 192.0.2.1和bar.example.com的ip bar.example.com 。 bar.example.com的DNS查询将按照预期返回ip 203.0.113.1,而不pipe要询问哪台服务器。 (特别是,我们可以确信复制已经完成) 询问任何Win2003服务器的example.com的DNS查询将按预期返回IP 192.0.2.1 example.com的DNS查询询问任何Win2012服务器返回“找不到主机” 询问任何Win2003服务器的区域example.com SOA或NSlogging的DNS查询将返回正确的信息 询问任何Win2012服务器的相同查询返回“找不到主机” 我也试图把这个区域变成一个非AD集成的区域,它只能从旧的服务器上提供服务。 我希望Win2012服务器每次转发都会返回正确的答案。 但是这也没有奏效 同时我注意到我有另外一个区域,几乎有相同的结构 – 那里的问题不会发生! 我浏览了两个区域的所有属性 – SOA序列号和MinTTL设置之间的唯一区别。 这里怎么了? 编辑:忘了提及:在有问题的服务器上的DNSpipe理器,所有logging显示 – 这只是他们没有返回到DNS查询。
# apachectl -version Server version: Apache/2.4.7 (Ubuntu) Server built: Jul 22 2014 14:36:38 我已经configuration了SSLCipherSuite ( SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 )的SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 。 我也testing了各种组合。 我已经使用openssl ciphers检查了主机上可用的openssl ciphers ,并且有很多RSA密码。 这里是我的mod_ssl.so的依赖关系: # locate mod_ssl.so /usr/lib/apache2/modules/mod_ssl.so # ldd `locate mod_ssl.so` linux-vdso.so.1 => (0x00007fffb5dfe000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f915c0ba000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f915bce0000) [… omitted libpthread and libc …] /usr/bin/openssl上的ldd对libssl和libcrypto(v 1.0.0)产生相同的依赖关系。 我无法使用RSA密码获得连接。 我检查了使用openssl […]
我正在尝试使用apache 2.4configuration两个子域,但似乎有一个问题,我无法解决。 这里是Apache的configuration文件 <VirtualHost *:80> ServerName www.subdomain1.myweb.com ServerAlias subdomain1.myweb.com DocumentRoot /srv/webapps/mywebapp <Directory /srv/webapps/mywebapp> AllowOverride all Options -MultiViews Require all granted </Directory> </VirtualHost> <VirtualHost *:80> ServerName www.subdomain2.myweb.com ServerAlias subdomain2.myweb.com DocumentRoot /srv/webapps/mywebapp2 <Directory /srv/webapps/mywebapp2> AllowOverride all Options -MultiViews Require all granted </Directory> 我试着定义ServerName,但没有解决问题: ServerName www.myweb.com 并尝试在VirtualHost中使用服务器IP,使用通配符,在VirtualHost标签中使用域…等等任何工作如需要: 重点是,Apache服务器subdomain1.myweb.com ,但subdomain.myweb.com不。 唯一的办法,我不能服务这两个子域它是设置最后一个: <VirtualHost *:80> ServerName www.myweb.com ServerAlias myweb.com DocumentRoot /srv/webapps/mywebapp2 […]
我有以下的堆栈: (redirecthttp为https =>)https nginx – > varnish – > nginx http – > php5-fpm 当我打开my.url.com时,我立即redirect到https://127.0.0.1 没有清漆,nginx,ssl,php5-fpm(php 5.5)工作得很好… 我认为它与我的清漆configuration有关,因为几乎相同的堆栈运行不同的CMS(TYPO3 Neos)和不同的清漆configuration就好了…(对于nginx的设置几乎是相同的,只是一些轻微的适应,如静态重写) 我很感激你的想法和反馈! 我的nginxconfiguration: # redirect non-www – http and other domains to www – https server { listen 80; ## listen for ipv4; this line is default and implied server_name domain.com some.other.tld; return 301 https://www.domain.com$request_uri; } # […]
首先,我是新的nginx,我正在从Apache切换。 我使用ajenti控制面板设置服务器。 我得到了PHP工作得很好。 然而,当我尝试做一个重写规则,我得到一些奇怪的行为。 我把它放在ajenti控制面板的“自定义configuration”区域。 位置/ bitaddiction { 重写^ / bitaddiction / puzzles /(.*)/bitaddiction/index.php?act=playPage&a=$1 break; } 它很简单,一半的作品。 但是,当我去那个url,我得到一个保存对话框,PHP代码被放在该文件。 我将如何去确保PHP解释它,而不是保存在一个文件?
在尝试添加新的防火墙规则文件时,我不小心将新的XML复制到主/etc/vmware/firewall/service.xmlconfiguration文件的顶部。 我从USB闪存驱动器启动我们的免费ESXI 5.5服务器。 我不确定修改后的service.xml文件是否会通过重新启动而持续存在,但是如果是这样,则防火墙设置将会缺less所有默认条目。 有没有办法从configuration备份,USB闪存驱动器或者在线存储库中检索该文件? 我已经看过我们的state.tgz备份文件,它们看起来不包含service.xml文件。
我有以下nginxconfiguration2个不同的域名: server { listen 80; root /srv/users/serverpilot/apps/myapp/public; index index.php index.html index.htm; server_name domain.com www.domain.com; location / { try_files $uri $uri/ @route; } location @route { rewrite ^/(.+)$ /index.php?_route_=$1 last; } location ~ \.php$ { try_files $uri /index.php =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/srv/users/serverpilot/run/myapp.php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } 我在使用ServerPilot作为我的控制面板的DigitalOcean Ubuntu 14.04 x64液滴上。 […]
我有一个当前工作的PXELINUX设置,菜单为不同的操作系统版本。 最近我尝试添加VMware安装程序。 这是非常好的一点,我无法加载所需的文件。 VMware本身说使用TFTP下载所有的文件不是最好的select,特别是如果你有一个高负载的networking,他们build议使用HTTP / gPXE。 所以我正在考虑实施gPXE。 但是迄今为止我所做的几个尝试都没有成功,我不确定这个问题到底是什么。 首先,我改变了DHCPconfiguration中的文件名,指向gpxelinux.0,而不是pxelinux.0。系统正在启动,显示gPXE,但没有进一步处理。 它正在获得一个DHCP,然后显示 No filename or root path specified 我也尝试从PXELINUXconfiguration文件中链接加载gPXE,该configuration返回了相同的错误。 我读了一些关于gPXE的文档,他们都使用HTTPconfiguration文件中的文件名来源。 我试了下,但它已经显示我的TFTP错误 PXE-T01: File not found PXE-E3B: TFTP Error – File Not found 在这一点上,我不知道还有什么尝试。 我已经将整个TFTP复制到HTTP服务器,尝试使用gPXE脚本,它将使用DHCP选项209/210重写源。 但是他们都失败了,因为我无法使用HTTP将其加载到DHCPconfiguration中。 任何人都可以给我一些关于在哪里寻找错误的提示,或者我可以如何将当前的PXELINUX转换为gPXE。 任何帮助非常感谢。 更新: 我在玩耍,终于搞定了。 是DHCPconfiguration中的错误。 这是我现在使用的: class "pxeclients" { match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; if exists user-class and option […]