服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
使用NSClient ++(和Icinga)监视SQL Server代理作业的最佳方法是什么? 我们在服务器上有大约100个工作。 如果监控能够处理每个工作的恢复状态,那也不错。
我是所有这些DNS的东西总newbei。 我安装了BIND9 ISPConfig和nginx,我通过我的域名提供商面板(Natro)ns1.ostimdenevar.com为我的帐户定义了一些域名服务器,我的IP地址是37.148.208.22。 我的问题是: 我无法到达我的域名,但我的IP工作。 我检查了我的configurationhttp://www.intodns.com/ostimdenevar.com 它说:错误:一个或多个名称服务器没有响应:没有响应的是:37.148.208.22 37.148.208.32 我试图通过ISPConfig进行configuration。 但错误没有改变。 我试图手动configuration绑定,但没有改变。 我没有办法解决这个问题,甚至不知道在哪里看。 我应该从哪里开始? 这是我现在使用的绑定configuration文件: 文件:named.conf.local zone "ostimdenevar.com" { type master; file "/etc/bind/db.ostimdenevar.com"; }; 文件:db.ostimdenevar.com ; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA ns1.ostimdenevar.com. root.ostimdenevar.com. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 […]
我们使用expires max来保持静态文件在浏览器中尽可能长时间的caching。 当我们重新部署时,我想强制用户的浏览器转储它的caching文件。 有没有办法与nginx做到这一点?
我在2008 R2 RDS服务器场环境中使用GPO部署的附加文件夹redirect设置了漫游configuration文件。 它们运行良好,但是添加到configuration文件中文件夹位置的文件(例如将文件保存到桌面)仅在注销时复制到redirect的位置。 有什么办法可以设置这个,所以文件立即保存到networking位置,而用户在注销之前工作? 我担心的是,如果发生服务器崩溃,用户可能会丢失数小时的工作数据。 在此先感谢,任何相关的信息将得到一个投票。
uid被设置为nobody(无论如何都应该默认),chroot和只读都被启用。 rsync服务正在通过/etc/init.d/rsync启动。 这是完整的rsrync.conf: motd file = /etc/rsync/rsyncd.motd max connections = 4 timeout = 30 uid = nobody use chroot = true address = my-ip [ubuntu-releases] path = /usr/share/nginx/example.com/cdn/ubuntu-releases log file = /etc/rsync/rsync.log read only = true list = true 所以我的问题是,如果这是安全的或我错过了什么? 我听说rsync通过SSH,但我不知道这是否只用于私人访问。
让我们有一个由Nginx服务的web应用程序,听80端口。 当两个或更多用户尝试访问该应用程序的某个URL时,哪个响应需要很长时间。 例如,十个用户尝试在100秒内为单用户请求加载/give_me_some_charts页面和服务器响应。 每个用户试图通过端口80访问应用程序。 我相信服务器(在我们的例子中是Nginx)将阻止该端口,直到发送响应。 所以处理十个用户需要10 users * 100 seconds == 1000 seconds 。 但是Nginx有一些function叫做平衡 。 现在我不确定服务器如何处理并行请求。 那么,服务器如何处理并行请求以及它如何响应呢? 那Nginx的平衡function是什么?
我可以在戴尔1850上运行哪个版本的ESX? 我有机会用四台1850服务器build立一个testing实验室,如果可能,我想运行最新版本。 谢谢 Knothead00
我只是在ElasticBeanstalk上设置了我的Web应用程序。 一切似乎工作正常,直到我发现我的实例不能使用WebSocket,每次我试图连接内部服务器的错误代码被回避。 当我检查日志时,发现NullPointerException,这是不太可能由我造成的。 这里是stacktrace: Aug 27, 2013 5:01:18 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [WebSocketChannel] in context with path [] threw exception java.lang.NullPointerException at org.apache.catalina.websocket.WebSocketServlet.getWebSocketAccept(WebSocketServlet.java:171) at org.apache.catalina.websocket.WebSocketServlet.doGet(WebSocketServlet.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at […]
我试图通过使用java-package遵循Debian Wiki说明来安装Sun的Java SDK 7 。 但它不能在OpenVZ proxmox容器上工作。 我在我所有的环境中运行Debian Wheezy 7.0-2 64位。 java-package在我的本地机器和其他虚拟化的Debian机器(KVM或VirtualBox)上工作正常,但不能在我的容器上工作。 当我尝试make-jpkg jdk-7u25-linux-x64.tar.gz出现以下错误: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now 任何人都知道如何解决这个问题,还是仅仅是在容器中无法完成的事情之一呢?
我的一个客户抱怨说有一次袭击。 我检查了访问日志,发现从表面上随机的IP地址的pipe理login页面的大量请求。 我在/administrator目录中创build了一个.htacces文件,并使用以下(IP地址混淆)填充它: order deny,allow deny from all allow from 96.xxx.xx.xxx #my IP address allow from 97.xx.xxx.xxx #my client's IP address 然后,我去了一个免费的代理服务器,并inputpipe理页面的URL。 该页面没有加载任何资产(图片),但它确实加载了实际的页面本身。 的Joomla! 在DocumentRoot的.htaccess文件中做一些SEF的东西。 它看起来像这样: ## Begin – Joomla! core SEF Section. # RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # # If the requested path and file is not /index.php and the request # has not […]