服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我正在解决局域网的问题,并确保每个主机可以在第三层互相访问。每个主机configuration为相同的子网,但有些主机不能到达其他层(例如ping说主机其他是closures)。 在检查第3层问题之前,我们要确定以太网(直到第2层)工作正常,并且每个主机都可以互相发现。 我们有每个主机的MAC地址集来连接。 仅依赖于第1-2层,确定第2层工作的build议方法是什么? 猜测 使主机界面以混杂模式运行的工具 一些使用FF:FF:FF:FF:FF:FF广播 有一个相关的第2层问题暗示了一些可能的拓扑发现协议,但它是封闭的。
我在Ubuntu 12.04上遇到了一个与ipv6有关的奇怪问题。 有两个主机,直接连接到互联网。 两者都分配了一个/ 64networking。 它们正确地configuration了一个/ 128端点,而另一端可以ping另一端,反之亦然。 我的计划是终止我分配的ipv6 / 64的一个/ 112子网到接口有足够的地址用于apache2虚拟主机。 但这不是重点。 主持人A: $ ifconfig eth0 Link encap:Ethernet HWaddr (…) inet6 addr: fe80::5246:5dff:(…)/64 Scope:Link inet6 addr: 2a01:xxx:xxx:000A::2/64 Scope:Global $ route -A inet6 Kernel IPv6 routing table Destination Next Hop Flag Met Ref Use If 2a01:xxx:xx:000A::/64 :: U 256 0 0 eth0 fe80::/64 :: U 256 […]
这是我的crontab: MAILTO=michael 02 11 * * * bash /home/michael/projectname/nightly_tests.sh * * * * * python /home/michael/projectname/throwaway/hello.py 我的用户名正确指定: -bash-4.1 $ whoami迈克尔 以下是我想要每分钟运行的内容: -bash-4.1$ cat /home/michael/projectname/throwaway/hello.py print "hello world" 我的邮件文件是空的: -bash-4.1$ ll /var/mail/michael -rw-rw—- 1 michael mail 0 Feb 19 23:04 /var/mail/michael 为什么没有邮件被发送? 我能做些什么来解决这个问题? 我在CentOS(3.7.5-linode48)。 编辑 maillog这样说: -bash-4.1$ sudo tail /var/log/maillog Apr 13 11:49:01 servername postfix/sendmail[6989]: warning: […]
我刚刚重新安装了Windows Server 2008计算机,并试图将其投入生产,随附SQL Server 2008; 问题是,它需要一个应用程序调用: Windows Installer推荐是4.5或更高版本,我已经去微软网站,并下载了官方包,但运行时,我得到: Setup Error: Not enough storage is available to process this command. 然后按OK,然后显示: Setup Error installation did not complete. 查看事件查看器时: Log Name: Application Source: Windows Installer 3.1 Date: 13/04/2013 19:10:25 Event ID: 4373 Task Category: None Level: Error Keywords: Classic User: N/A Computer: DOMAIN CONTROLLED REMOVED Description: The […]
我有一个.htaccess文件与下面的代码 <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> 但是当我访问我的网站时,我得到这个错误 [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. LogLeveldebugging不会给我一个回溯,我不认为增加内部recursion限制是明智的。 有没有人有这种types的错误的经验?
我目前在标准文件path中有2个服务器块的nginxconfiguration文件: /usr/local/etc/nginx/nginx.conf /usr/local/etc/nginx/sites-available/one.website.com /usr/local/etc/nginx/sites-available/two.website.com nginx.conf包含/usr/local/etc/nginx/sites-enabled/*中的所有文件,这些文件与sites-available文件夹中的两个网站有符号链接。 这两个网站都提供PHP文件,两个configuration文件之间的唯一区别是 server_name access_log error_log root fastcgi_param PHP_VALUE "error_log=… 巩固两个网站configuration文件的最佳做法是什么? 这里是其中一个完整的configuration(请注意,设置PHP error_log值与nginx error_log ): server { listen 80; server_name one.website.com; access_log /usr/local/var/log/one.website.com-access.log; error_log /usr/local/var/log/one.website.com-error.log; root /Users/hobbes3/Scripts/Neadwerx/one.website.com; location / { index index.html index.htm index.php; autoindex on; } # Disable favicon.ico logging location = /favicon.ico { log_not_found off; access_log off; } # Enable […]
需要帮助重置XEN中的猜测操作系统( domU )CentOS的根密码。 我已经试图去grub,但它不显示或可能使用不同的grub(pygrub)。 提前致谢。
我有一个千兆连接没有被充分利用,但我正在接收数据包丢失。 当我做netstat的时候,它显示Recv-Q在交通繁忙期间有时会达到262656。 Proto Recv-Q udp 262656 我试过增加这些设置并重新启动我的应用程序,但它似乎没有做任何事情。 sudo sysctl -w net.core.rmem_default=4194304 sudo sysctl -w net.core.wmem_default=4194304 sudo sysctl -w net.core.rmem_max=16777216 sudo sysctl -w net.core.wmem_max=16777216 如何增加Recv-Q?
我正在尝试创build自己的SSL层次结构,如下所示: MyRootCA –MyIntermediateCA —- MyCert 我已经安装了MyRootCA和MyIntermediateCA,但是Windows指出MyIntermediateCA没有颁发证书的权利。 因此它使MyCert无效。 我使用mod_ssl包中的sign.sh,它使用openssl ca命令。 我想知道是否有任何参数/选项授予MyIntermediateCA发行子证书的权利?
CDN的目的之一是将您的静态资产分布在离用户最近的地方。 所以说我的服务器位于X位置,而我的大部分用户都在Y.但是最接近Y的CDN服务器将位于X.如果服务器与服务器位于同一区域,那么使用CDN有什么优势? 有什么不同,只是在服务器本身托pipe图像,而不是把它放到服务器。