服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
所以我刚刚阅读的HOWTO说,将这些JAVA_OPTS添加到启动脚本: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=[place port number here] -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false 我这样做,它的工作,但Tomcat不closures,并给我 java.net.BindException: Address already in use 当我执行关机脚本。
在Hyper-V中,需要closures虚拟机才能合并已删除的快照。 合并过程可能需要很长时间,所以我想知道是否有任何可用的方法/程序/脚本来监视合并过程,并在合并完成后重新启动虚拟机?
我们有一个在Apache Tomcat上运行的jee web应用程序,我们需要在生产环境中部署这个应用程序,我们决定使用故障转移结构,这样我们有一个服务器活动,另一个被动,每个包含tomcat服务器,我们需要知道是一个如何告诉被动服务器处理活动服务器closures时的下一个请求或:如何被动的tomcat运行后,活动的tomcat下来? 我们正在使用Windows Server 2008 R2。 提前致谢。
嘿,我使用webmin来pipe理我的CentOS框上的Apache服务器,我试图将我的子域设置为不同的目录。 然而,子域和实际域都去完全相同的页面 <VirtualHost *> DocumentRoot "/home/windshear-gaming.com/public_html/forum" ServerName forum.windshear-gaming.com </VirtualHost> <VirtualHost *> DocumentRoot "/home/windshear-gaming.com/public_html/portal" ServerName windshear-gaming.com </VirtualHost> 多数民众赞成我如何设置两个不同的子域的虚拟主机。 其他一切都保持不变。
我在所有OpenVZ容器上运行以下命令来更新/升级: vzctl exec2 $VM "apt-get update & apt-get upgrade" 在所有情况下,我得到以下错误: dpkg-preconfigure: unable to re-open stdin: No such file or directory 当有可用的更新时,会跳过提示“您要继续”。 另外,dpkg不能设置locking: E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 我怎样才能解决这个问题?
我正在运行一个非常密集的MySQL查询,并注意到只有1个内核被用于100%,而其他内核空闲。 系统运行Ubuntu 12.04和MySQL 5.5.28 有没有办法强制MySQL使用所有内核?
我正在尝试将基于RHEL的服务器迁移到Citrix XenServer(5.6)VM。 我的计划是使用Clonezilla LIVE CD,我曾经有过很好的克隆物理到物理的东西。 所以我已经创build了物理服务器的映像。 为了简单起见,我在XenCenter中创build了一个新的虚拟机,具有1个单CPU和1Gb内存 – 将在以后投入更多资源。 不过在还原部分,我可以在新虚拟机上启动Clonezilla,并且可以在启动屏幕上selectClonezilla的不同模式。 但是我从来没有成功通过第一个启animation面。 ISO位于networking共享中。 现在我已经尝试了不同版本的Clonezilla,默认Debian和基于替代Ubuntu的amd64和i486版本。 共有4个ISO。 a)clonezilla-live-2.1.0-26-amd64:在下面停下来,之后闪烁的马车 [2.808077] Refined TSC clocksource calibration: 2666.841 Mhz [2.808108] Switching to clocksource tsp b)clonezilla-live-2.1.0-26-i486:用黑屏停止 c)clonezilla-live-20130226-quantal-amd64:用白色屏幕停止 d)clonezilla-live-20130226-quantal-i386:用白色屏幕停止
Microsoft .NET Framework Client Profile足以让PowerShell在Windows XP工作站上工作吗? 还是需要安装完整的.NET版本? 完整版有什么优点吗? PowerShell版本:2.0 .NET版本:?
我的表规则: sudo iptables -L –line-numbers Chain INPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT tcp — anywhere anywhere tcp dpt:http 2 ACCEPT all — anywhere anywhere state RELATED,ESTABLISHED 3 ACCEPT icmp — anywhere anywhere 4 ACCEPT all — anywhere anywhere 5 ACCEPT tcp — anywhere anywhere state NEW tcp dpt:ssh 6 ACCEPT […]
网关192.168.122.1运行dns,命令dig @192.168.122.1 www.google.com返回有效的IP地址,因此dns正在工作并且可以到达。 命令tracepath www.google.com返回gethostbyname2: Host name lookup failure 。 命令tracepath 74.125.129.103 (www.google.com)产生有效结果,所以默认路由设置正确。 命令route -n输出: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.122.1 0.0.0.0 UG 100 0 0 eth0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 而/etc/network/interfaces的适用部分是: auto eth0 iface eth0 inet static address 192.168.122.5 netmask 255.255.255.0 broadcast 192.168.122.255 gateway 192.168.122.1 dns-servers […]