我目前从一个batch file运行一个SOLRsearch引擎,它在我的服务器taskmgr中显示为一个进程。 我需要使用check_nrpe监视它的状态,但由于有多个cmd.exe进程,我需要使用该进程的PID来识别它。 任何人都可以提供一个如何做到这一点的示例语法? 我的语法: ./check_nrpe -H IP -p port -c CheckProcState -a MinWarnCount=1 MinCritCount=0 cmd.exe (-ppid=2664) –ppid=2664只是一个糟糕的尝试,但没有结果。
我在同一台机器上设置了一个仲裁器作为configuration服务器,但是在默认的10gen /etc/init.d/mongod文件中遇到了一些麻烦。 我试图创build一个额外的/etc/init.d/mongod-arb仲裁器指向一个新的.conf文件,但它似乎忽略conf文件中的pidfilepath,我只能得到一个mongod运行在任何时间… 有没有一些这样的configuration的最佳做法?
我目前的输出 df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 20G 2.1G 17G 11% / tmpfs 64G 0 64G 0% /dev/shm /dev/sda1 194M 54M 131M 30% /boot 我不需要64GB的交换/临时空间。 是否有可能减less存储并将其添加到LVM? / dev / sda5是精确的 Device Boot Start End Blocks Id System /dev/sda1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder […]
我运行了一堆服务器,一些运行Ubuntu 12.04,一些运行Centos 6.3。 最近,我的ldap服务器上的自签名SSL证书过期了,于是我生成了一个新证书,并将其分发到所有需要连接到ldap服务器以运行身份validation的Apache2服务器。 在Ubuntu上运行的所有Apache 2服务器都正常工作,放入新的证书,一切都很开心。 然而,在Centos上,新的证书仍然没有成功。 如果我切换到使用未encryption的LDAP,他们再次工作。 我已经做了大量的研究,并且发现了这些描述我的情况的东西: https://issues.apache.org/bugzilla/show_bug.cgi?id=50630 无法弄清楚为什么apache LDAPauthentication失败 不幸的是,我已经尝试添加“LDAPVerifyServerCertclosures”我的configuration,这并没有帮助。 任何其他build议,将不胜感激。 编辑1:我已经做了一些更多的挖掘,我发现了很多谈论最近的Centos ldap包正在build立反对NSS而不是OpenSSL,和套pipe问题。 一个例子: http : //www.openldap.org/lists/openldap-technical/201303/msg00162.html 那么,meta-question有没有人跑过这条路来解决SSL相关的问题呢? 它成功了吗?
原谅我,因为这是我第一次尝试为centos 5写一个init脚本。 我正在使用django +主pipe来pipe理我的芹菜工作者,调度员。 现在,这是我天真简单的尝试/etc/init.d/supervisor #!/bin/sh # # /etc/rc.d/init.d/supervisord # # Supervisor is a client/server system that # allows its users to monitor and control a # number of processes on UNIX-like operating # systems. # # chkconfig: – 64 36 # description: Supervisor Server # processname: supervisord # Source init functions /home/foo/virtualenv/property_env/bin/python /home/foo/bar/manage.py supervisor […]
我们在CentOs 6.4上运行Apache和CherryPy(Python)服务器。 昨天Apache服务器突然下降,而使用8080端口的CherryPy正常工作。 我们正在努力解决这个问题,但没有运气。 似乎最大的同时连接有什么问题,但是我们不知道如何解决这个问题,甚至不能解决真正的问题。 错误日志文件有这样的东西: [Sun Aug 04 04:47:16 2013] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads. [Mon Aug 05 21:57:31 2013] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads. [Mon Aug 05 21:58:46 2013] [error] server reached MaxClients […]
我一直在试图修复我的Postfix服务器,但不知何故,它仍然不想接受来自任何地方的电子邮件。 从Gmail我得到这个错误: 完全无法传送给下列收件人: 支持@ XXX 永久性失败的技术细节:Google试图传递您的消息,但被服务器拒绝接收方>域xxx by mail.xxx。 [ip.address.here]。 其他服务器返回的错误是:554 5.7.1:中继访问被拒绝 这是我的后缀configuration: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path […]
我想将3秒或6秒的rto_min应用到从我的服务器到ip的任何路由,例如192.168.18.45。 我怎样才能做到这一点在centos? 谢谢,
请不要太苛刻。 我对IT界相当陌生,任何build议/解决scheme都将不胜感激。 问题:我想将Cent OS DHCP服务器部署到不同的远程站点。 这可能是4或5个不同的地点。 我的想法是把所有的设备都放在一个小笼子里。 有没有一种自动的方式来设置类似的configurationDHCP服务器(如kickstart也许?)? 编辑:感谢您的input。 DHCP服务器也将充当PXE服务器。 它将连接到多个设备(12+),通过PXE下载映像,然后通过Internet下载更新。 最终目标:我希望事先准备好DHCP和PXE,所以他们所要做的就是插入它。而不是手动(逐个)手动执行每个服务器。
我希望任何人都可以帮我解决以下问题。 我不再接收电子邮件,因为他们卡在电子邮件队列中。 我已经尝试了以下内容: 系统重启(甚至在下面的步骤之间) 使用以下命令清除临时文件:find / tmp -cmin +720 -exec rm {} \; 清除所有临时文件 exim -qf exim -qff 用最后两个命令,命令不能完成执行。 我真的希望有人能帮助我。 如果有帮助,这是一个日志文件,说没有留在设备上的空间 2013-08-09 19:57:29 1V6vjZ-00014J-9U == [email protected] <[email protected]> R=localuser T=local_delivery defer (28): No space left on device: failed to open tmp/1376092649.H84616P5755.web.ghservers.org (10 tries) 2013-08-09 19:57:47 1V7p0b-0004pC-W8 == [email protected] <[email protected]> R=localuser T=local_delivery defer (28): No space left […]