服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我在计算机pipe理上有这个错误,但根据虚拟机(虚拟磁盘的名称)属性,卷是健康的。 因此,卷处于脱机状态,无法挂载,也无法在此主机上启动实验室虚拟机。 这是我inheritance的一些硬件来运行一些testing,直到这一直是100%的可靠,但它是一个很好的桌面桌面,没有服务器级 – 我们增加了2个由Vantec(Marvell芯片组,驱动程序构build到Windows的mSATA PCI-E卡我相信但其他人可能已经安装了一些驱动程序)。 我认为控制器与它失败的原因有关。 盒子是一个干净的Win 2012 R2 +安装graphics卡驱动程序,也许操作系统启动RAID控制器驱动程序(别人安装Windows,所以我有一些未知数)。 在一些繁重的使用过程中,将一些虚拟机移动到这个新的分层存储中,服务器将被蓝屏蔽,现在卷不能联机(而Hyper-V完成移动主机的启动卷并更改文件的位置)。 一些基本的细节: 唯一可见的错误是: PS C:\ temp> Test-SpacesConfiguration -StoragePoolFriendlyName HostPool This Storage Pool, the Storage Spaces created from this pool, and the Physial Disks in the Storage Pool are all currently healthy. True PS C:\ temp> Get-SpacesPoolPhysicalDiskHWCounter HostPool PhysicalDiskFriendlyName : PhysicalDisk1 PhysicalDiskUniqueID : SCSI\Disk&Ven_Samsung&Prod_SSD_850_EVO_mSAT\5&177c7049&0&020000:WIN-PO59ODAIC8U CurrentTemperatureCelsius […]
我刚刚将一个postfix邮件服务器移动到另一个盒子,而且我无法通过unix套接字让postfix与opendkim通话。 openskim套接字位于/var/run/opendkim/opendkim.sock : srwxrwxr-x 1 opendkim opendkim 0 Aug 14 15:11 /var/run/opendkim/opendkim.sock= ….但后缀无法看到它。 以下是/var/log/mail.log的一行: Aug 14 15:13:04 new postfix/smtpd[23954]: warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory 这是我的/etc/postfix/main.cf的一行: smtpd_milters = inet:127.0.0.1:11444 unix:/var/run/opendkim/opendkim.sock 有没有人有什么想法是什么导致问题? 我search了一下,但我找不到任何解决scheme。 更新:我使用的是Postfix 3.1.0-3 。 这是我的uname -a : Linux starbeamrainbowlabs.com 3.14.32-xxxx-grs-ipv6-64 #7 SMP Wed Jan 27 18:05:09 CET 2016 x86_64 […]
我有一个带有无线和有线networking端口的Cent0S 7 miniPC。 无线端口(wlp3s0)作为DHCP客户端与192.168.10.X寻址连接,并具有DNSparsing。 我正在尝试将有线端口(enp2s0)设置为具有192.168.100.X寻址的私有子网的DHCP服务器。 miniPC将连接到一个networking交换机,它将连接其他客户端设备进行testing。 我按照RedHat的指示在这里开球。 我的/etc/systemd/system/dhcpd.service如下: [Unit] Description=DHCPv4 Server Daemon Documentation=man:dhcpd(8) man:dhcpd.conf(5) Wants=network-online.target After=network-online.target After=time-sync.target [Service] Type=notify ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd –no-pid enp2s0 [Install] WantedBy=multi-user.target 而我的/etc/dhcp/dhcpd.conf如下: default-lease-time 600; max-lease-time 7200; authoritative; subnet 192.168.100.0 netmask 255.255.255.0 { option routers 192.168.100.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.100.255; range 192.168.100.10 192.168.100.100; } […]
我最近买了一个testing专用服务器来testingproxmox。 安装进行顺利,但我卡在networkingconfiguration 我给了IP:192.151.154.146/29 proxmox安装后, interfaces是 # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.151.154.146 netmask 255.255.255.248 […]
我们希望为文件的types设置存储: A.工作人员文件(只能从办公室访问)B.pipe理文件(只能从办公室访问)C.graphics文件(可通过SFTP在办公室外访问) 问题: 我们假设在安全性方面使用单一NAS设备是一个坏主意,我们是否正确? 我们的想法是将NAS驱动器#1用于A和B(具有文件夹权限)并将NAS驱动器#2用于C 此外,使用两个防火墙路由器,一个用于NAS#1,另一个用于NAS#2 …基于这样的假设,这将在安全方面将C完全与A和B隔离 SFTP和FTP有多重要? SFTP似乎不是一个常见的select,因为它从布法罗DriveStation和TeraStation丢失。 在防火墙路由器上设置VPN有多重要?
我是否需要签署Powershellconfiguration文件中包含的每个Powershell脚本(外部.ps1文件)? 如果是这样,我可以用相同的证书签名(或者是最差的做法)吗? 而只是为了清楚如果一个脚本改变,我只需要辞职改变正确的脚本? 因为脚本的内容是通过某种types的校验和编码到签名中的。
我正在运行一个nginx / php5.6-fpm服务器,我有以下几点 server { listen 10080; listen [::]:10080; root /home/vagrant/app; index index.php; server_name mia-dev.dev; port_in_redirect on; rewrite ^/static/(.*)$ /dist/static/$1 permanent; location / { try_files $uri $uri/ /index.php?$query_string; } # load the index page on 404 error_page 404 /index.php; # don't log requests to favicon.ico location = /favicon.ico { log_not_found off; access_log off; } # […]
我在Arduino(这是一个embedded式平台)上编写了一些软件,它将8888端口的UDP消息广播到255.255.255.255 。 该硬件通过WiFi连接到本地networking,通过DHCP为路由器提供IP地址。 在我的计算机(通过wifi连接到同一networking)中,我创build了一个MAX / MSP草图,用于监听8888端口的UDP消息,并且可以接收所有从Arduino发送的消息。 我现在需要做的是让这个系统在我无法控制的networking上工作。 我只需要能够将两个设备连接到networking,并能够在受控环境中向另一个发送消息。 目的是为了能够使这个设置便携,最小的设置(想想交互式艺术安装)。 发送消息到255.255.255.255是一种可靠的广播消息吗? 回答这个问题时你可以假定的事情: 数据包将相对较短(less于150个字节),并将每秒广播一次或less一次。 这些networking将是公共无线networking,例如咖啡店,普通房子AirPort Express,甚至可能是由电话公司或机场免费提供的。 我无法configuration特定的IP从embedded式系统发送消息,因为我无法编译代码并在旅途中上传。 embedded式系统需要一种能够发送消息的方式,而不pipe它与什么链接。 编辑:“可靠”我不是说每一个包都必须每一次到达目的地。 在这个应用程序中甚至可以接受50%的数据包丢失。 我想知道的是,如果上述IP地址可以在所有networking设置中工作。
我有一个站点部署到Windows Server 2012和Ubuntu 14.04,有一个显着的性能差异。 代码库和DB数据完全一样。 Windows环境 AWS EC2中的Windows Server 2012 t2.medium(双核4GB RAM) PHP 5.5 64位ts Apache 2.4.23 Linux的 AWS EC2 t2.medium中的Ubuntu 14.04(双核4GB RAM) PHP 5.5 64位ts Apache 2.4 这两个站点都启用了OpCache。 执行时间(唯一的PHP执行时间,不包括所有的networkingstream量) Windows:2.6-2.8s Linux:200-400ms 在Windows中,我们注意到在单页加载时,几乎有100%的CPU负载峰值和3-4MB的IO读取峰值。 我已经在Windows上看到了有关PHP性能的Stackoverflow中的各种post,但是我们已经从那些post应用/testing了build议到没有avil https://stackoverflow.com/questions/22845321/php-factor-30-performance-difference-from-linux-to-windows https://stackoverflow.com/questions/9854848/windows-7-php-symfony2-terribly-slow 任何意见,将不胜感激!
我基于这个规范创build了自己的证书颁发机构和服务器(虚拟主机)证书: https : //jamielinux.com/docs/openssl-certificate-authority/index.html 它成功创build,它的工作,但服务器证书不工作没有“www”前缀。 如果我加载没有“www”的域,得到一个错误: SSL_ERROR_BAD_CERT_DOMAIN 我检查了几个页面,选项会有(SAN – 主题替代名称),只是不知道如何插入上述configuration。