服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我最近得到我的apache error.log一长串: [Thu Jun 30 13:03:22.005214 2016] [:error] [pid 15759] [client xx.xx.xxx.xxx:xxxxx] script '/var/www/html/myiphb.php' not found or unable to stat [Thu Jun 30 13:03:27.164111 2016] [:error] [pid 15644] [client xx.xx.xxx.xxx:xxxxx] script '/var/www/html/myiphb.php' not found or unable to stat [Thu Jun 30 13:03:32.314190 2016] [:error] [pid 15757] [client xx.xx.xxx.xxx:xxxxx] script '/var/www/html/myiphd.php' not found or unable to […]
我有一个slave-ip资源,我想在正常的操作下在一个2节点的PostgreSQL集群中定位到我的从服务器上,以作为只读目的。 一切正常,直到从机节点上的pgsql服务的故障点。 slave-ip资源仍然分配给我的奴隶: Master/Slave Set: pgsql-master [pgsql] Masters: [ pgsql01-test.internal.helloworld ] Stopped: [ pgsql02-test.internal.helloworld ] master-ip (ocf::heartbeat:IPaddr2): Started pgsql01-test.internal.helloworld slave-ip (ocf::heartbeat:IPaddr2): Started pgsql02-test.internal.helloworld 我的约束如下: pcs constraint colocation add master-ip with master pgsql-master pcs constraint colocation add slave-ip with slave pgsql-master score=0 [root@pgsql01-test run]# pcs constraint Location Constraints: Resource: master-ip Enabled on: pgsql01-test.internal.helloworld (score:0) Enabled on: […]
我目前正在尝试使用pfSsh.php shell来编辑正在运行的pfSense的configuration。 通过使用pfSsh.phpshell,我可以修改configuration,但一旦写入,它就不会应用于系统。 有没有办法强制configuration重新加载而不重新启动整个系统? pfSense shell: $newIp['mode'] = 'ipalias'; pfSense shell: $newIp['interface'] = 'wan'; pfSense shell: $newIp['descr'] = 'vip1'; pfSense shell: $newIp['type'] = 'single'; pfSense shell: $newIp['subnet_bits'] = 24; pfSense shell: $newIp['subnet'] = '192.168.0.241'; pfSense shell: $config['virtualip']['vip'][] = $newIp; pfSense shell: parse_config(true); pfSense shell: write_config(); pfSense shell: exec; 如果我打印configuration,我可以看到添加了贵宾: [virtualip] => Array ( [vip] => […]
我试图想出一个傀儡模块sensu_client在一个实例中安装和configurationsensu客户端。 模块目录结构如下所示: . |– examples |– files | |– client-ssl | |– custom_plugins | | |– common | | `– <env> | `– default_plugins |– manifests |– spec | `– classes `– templates `– custom_plugins |– common `– <env> 文件夹和他们的描述是这样的: files/default_plugins/ :来自互联网的默认插件 files/custom_plugins/common :我们编写的插件,与环境files/custom_plugins/common files/custom_plugins/<env> :我们编写的特定于环境的插件 和模板目录相同的想法。 如果可能的话,我想将所有这些插件复制到客户端的/etc/sensu/plugins文件夹中,因为在我们的其他环境中(我们使用ansiblepipe理),我们已经将sensu插件位置标准化为/etc/sensu/plugins夹。 当我运行我写的清单时,出现以下错误消息: Error: Could not retrieve catalog from […]
我有一个高性能简单的NAS内的mdraid 10arrays4个三星850 EVO固态硬盘。 运行Centos6.8最小。 我发现SSD的温度开始增加自己没有任何磁盘io。 这种情况一次只发生在一些驱动器上。 一旦驱动器重新启动40c,活动指示灯开始闪烁。 驱动器安装在良好的气stream中。 顶部和iotop显示根本没有访问RAID的进程。 它在引导之后随机发生,但是一个或两个驱动器总是这样做。 有时候全部都是。 我有第五个SSD作为系统驱动器与操作系统,并nevr有问题。 我找不到是什么原因造成的。 这是与EVO 850dynamic温度控制有关,为什么它会增加温度。 我很茫然,任何帮助都很好,可以深入到底。 Occassionaly我有1或2的驱动器退出arrays。 日志不显示原因,只影响。
我正在设置一个postfix服务器来防止垃圾邮件/恶意软件。 服务器应该拒绝可疑的传入邮件,否则将其发送到transport_maps中列出的实际邮件服务器。 当我尝试用telnettesting我的设置时出现以下内容: root@localhost:~# telnet localhost 25 Trying ::1… Connected to localhost. Escape character is '^]'. 220 spamfilter.local ESMTP Postfix (Debian/GNU) HELO localhost 250 spamfilter.local MAIL FROM: <[email protected]> 250 2.1.0 Ok RCPT to: <[email protected]> 451 4.3.0 <[email protected]>: Temporary lookup failure 这甚至适用于postmaster @ localhost。 main.cf(注释掉“check_policy_service inet:127.0.0.1:10023”,因为还有灰名单正在进行,而我在testing时被禁用): smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # […]
目前,客户端正在将数据上传到旧的Web服务器,但我们希望客户端开始将数据上传到新的服务器。 但是,我们希望当前上传到旧的服务器继续,而新的上传通过新的服务器。 所有上传到旧服务器完成后,我们希望所有新的请求去新的服务器。 我想知道这是否可以用NGINX代理来完成? 代理也应该能够处理networking套接字。 可能的想法: 一个命令(或函数),将切换代理服务器,而不重新启动代理,并且是特定于连接。 configuration中的条件将告诉代理在旧服务器上完成作业后将请求传递到新服务器。
我有一个Server 2012R2域控制器(我们称之为DC01和DC02)。 我还有一台服务器2012R2成员服务器(我们将其称为COLLECTOR),我将用它来收集来自各种服务器的某些事件日志。 我已经设置了事件日志收集,并且能够成功地为来自多个服务器的“应用程序”,“系统”等日志设置订阅。 我的问题是,我想从域控制器上的“目录服务”日志收集事件。 但是,当我在COLLECTOR上设置新的订阅时,在“查询筛选器”下,我没有“目录服务”日志作为选项,因为COLLECTOR没有安装AD DSangular色,因此没有日志如“目录服务”)与域控制器相关联。 任何想法如何从成员服务器事件收集器收集来自特定Active Directory日志的事件?
我正在尝试使用securitymetrics.com来确保我的基础架构符合PCI-DSS标准。 该标准要求使用最小TLS 1.1(使用CBC密码)。 TLS 1.0是不允许的。 在保护ftp(vsftpd)的同时,我禁用了sslv2和sslv3,但是在禁用TLS 1.1和TLS 1.2的情况下无法阻止TLS 1.0。 configuration文件有ssl_tlsv1选项,可以设置为YES或NO,但我没有看到任何方法来区分1.0和更高版本。 我怎样才能启用只有TLS 1.1和更好?
我试图设置TFS发布pipe理部署到IIS服务器设置为共享configuration。 但是,部署实际运行时,出现以下错误: ##[debug]System.Exception: Filename: \\?\UNC\storage\webfarm\config\applicationHost.config Error: Cannot write configuration file due to insufficient permissions ##[error]Filename: \\?\UNC\storage\webfarm\config\applicationHost.config ##[error]Error: Cannot write configuration file due to insufficient permissions 用于运行DSC脚本的用户具有修改applicationhost.config的权限。 这是一个红鲱鱼错误,还是我们错过了什么? 更新:我已经testing了将共享configuration移动到Windows服务器共享,以确保它不是一个SAN问题,但是,导致了一个不同的错误: Cannot commit configuration changes because the file has changed on disk 如果其他脚本尝试同时执行某些操作,我以前遇到过这个问题,但是我已经将configuration切换到了创build应用程序的最低限度。 唯一一次能够实现它的是打破共享configuration并返回本地。 这是不理想的,因为我们在农场configuration中运行。