服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我只能提交.htaccess文件。 当我尝试在terminal上提交时,出现此错误: svn: PUT of '/svn_sr/!svn/wrk/2ce2c337-a371-411d-ae18-c39acaa2d846/trunk/crm/.htaccess': Could not read status line: Connection reset by peer (http://www.xxx.com) 当我尝试在zend-studio上提交时,出现以下错误: svn: Connection reset svn: PROPFIND request failed on '/svn_sr/trunk/crm/.htaccess' 我认为这是许可问题,但我不知道我该如何解决。 我在网上发现了一些关于这个问题的东西,但是我不明白或者我解决不了问题。 我的虚拟主机configuration: <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName www.xxx.com DocumentRoot /home/umutftp <Location /svn_sr> DAV svn SVNPath /var/svn/sr AuthType Basic AuthName "Development area" AuthUserFile /etc/apache2/dav_svn.passwd Require valid-user </Location> <Directory /home/umutftp> […]
在阿帕奇,我想设置“基于IP的”托pipe2个网站,并启用他们的SSL。 但是,我不清楚如何configurationhttpd.conf文件。 问题: 1)我需要一个NameVirtualHost指令进行基于IP的设置? 在Apache的网站上,它说这是基于名称的需求,但没有提到基于IP。 2)如果需要NameVirtualHost,描述和数量必须与VirtualHost指令的数量相匹配吗? 例如,我可以说“NameVirtualHost *:80”和以后使用和? 或者,我需要“NameVirtualHost IP_ADDRESS_1:80”和“NameVirtualHost IP_ADDRESS_2:80” 3)如果ServerName是example1.com(没有“www”),它会有所作为? 4)在VirtualHost中,是否需要为ServerAlias设置一个值,比如IP本身? 我要分享的一件事情是,如果你有(可能包括)ssl.conf,你不应该添加“Listen 443”到你的httpd.conf,否则在重新加载时,apache会抛出一个“Address already in use:make_sock:无法绑定到地址[::]:443“错误。 #see above questions about below directive #NameVirtualHost *:80 #NameVirtualHost *:443 … <VirtualHost IP_ADDRESS_1:80> DocumentRoot /www/example1 ServerName www.example1.com </VirtualHost> <VirtualHost IP_ADDRESS_2:80> DocumentRoot /www/example2 ServerName www.example2.org </VirtualHost> <VirtualHost IP_ADDRESS_1:443> DocumentRoot /www/example1 ServerName www.example1.com SSLEngine on SSLProtocol all SSLCertificateFile /home/web/example1_certs/public.crt […]
在尝试更新Debian 6,x64上的linux-image-2.6.32-5-amd64软件包时出现错误。 Setting up linux-image-2.6.32-5-amd64 (2.6.32-41squeeze2) … Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 Searching for GRUB installation directory … found: /boot/grub Searching for default file … Generating /boot/grub/default file and setting the default boot entry to 0 entry not specified. run-parts: /etc/kernel/postinst.d/zz-update-grub […]
我想要做的就是用IPTable阻止RST攻击。 当我search它的时候,我看到了RST标志被设置的数据包被限制的规则。 我有点疑问。 我想我需要限制RST / ACK而不是RST 如果我没有弄错,当一个客户端决定放弃一个已经存在的连接时,服务器会收到一个RST / ACK数据包,服务器响应ACK并closures连接。 所以,通常服务器永远不会获取或发送RST数据包。 我认为它总是RST / ACK 除非客户端被欺骗,攻击者插入RST标志。 但为什么会closures连接? 我可能是错误的,因为我看到它在任何地方,但我认为攻击者需要插入RST / ACK,这是不正确的? 服务器无法看到没有ACK的RST / ACK和RST之间的区别吗?
我正在设置一些服务器,但我用一台服务器茬了一个问题。 我设置了一个本地DNS服务器,当我尝试连接到这个服务器与SSH的[email protected]我会得到:权限被拒绝(公钥,键盘交互)。 但是当我像[email protected]那样访问它时,它可以和Pubkey Auth一起使用。 奇怪的部分是当我连接到服务器git.stvns.com =>由dns服务器pipe理的主机名,使用主机名时它将连接正常。 我使用的是Ubuntu 10.04 amd64作为所有服务器的基础,他们实际上是相同的图像,我从最低的设置拍摄了一个快照,所以不能责怪操作系统。 我比较了我的sshd_config文件,但它们几乎是完全相同的,只有authorized_keys的地方不同,不能指责那个完整的给出问题。 本地我删除了与DNS服务器相关的known_hosts,并且没有任何运气再次尝试。 这是我的sshd_config文件的副本也许有人发现一个错误: Port 22 Protocol 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key UsePrivilegeSeparation yes LoginGraceTime 20 PermitRootLogin no RSAAuthentication yes RhostsRSAAuthentication yes HostBasedAuthentication no PubkeyAuthentication yes AuthorizedKeysFile /etc/ssh/authorized_keys PermitEmptyPasswords no PasswordAuthentication no StrictModes no ClientAliveInterval 60 ClientAliveCountMax 0 # Host Specific !!!!! ListenAddress 192.168.1.61 # List of […]
MS SQL Server和Web应用程序都在同一台机器上。 在web.config ,我有: connectionString=" Server=COMPUTER_NAME\MSSQLSERVER; Database=MyDatabase; Integrated Security=true" name="ApplicationServices" providerName="System.Data.SqlClient" 我创build了一个名为MyWebsite的新Windows用户帐户。 这个帐户分配给应用程序池,我的Web应用程序正在使用它。 在SQL Server Management Studio中: 我的网站帐户被添加到安全 – >login MyWebsite帐户添加到MyDatabse – >安全 – >用户。 db_owner选项被选中 在SQL Server安全pipe理器中,所有协议都是允许的。 我仍然收到以下错误信息: A network-related or instance-specific error occurred while establishing a connection to SQL Server' Error 26 – Error Locating Server/Instance Specified 我错过了什么吗?
我可以用需要多个PPTP VPN连接的小型networking中的思科路由器replace开放式networkingiconnect 624调制解调器吗? iconnect 624调制解调器不允许多个同时PPTP VPN通道? 所以,如果我用Cisco 881路由器replace这个调制解调器,它将工作ADSL 2+互联网和多个同时VPN连接? 请指教。 谢谢。
你可以让我知道这一点。 https://stackoverflow.com/questions/10234475/vmplayer-on-centos6 那是closures的话题。 希望这是这个问题的正确的地方。
我试图configuration一个后缀的邮件服务器使用SMTP的TLSencryption(和IMAP与dovecot,但我还没有到那一点)。 它运行在Fedora 14机器上,我使用webmin来pipe理它。 我有一个Windows域的DC也设置为Microsoft证书颁发机构,我创build了一个GP作为受信任的根CA添加CA. 我有Web服务安装,所以我可以去localhost / certsrv请求新的证书。 无论如何,我想使用Microsoft CA为postfix邮件服务器创build私钥,公钥和CA Cert。 目的是所有使用SMTP(和IMAP)连接到服务器的用户都将使用SSL / TLS,并且会信任服务器,因为他们信任CA. 让我知道如果你需要更多的信息或任何build议。
我们运行VMWare vSphere 4.1和VMWare Data Recovery 1.2。 我们有一个没有备份的每周窗口,由于一些不稳定因素,我们想尝试安排每周自动重新启动VMWare Data Recovery设备。 更具体的细节: – VMWare数据恢复1.2似乎基于CentOS 5.2。 – 我们使用NFS进行数据存储。 设备将此视为本地存储,但驱动器实际上存储在不同的build筑物中。 似乎工作得很好,到目前为止比CIFS(我们以前使用过)要快得多,也更稳定。 我曾尝试使用VDR设备本身中的/etc/cron.d安排重新启动: /etc/cron.d/sunday_reboot: 45 1 * * sun /usr/local/bin/custom_reboot.sh >> /var/log/reboot.log /usr/local/bin/custom_reboot.sh: #!/bin/bash /bin/echo "===================================" /bin/date /bin/echo "Rebooting server now." /usr/bin/reboot 我也重启了crond,/etc/init.d/crond restart但是,/var/log/reboot.log保持为空,正常运行时间表明没有重启发生。 我错过了什么?