我正在运行Centos 5.7。 我在一个典型的Web托pipe服务器设置中运行Apache,MySQL,PHP,Courier-IMAP,Qmail和Plesk控制面板。 它经常被挂起。 我不得不通过pipe理面板重新启动服务器,因为没有Plesk或SSH访问…如何防止这种情况再次发生? 处理器:AMD Phenom(tm)II X4 内存:8 GB 我注意到了Apache日志中的一些错误: # tail -20 /var/log/httpd/error_log [Mon Sep 03 06:12:33 2012] [error] [client 202.29.34.28] File does not exist: /var/www/vhosts/default/htdocs/web [Mon Sep 03 06:12:34 2012] [error] [client 202.29.34.28] File does not exist: /var/www/vhosts/default/htdocs/php-my-admin [Mon Sep 03 06:12:34 2012] [error] [client 202.29.34.28] File does not exist: /var/www/vhosts/default/htdocs/websql [Mon […]
我正在设置ISO-8859-1的默认字符集,所以我将下面的代码添加到httpd.conf中。 AddDefaultCharset ISO-8859-9 当我查询它时,我可以看到这个值 root@server [/]# curl -A "Mozilla/4.0" http://localhost -I HTTP/1.1 200 OK Date: Mon, 10 Sep 2012 22:28:48 GMT Server: Apache Last-Modified: Tue, 21 Aug 2012 21:17:25 GMT Accept-Ranges: bytes Content-Length: 111 Content-Type: text/html; charset=ISO-8859-1 但是,我无法获得虚拟主机的相同结果,并且没有任何其他字符集的附加定义。 root@server [/]# file temp.php temp.php: ISO-8859 text root@server [/]# cat temp.php Cesária Évora root@server [/]# curl -A […]
我需要帮助,我正在尝试使用tcpdump来捕获两个服务器之间的API请求和响应,到目前为止,我有以下命令: tcpdump -iany -tpnAXs0 host xxx.xxx.xxx.xxx and port 6666 我的问题是,输出仍然难以阅读,因为它会发送Headers和ack数据包。 我想删除这些,只看到XML的身体。 我试图使用grep -v,但显然这是一个请求,所以它过滤整个事情… 谢谢!
我想限制用户到特定的目录,但也允许使用SFTP传输。 我查看了在类似问题上提供的答案: 如何在不提供shell访问权限的情况下为网站设置SFTP? SFTP访问类似于被监禁的shell 不幸的是,接受的答案只适用于更多的当前OpenSSH版本,而我的系统是Centos 5.8, OpenSSH_4.3p2,OpenSSL 0.9.8e-fips-rhel5 2008年7月1日 我使用下面的Rackspace指南设置了vsftpd: http ://www.rackspace.com/knowledge_center/article/rackspace-cloud-essentials-5-centos-installing-vsftpd通过限制用户到他们的目录很好用,但只使用ftp ,它不允许SSH(使用usermodclosuresshell) 我启用sftp使用以下指南: http ://wiki.vpslink.com/Configuring_vsftpd_for_secure_connections_(TLS/SSL/SFTP ) 不幸的是,sftp是不允许的,直到我重新启用用户的bash shell。 现在sftp工作,但他们可以离开他们的主目录,并随意浏览系统文件。 现在已经非常接近剃牦牛了,所以我想知道是否应该尝试升级OpenSSH或者有其他解决scheme?
CentOS 5.8 | Sendmail 8.14.4 我曾经认为,如果SendMail在传递过程中遇到了临时(400级)错误,它会将消息放入延迟队列(例如/ var / spool / mqueue),并在一小时后重试。 大部分情况似乎是这样。 但是现在,我会注意到这样的日志条目(电子邮件/域重命名,以保护无辜:-)): Dec 5 01:43:03 foobox-out sendmail [11078]: qBE3l7js123022: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=124588, relay=exbox.foo.com. [10.10.10.10], dsn=4.0.0, stat=Deferred: 421 4.3.2 The maximum number of concurrent connections has exceeded a limit, closing transmission channel Dec 5 01:53:34 foobox-out sendmail [12763]: qBE3l7js123022: to=<[email protected]>, delay=00:10:31, xdelay=00:00:00, mailer=relay, […]
我在CentOS 5服务器上使用zimbra 6 (6.0.8_GA_2661.RHEL5_20100820051652 CentOS5) Zimbra工作正常。 现在我想在Apache上托pipe一些文件。 我指的是如何在同一台主机上运行Apache和Zimbranetworking邮件。 但是当我运行下面的命令给出了一个错误 zmprov ms zimbra.mydomain.com zimbraMailPort 81 错误: 错误:account.NO_SUCH_SERVER(没有这样的服务器:zimbra.mydomain.com)
当我运行: yum install php-intl 我得到这个错误: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.as29550.net * epel: ftp.nluug.nl * extras: mirror.as29550.net * updates: mirror.for.me.uk Setting up Install Process Resolving Dependencies –> Running transaction check —> Package php-intl.x86_64 0:5.3.3-22.el6 will be installed –> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-intl-5.3.3-22.el6.x86_64 –> Finished Dependency […]
继续从这个话题,新的内核启动成功,但它没有看到我的sdc – 这是一个硬件RAIDarrays(10级)。 我确定aacraid模块已经加载: # grep aacraid /2.6.34.14/init echo "Loading aacraid.ko module" insmod /lib/aacraid.ko # lsmod | grep aacraid aacraid 83347 3 scsi_mod 154582 13 be2iscsi,ib_iser,iscsi_tcp,bnx2i,cxgb3i,libis)csi,scsi_transport_iscsi,scsi_dh,sg,usb_storage,aacraid,libata,sd_mod 我一直在试图安装AACRAID驱动程序 ,但有以下几点: # rpm -ivh aacraid-1.2.1-29900.rpm Preparing… ########################################### [100%] 1:aacraid ########################################### [100%] Adaptec aacraid driver installer – V1.5 Using GRUB configuration Configuration [CentOS (2.6.18-274.el5)] /boot/vmlinuz-2.6.18-274.el5 -> 2.6.18-274.el5 Installing in […]
我正在运行Ubuntu 12.04.1,我想通过http安装networking安装CentOS 5或6。 使用http://mirror.centos.org/centos/5.7/os/x86_64/images/xen/中的 xen映像 我的configuration: kernel = "/home/virt/centos/vmlinuz" ramdisk = "/home/virt/centos/initrd.img" name = "centos" memory = "768" disk = [ 'file:/home/virt/centos/centos6.img,xvda1,w' ] vif = [ 'bridge=xenbr0' ] vcpus=1 on_reboot = 'destroy' on_crash = 'destroy' 在任何时候我都有关于安装程序的错误,看不到/dev/xvda1 。
CentOS 5.x 我注意到有时我会在nslookup的输出中看到MXlogging的“internet address”。 但这并不是一直发生的。 例如,假设foo.com使用微软的邮件服务。 在这种情况下,当我运行nslookup -q=mx foo.com我会看到: foo.com MX preference = 10, mail exchanger = mail.messaging.microsoft.com foo.com nameserver = ns71.worldnic.com foo.com nameserver = ns72.worldnic.com mail.messaging.microsoft.com internet address = 216.32.180.190 mail.messaging.microsoft.com internet address = 207.46.163.30 ns71.worldnic.com internet address = 205.178.190.36 ns72.worldnic.com internet address = 206.188.198.36 在正式的时候,当我运行相同的查询时,我会得到: foo.com MX preference = 10, mail exchanger = […]