从ubuntu 14升级到Ubuntu 16之后, sshd服务有问题。 它保持长时间连接,有时无法连接等。当我尝试重新启动sshd服务大部分时间我收到一条错误消息: myuser@myserver:~$ sudo service sshd restart Failed to retrieve unit: Connection timed out Failed to restart sshd.service: Connection timed out See system logs and 'systemctl status sshd.service' for details 当我检查systemctl状态错误是: myuser@myserver:~$ systemctl status sshd.service Failed to get properties: Connection timed out 这似乎是问题不仅是对于sshd服务,因为它也为其他服务做同样的事情。 例如,当我从服务器安装或卸载任何东西,我得到: Failed to execute operation: Connection timed out
在puppet 3.8.7中使用防火墙模块版本1.9,我得到以下错误: SERVER上的错误400:防火墙上的参数string无效 这是我的木偶防火墙规则。 firewall { "051 asterisk-set-rate-limit-register": string => "REGISTER sip:", string_algo => "bm", dport => '5060', proto => 'udp', recent => 'set', rname => 'VOIPREGISTER', rsource => 'true'; "052 asterisk-drop-rate-limit-register": string => "REGISTER sip:", string_algo => "bm", dport => '5060', proto => 'udp', action => 'drop', recent => 'update', rseconds => '600', rhitcount […]
我在一个bind9 Linux主机上安装了ldap.my.dom ,将ldap.my.domparsing到我的一个ldap服务器(replicated:ldap1 / master和ldap2 / slave) – 都运行Ubuntu 14.04和slapd 2.4.31-1 + nmu2ubuntu8。 4。 当我设置RRDS时,我很肯定ldapsearch在查询ldap.my.dom时会碰到两个RRDS主机。 这似乎是由于某种原因最近打破了,或者也许我完全错过了它在安装过程中。 想知道我在这里有什么问题。 当我使用nslookup (在我的testing环境中从ldap1运行所有这些)时,我可以看到RRDS正常工作,在后续运行中返回不同的顺序: test# nslookup ldap.my.dom Server: 10.7.1.4 Address: 10.7.1.4#53 Name: ldap.my.dom Address: 10.7.1.21 <<<< .21 first Name: ldap.my.dom Address: 10.7.1.22 test# nslookup ldap.my.dom Server: 10.7.1.4 Address: 10.7.1.4#53 Name: ldap.my.dom Address: 10.7.1.22 Name: ldap.my.dom Address: 10.7.1.21 <<<< .21 now […]
我有一个运行Ubuntu 16.04的ZFS存储服务器。 我最近添加了一个12G SAS扩展器和6个Seagate ST8000NM0055。 当我创build一个镜像的vdevs池并尝试从服务器中的另一个arrays中同步数据时,性能非常差(rsync在一小时内复制大约130GB)。 此外,看起来设备在zfs池中几乎没有被利用,但是当不在池中时可以饱和。 主板是Super Micro X10DRi-T4 +,我使用的是一块LSI 9300-8E,连接SFF-8644到SFF-8644 SAS电缆连接到一个12G扩展器。 在试图弄清楚,我已经销毁了数组,并单独testing每个磁盘,但同时使用hdparm -Tt读取和dd写入。 有没有人知道什么可能导致这个或更好,但我可以纠正? 请参阅以下内容以获取iostat -dmx 1在单个驱动器和镜像vdev池中的输出。 dd和hdparm asciicasttesting: https ://asciinema.org/a/XPveZvDnpiU9REF6QG8KjfyVK(活动开始于大约23秒标记) 镜像vdev rsync的asciicast(将数据从sdc-sdf上的镜像vdev池复制到服务器内部,以便在扩展器上作为镜像的vdev池,这些驱动器是sdg-sdl: https : //asciinema.org/a/mjv6aiPeoXdu5I1NSccb82MaV
当Interac与我们的服务器通信时(我改变了电子邮件地址等),这是我从我的postfix邮件日志中得到的错误: Aug 31 12:16:01 mail2 postfix/smtpd[13832]: connect from notification.payments.interac.ca[64.254.22.37] Aug 31 12:16:01 mail2 postgrey[21703]: action=pass, reason=client whitelist, client_name=notification.payments.interac.ca, client_address=64.254.22.37, [email protected], [email protected] Aug 31 12:16:01 mail2 postgrey[21703]: action=pass, reason=client whitelist, client_name=notification.payments.interac.ca, client_address=64.254.22.37, [email protected], [email protected] Aug 31 12:16:01 mail2 postfix/smtpd[13832]: NOQUEUE: reject: RCPT from notification.payments.interac.ca[64.254.22.37]: 450 4.1.7 <[email protected]>: Sender address rejected: unverified address: host smtpgw01.certapay.com[64.254.22.37] said: 550 […]
Ubuntu Server从12.04 LTS 升级到14.04 LTS之后, ImageMagick模块将不再加载。 我每30分钟收到一封邮件,内容如下: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/imagick.so' – liblcms2.so.2: cannot open shared object file: No such file or directory in Unknown on line 0 升级是连续的吗? 编辑: 所以,Imagemagick的名字已经改变了,现在是想象! 只需删除并重新安装它的新名称: sudo apt-get –purge remove "imagemagick" sudo apt-get –purge remove "php5-imagick*" sudo apt-get install imagemagick && php5-imagick sudo […]
尝试在Ubuntu 14.04服务器上设置Apache 2.4。 我已经启用了默认的000-default.conf站点configuration以及默认的apache2.conf 。 当我访问服务器时,将显示默认页面/var/www/html/index.html的源代码,而不是其HTML显示。 search这个问题给PHP问题的结果和如何更改默认文件的问题,所以我一直无法find帮助,肯定是一个简单的问题。 我究竟做错了什么? 编辑:如果我编辑apache2.conf读取 ForceType text/html 代替 ForceType text/plain 那么对server.com/index.html的请求确实呈现为HTML(它不在ForceType text/plain )。 但是,对于server.com的请求将继续返回index.html的源代码。 由于ForceType text/plain是默认值,所以必须有不同的问题,但这个事实可能有助于排除故障。
当复制openldap主从,我卡在中间,试图解决,但不工作。 使用Ubuntu14.04操作系统,我正在关注这个链接: https://askubuntu.com/questions/360190/how-to-configure-master-slave-ldap-replication 在第二步“enable_sync_prov.ldif”我得到这个错误: modifying entry "olcDatabase={0}hdb,cn=config" ldap_modify: No such object (32) matched DN: cn=config 我试着改变olcDatabase = {1} mdb和bdb,仍然得到相同的错误。 enable_sync_prov.ldif 文件 : dn: olcDatabase={1}hdb,cn=config changetype: modify delete: olcAccess olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=vmailadmin,dc=example,dc=com write by * none – add: olcAccess olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by dn="cn=vmailadmin,dc=example,dc=com" write […]
我有多个运行OpenVPN的实例。 在Ubuntu 14.04中,我们可以通过使用来控制和获取状态 /etc/init.d/openvpn status server4 它返回这些输出中的一个: "* VPN 'server4' is running" OR "* VPN 'server4' is not running" 女巫给我一个0或1的退出码。 我如何得到这个在Ubuntu 16.04工作?
我提出了一个服务器机架是一个共同主办的位置,到目前为止,我一直在使用它与IPv4和使用NAT的机架内networking。 我想添加IPv6,这样我就可以在没有NAT的情况下处理来自外部的所有处理器。 我家的ISP给了我IPv6服务,所以我不需要任何IPv6隧道来做到这一点。 同位置设施也为我提供了IPv6 / 64前缀。 我的网关系统是一个Linux 14.04系统。 我可以使用IPv4或IPv6进入ssh,从ssh到机架中的其他IPv4设备,我也可以在机架上ping设备。 与外界的连接是br4 / eth4。 与机架内networking的连接是br6 / eth6。 (我使用的是linux网桥(br4 / br6),这样我启动的任何虚拟机都可以使用这些接口来共享物理端口。) br4接口在/ etc / network / interfaces中有一个静态configuration,如下所示: auto br4 iface br4 inet static address 64.999.999.112 netmask 255.255.255.240 broadcast 64.999.999.127 gateway 64.999.999.113 dns-nameserver 8.8.8.8 dns-nameserver 8.8.4.4 dns-search hellothere.com bridge_ports eth4 bridge_stp off bridge_fd 0 bridge_maxwait 0 iface br4 inet6 […]