服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我有问题的cron作业仍然执行后,即使删除它们。 我已经从这篇文章中查看了所有可能的cron作业 。 所有的cronconfiguration文件都是空的,或者我的cron任务不存在。 我也for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done提出了这个命令for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done for user in $(cut -f1 -d: /etc/passwd); […]
试图从端口安装postfix并得到这个错误: ===> Compressing manual pages for cyrus-sasl-2.1.26_2 ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for cyrus-sasl-2.1.26_2 ===> Returning to build of postfix-2.9.4_2,1 Error: shared library "sasl2.2" does not exist *** Error code 1 Stop in /usr/ports/mail/postfix. *** Error code 1 Stop in /usr/ports/mail/postfix. *** Error code 1 Stop in /usr/ports/mail/postfix. ldconfig -r | […]
我想将www.mydomain.comredirect到www.mydomain2.com/try.html 。 这些域位于两个不同的服务器上。 这是我试过的,但不起作用: if ($http_referer ~* (www.mydomain.com) ) { return 301 http://www.mydomain2.com/try.html; } 要么 if ($http_referer ~* (www.mydomain.com) ) { rewrite ^ http://mydomain2.com/try.html permanent; } 这两种方式是行不通的,当我去mydomain.com我留在mydomain.com但是…没有CSS …而我没有redirect到mydomain2.com/try.html 任何帮助赞赏。
我在用着: # cat /etc/*release CentOS release 6.3 (Final) # rpm -qa | grep post postfix-2.6.6-2.2.el6_1.x86_64 在2个服务器上: preferans.de和(是的,有趣的名字) static.103.78.9.176.clients.your-server.de 我拥有多个域名,并希望所有传入邮件的邮件都被转发到我的Gmail地址。 所以我已经为我的域名设置了MXlogging: # host videoskat.de videoskat.de has address 176.9.40.169 videoskat.de mail is handled by 100 static.103.78.9.176.clients.your-server.de. videoskat.de mail is handled by 10 preferans.de. # host balkan-preferans.de balkan-preferans.de has address 176.9.40.169 balkan-preferans.de mail is handled by 100 static.103.78.9.176.clients.your-server.de. […]
我有一个Netscaler,用于前端4个Exchange 2010 CAS服务器。 使用此虚拟服务器的客户端包括 Outlook Web Access(OWA) Exchange Web服务(Outlook for Mac 2011) Outlook Anywhere(又名RPC / HTTPS) 的Activesync 有关Outlook Anywhere的特殊之处在于Outlook 2010 SP2和更新版本将使用Cookie来维护状态。 较旧版本的Outlook不使用Cookie,并通过IP维护状态。 这是我目前的configuration: 问题 如果我重新启动arrays中的单个CAS服务器,则客户端将不会完全恢复,并且会遇到连接延迟和问题,直到所有CAS服务器同时被重置为止。 (todo:尝试清除Netscaler上的“会话表”,而不是同时重新启动CAS服务器) 当我第一次看这个服务器时, Cookie Insert持久性被设置Zero AKA无穷大。 这意味着基于cookie的会话从来没有基于“最less连接”进行负载平衡。 3个CAS服务器有100%的CPU,而一个CAS几乎没有。 我将cookie插入从0减less到5 (从无穷大读到5分钟),即使在撰写新邮件时,用户也被踢出了OWA(这是一个坏消息,因为邮件丢失了) 一些RPC / HTTPS用户正在发生零星的断开连接(不确定是否是2010 SP2或更新版本,但我怀疑是)(caching模式或非caching) 我们的许多用户都在NAT池后面,这意味着任何落在同一个SourceIP共享相同的CAS服务器。 如果用户数量超过100个用户,则意味着每次会话超时,用户都将移动到新的CAS服务器(以巨大的负载进行混洗) 如果NAT后面的两个大用户群落在同一个CAS服务器上,则该CAS服务器将超载并达到100%的CPU 我认为如果NAT的用户群体可能混合使用cookie(OWA / O2010 SP2)或非cookie(比O2010 SP1早),则networking标识符可能会混淆两种负载均衡技术并且搞砸了。 记住最后一个要点,当我重新启动单个CAS服务器时,Outlook Anywhere / HTTP会有奇怪的现象,直到我重新启动所有CAS服务器,我认为重新启动将拆分不同CAS服务器中的Outlook Anywhere调用,并且持久性为都搞砸了 (也许Outlook 2010对于所有RPC调用(如FreeBusy / Calendar查找/普通Outlookstream量)都无法正常使用Cookie, […]
由于sendmail向root发送邮件(/ var / spool / mail / root为2GB),我们的服务器的/ var / direction会一直填满。 我们所有的站点脚本都使用外部smtp服务器发送邮件,所以我们希望在服务器上禁用sendmail,以避免这个问题再次发生,因为每次目录填满mysqlclosures,因为它不能写入/ var / log /目录,因为它的空间不足。 有什么办法可以安全地closuressendmail,不会影响PHP连接到外部smtp? 我不确定是否使用sendmail。 或者,也许有人知道一种方法来禁用sendmail发送电子邮件到根,不pipe是什么。
我一直在使用Linux服务器多年,总是configuration邮件服务器没有太多的想法,遵循在线指南等。我知道,后缀可以有一个虚拟的别名文件,但看了看后,我没有find指导使用的唯一。 我正在寻找一个指导,configuration一个Linux邮件服务器(最好是与一个基于Debian的Linux),将有pop,smtp和imap电子邮件完全可configuration在一个文本文件。 (这是简单的唯一目的) 有什么build议么? 谢谢!
我有一个Ubuntu 12.10工作站与以下接口: eth0 : 10.11.1.15/24 lo:1 : 10.90.50.50/32 lo:2 : 10.1.100.100/32 tap0 : 10.5.200.200/24 如您所见,所有IP都适合10.0.0.0/8子网。 我也有Quagga宣布我的链路状态通过OSPF的其他路由器。 这是我的/etc/quagga/ospfd.conf : router ospf passive-interface eth0 router-id 10.90.50.50 redistribute kernel route-map MYMAP redistribute connected route-map MYMAP redistribute static route-map MYMAP network 10.0.0.0/8 area 0.0.0.0 ip prefix-list MYLIST seq 5 deny 10.11.0.0/16 le 32 ip prefix-list MYLIST seq 10 permit […]
我在configurationpostfix服务器时遇到了问题,当我发出时:telnet myhost 25 outputs: [root@******** init.d]# telnet localhost 25 Trying 127.0.0.1… Connected to host-********* (127.0.0.1). Escape character is '^]'. 而我没有收到220线。 这是我的main.cnf # SOFT BOUNCE # # LOCAL PATHNAME INFORMATION # queue_directory = /var/spool/postfix # The command_directory parameter specifies the location of all # postXXX commands. # command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix # QUEUE AND […]
我有简单的主从复制设置。 一切工作都没有问题超过一年。 几天前,复制滞后开始上升,而且还在上升,没有明显的原因。 Seconds_Behind_Master现在已经超过4天6小时。 SQL和IO从线程都在工作,通信没有问题。 SHOW SLAVE STATUS\G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: s1.my.pl Master_User: root Master_Port: 3306 Connect_Retry: 60 Master_Log_File: mysql-bin.001674 Read_Master_Log_Pos: 10948252 Relay_Log_File: mysqld-relay-bin.000509 Relay_Log_Pos: 63370742 Relay_Master_Log_File: mysql-bin.001638 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 63370596 Relay_Log_Space: […]