服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我有后缀设置使用后缀/代理地图来存储configuration。 尝试结束电子邮件时出现此错误。 Nov 9 06:18:33 mail postfix/pickup[16979]: D1A5E18F30: uid=2000 from=<rperkins> Nov 9 06:18:33 mail postfix/cleanup[16981]: D1A5E18F30: message-id=<[email protected]> Nov 9 06:18:33 mail postfix/proxymap[16982]: warning: connect to mysql server mysql01: Can't connect to MySQL server on 'mysql01' (111) Nov 9 06:18:33 mail postfix/cleanup[16981]: warning: D1A5E18F30: virtual_alias_maps map lookup problem for [email protected] — deferring delivery 这里是我的mysql-virtual_domains.cf文件的一个例子。 我也有一个mysql-virtual_email2email.cf,forwardings.cf和mailboxes.cf都是类似的设置的。 user […]
我在服务器上遇到了一些麻烦,真的可以使用一些build议。 内存使用情况良好,系统负载情况良好。 CPU使用率非常高,显着降低了网站的速度。 它正在运行一个Drupal的定制版本。 这是一个EC2大型实例(8 GB,不确定CPU)。 这是我的Apacheconfiguration: # # Timeout: The number of seconds before receives and sends time out. # Timeout 40 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of […]
我有一个Windows VPS(Windows 2008 R2 x64),运行几个WordPress博客和其他一些ASP.NET的东西。 VPS运行2个CPU(例如)。 在ASP.NET中,在这种情况下,我通常将应用程序池设置为使用一个CPU / Core,而SQL Server使用另一个(只需在服务器属性中更改它)。 在MySQL中,我可以告诉它使用哪个CPU /核心?
我有一个与godaddy域名。 目前的域名服务器是ns29.domaincontrol.com和ns30.domaincontrol.com 。 我想把这个域名指向我个人电脑的IP地址。 我在我的电脑上托pipe了IIS上的一些站点。 我读了几篇文章,发现将@logging编辑为静态IP就足够了。 但是我在这里有点困惑。 我是否需要像上面那样保留名称服务器,还是需要更改名称服务器? 如果是,那么我的新名称服务器是什么(我需要在IIS中设置它)。 如果我将@logging指向我的电脑的静态IP地址,因为我在IIS上有多个站点,我的域名将如何指向正确的站点。 我是否也需要更新CNamelogging? 我对此毫不知情。
我有一个名为“example.org”的Server 2008域服务器[DC控制器],就像我的公共互联网域www.example.org一样 当我的域名用户在“example.org”input互联网地址www.example.org时,他们无法进入公共领域的网站。 相反,他们会看到"the page cannot be displayed"消息。 这只发生在域上的Windows 7计算机上,而不是Windows XP计算机上。 有什么我做错了,这是造成这个? 还是我需要重命名我的域名“example.org”,所以它与www.example.org没有关系?
大约24小时前,我的网站发起了一场DDOS攻击。 Apache日志看起来像这样: 190.56.92.50 – – [10/Nov/2011:19:09:16 +0200] "GET /browse.php HTTP/1.0" 403 1207 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20030105 Phoenix/0.5" 79.162.132.75 – – [10/Nov/2011:19:09:16 +0200] "GET /browse.php HTTP/1.0" 403 1207 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 SeaMonkey/1.0.4" 178.95.250.125 – – [10/Nov/2011:19:09:16 +0200] "GET /browse.php HTTP/1.0" 403 1207 "-" […]
我在cent-OS服务器上工作。 我有两个脚本来运行cron。 脚本是在PHP中,我有一个Apache模块安装在cent-OS上。 一个脚本应该每天下午6点运行,其他每个星期四运行。 我的cron命令是: 00 18 * * * lynx -dump http://domain/folder1/script1.php //every Day 00 02 * * 5 lynx -dump http://domain/folder1/script2.php //every Thursday at 2am 我写了我的/etc/crontab文件中的两行,并试图执行它 [root@domain ~]# /etc/crontab crontab -bash: /etc/crontab: Permission denied 在网上search,但没有解决scheme。 任何想法我失踪?
我试图用PHP和FPM来设置NGINX。 没有安装错误,NGINX和PHP-FPM正在运行(我可以用ps aux | gre nginx和ps aux | grep php看到它们)。 HTML网页工作正常。 浏览到mysite / test.php只是显示了PHP源代码,当我查看页面的源代码时(它实际上是<? phpinfo(); ?>; )。 在我的NGINX(error.log)或PHP-FPM(php5-fpm.log)错误日志中没有错误。 我不明白为什么它不执行代码? cat sites-enabled/default server { root /usr/share/nginx/www; index index.php index.html index.htm; server_name testsite.tld; location / { # First attempt to serve request as file, then # as directory, then fall back to index.html try_files $uri $uri/ /index.html; […]
我还没有find解决我的特定问题的方法。 我有一个MAC设置为Web服务器,并configuration我的路由器转发到本地IP。 当试图从外部访问我的网站时,它确实会说“It works!”,但是,当我调用一个简单的Hello World PHP脚本时,出现页面无法打开的错误。 我没有在我的机器上启用PHP,所以没有问题。 我真的不知道我怎么能访问 – 我遵循了这么多的教程,并做了一切正确。 如果它是重要的,我的路由器是Linksys WRT160N。 在端口转发部分,我select转发
我正在使用Windows Web Server 2008 R2,每天有10-20次这些日志事件: An account failed to log on. Subject: Security ID: SYSTEM Account Name: SERVER241$ Account Domain: WORKGROUP Logon ID: 0x3e7 Logon Type: 10 Account For Which Logon Failed: Security ID: NULL SID Account Name: administrator Account Domain: SERVER241 Failure Information: Failure Reason: Unknown user name or bad password. Status: 0xc000006d Sub […]