我有两台运行CentOS 5.3和Plesk 10.0.0的专用服务器。 我试图从一个到另一个迁移的东西,但没有发生,只是在我填写“迁移设置”,然后按“下一步”我得到“主机xx.xx.xx.xx是不可访问的” 到目前为止,我所做的并没有任何效果: 停止源服务器上的防火墙在/ etc / ssh / sshd_config中启用“PermitRootLogin yes”,并重新启动服务 有任何想法吗? 更新:我能够启动从新服务器(这是空白)迁移到一个旧的(我需要反之亦然),所以肯定是有关的设置。 我拿出一个日志文件,这是失败的地方: 23117: 2011-08-22 16:34:22,949 INFO Executing <subprocess[23118] '/usr/local/psa/admin/bin/launchpad –send-scout –host=XX.XXX.XXX.XXX –login=root –session-path=/usr/local/psa/PMM/msessions/2011082216342281'> 23117: 2011-08-22 16:34:32,983 INFO Subprocess raised ExecuteException: Subprocess <subprocess[23118] '/usr/local/psa/admin/bin/launchpad –send-scout –host=XX.XXX.XXX.XXX –login=root –session-path=/usr/local/psa/PMM/msessions/2011082216342281'> was finished with exit code 10 == STDOUT ==================== == STDERR ==================== Cannot send scout […]
我在LDAP身份validation故障切换时遇到问题。 目前我们有两个CentOS-DS目录服务器在多主设备中工作。 每个站点一台服务器。 通常,login过程正常。 但是,我在故障切换部分遇到问题。 如果ldap_SiteA.domain.local出现故障,则该位置中通常指向该位置的所有服务器都不会再查看第二个条目:ldap_siteB.domain.local。 我们使用ldaplogin和Sudo。 以下是在Site A中运行的CentOS 5.6服务器上的/etc/ldap.conf的副本(对于站点B,服务器的顺序是颠倒的) 下面是我写过的通过LDAP进行身份validation的脚本的一部分: authconfig –enableldap –enableldapauth –enablemkhomedir –ldapserver=ldap_siteA.domain.local,ldap_siteB.domain.local –ldapbasedn="dc=domain,dc=local" –update echo 'sudoers: files ldap' >> /etc/nsswitch.conf echo 'base dc=domain,dc=local timelimit 15 bind_policy soft bind_timelimit 30 idle_timelimit 30 uri ldaps://ldap_siteA.domain.local/ uri ldaps://ldap_siteB.domain.local/ ssl yes tls_checkpeer no pam_password clear #debug used for troubleshooting #sudoers_debug 2 sudoers_base ou=SUDOers,dc=domain,dc=local ' > […]
我刚刚租用了一个使用自定义内核的OVH专用服务器,所以每当我运行如下命令: sudo yum groupinstall 'Development Tools 由于缺less依赖关系,我得到错误: Missing Dependency: kernel >= 2.6.9-11 is needed by… 现在我已经读过,我可以重新安装操作系统和官方内核,但我宁愿不重新安装一切,因为我已经设置了很多了。 有没有可能运行官方内核重新安装? 如果是这样,我该怎么办呢?
我有一台带有Areca 1880i RAID卡的64位CentOS 6.0 Linux计算机。 RAID卡有自己的以太网端口,但现在没有连接任何东西。 而不是使用该以太网端口的电子邮件通知,我想从主板上的以太网端口发送电子邮件通知。 我猜想将RAID卡上的以太网端口直接连接到互联网是安全的,因为它运行着自己的基于固件的networking服务器。 在这个槟榔网页上: http://www.areca.com.tw/support/s_linux/linux.htm 有archttp软件的下载链接 http://www.areca.us/support/s_linux/http/x86_64/archttp64.zip [root@server ~]# wget –quiet http://www.areca.us/support/s_linux/http/x86_64/archttp64.zip [root@server ~]# unzip archttp64.zip Archive: archttp64.zip inflating: archttp64 [root@server ~]# chmod 755 archttp64 [root@server ~]# ./archttp64 -h Usage: archttp32 [TCP Port#] To Terminate the archttp: Press CTRL-C Command for reconfiguring the archttp: kill -sHUP <archttp's pid> [root@server ~]# […]
我已经安装了apache,php和mysql的centOS服务器。 我已经上传了我的db和php页面,但每当我从浏览器中查看php文件时,我都会看到phpinfo()页面,接着是下面的php页面。 有什么build议么??
当我将SSL添加到我的nginx.conf时出现以下错误:[emerg]:在/etc/nginx/nginx.conf中不允许使用“server”指令:106 NGINX版本:nginx / 0.8.54 这是我的nginx.conf hpw的样子: ####################################################################### # # This is the main Nginx configuration file. # # More information about the configuration options is available on # * the English wiki – http://wiki.nginx.org/Main # * the Russian documentation – http://sysoev.ru/nginx/ # ####################################################################### #———————————————————————- # Main Module – directives that cover basic functionality # # […]
我已经使用这个 howto设置了一个CentOS 5 OpenVPN服务器。 testing客户端是另一个CentOS 5,我已经将ca.crt , client1.crt , client1.key和client.conf client1.key到了。 我没有看到任何错误 openvpn –config client.conf 在客户端上,并且在服务器日志中看不到任何错误消息。 客户端上的ifconfig只显示我eth0和lo , route默认网关没有改变为openvpn的IP地址。 题 如何知道VPN连接是否已build立并正在工作? 我应该期待什么命令输出? 更新 当我看这个 howto时,他configuration了iptable。 我也应该这样做吗? UPDATE2 问题可能是我的testing客户端是VMware VM。 当我尝试使用裸机客户端时,我得到了tun0设备。 为什么我不能在VMware虚拟机中使用OpenVPN连接,但我认为这是我遇到的问题。
我使用WHM和Cpanel运行一个centos服务器,并使用CSF作为防火墙。 我想阻止一系列的IP地址。 我想从中国开始,并从http://www.countryipblocks.net/获得IP列表 – 这相当于大约3500个IP地址/范围。 使用CSF,我注意到DENY_IP_LIMIT的默认值设置为100.我可以明显地增加这个,但CSF表示: # Limit the number of IP's kept in the /etc/csf/csf.deny file. This can be # important as a large number of IP addresses create a large number of iptables # rules (4 times the number of IP's) which can cause problems on some systems # where either the the […]
我试图使用tmpfs来加速一些大量访问的文件。 我想testingHDD自身和tmpfs的读写速度。 我的结果奇怪地低,我期待: dd if=/dev/zero of=/home/******/tmpfs/test.data bs=1k count=128k 131072+0 records in 131072+0 records out 134217728 bytes (134 MB) copied, 4.03752 seconds, 33.2 MB/s 目录/home/******/tmpfs是我之前安装的一个200MB的tmpfs。 我没有太多的经验与tmpfs的,想知道…这不是很慢? 可以做些什么来加速呢? 什么是造成慢速?
我在CentOS5上有一个OpenVPN服务器,我想通过VPN启用Windows共享。 当我尝试访问Windows共享,然后注意到发生。 没有错误或任何东西。 我的iptables规则是默认的加上这些: iptables -I INPUT -i eth0 -p udp –dport 1194 -j ACCEPT iptables -I FORWARD -i eth0 -o tun0 -j ACCEPT iptables -I FORWARD -i tun0 -o eth0 -j ACCEPT iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE modprobe ip_conntrack modprobe ip_conntrack_ftp 我试图添加这些,但没有通过VPN启用Windows共享。 IPTABLES="/sbin/iptables" LAN="eth0" $IPTABLES -A INPUT -i $LAN -p […]