我在Debian 7上安装了etherpad-lite – 我也configuration了NPM和Node.js,但是如果我尝试打开etherpad,我得到这个错误: {“错误”:“对不起,发生了一件坏事!” } 在控制台上,我得到: etherpad@pad:~/local/etherpad/etherpad-lite$ bin/run.sh Ensure that all dependencies are up to date… If this is the first time you have run Etherpad please be patient. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. Ensure jQuery is downloaded […]
我已经看到了我的服务器的奇怪的行为,首先我看了日志文件/var/log/mongodb/mongodb.log 。 在那里我看到了下一行: Wed Jan 7 16:33:31 [FileAllocator] allocating new datafile /var/lib/mongodb/salesg_call_log.1, filling with zeroes… Wed Jan 7 16:33:31 [FileAllocator] FileAllocator: posix_fallocate failed: errno:28 No space left on device falling back Wed Jan 7 16:33:31 [FileAllocator] error failed to allocate new file: /var/lib/mongodb/salesg_call_log.1 size: 33554432 errno:28 No space left on device Wed Jan 7 16:33:31 […]
我有一个运行Bind9的Ubuntu服务器,它不会recursion。 我也不想把它用于任何一种本地的DNS,因为它可能不能反映外界所见的东西(例如,得到陈旧的logging)。 因此,服务器本身应该总是使用外部DNS服务器。 然而, resolvconf -u似乎总是把127.0.0.1放在那里,我似乎无法closures它。 /etc/resolvconf中的任何文件都不会发生127.0.0.1 。 可以预防吗?
我正在升级运行最新的Debian的VPS的一个问题,我决定切换到testing分支,以便能够使用OpenSSH 6.7(目前的稳定分支只带来了6.0,它缺less许多密码,对我来说很重要)。 因此,花了大约5个小时试图完成这项工作后,我放弃了,并在此寻求指导,因为没有find有效的解决scheme。 我试图做apt-get install openssh-server但它只是扔我未满足的依赖。 [root:~]# apt-get install openssh-server Reading package lists… Done Building dependency tree Reading state information… Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: lsof : Depends: libperl4-corelibs-perl or perl (< 5.12.3-7) but 5.20.1-4 is to be installed openssh-server : Depends: […]
我目前正在试图在debian 7下创build一个高度可用的NAS。我正在使用以下软件包: drbd8-utils的 iscsitarget iscsitarget-DKMS 起搏器 corosync OpenAIS的 一切工作正常,没有pacemaker (所以我会把它不是一个conf错误) 当我把所有东西放在心脏起搏器上时,一切正常,直到我重新启动其中一个节点。 这里是我的起搏器configuration: node NAS-1 node NAS-2 primitive nas_ip ocf:heartbeat:IPaddr2 \ params ip="192.168.152.210" cidr_netmask="255.255.255.0" primitive p_drbd ocf:linbit:drbd \ params drbd_resource="nas" \ op monitor interval="29" role="Master" \ op monitor interval="31" role="Slave" primitive p_iscsitarget ocf:heartbeat:iSCSITarget \ params iqn="iqn.2015.01.net.utopia:nas" tid="1" \ op monitor interval="10s" group g_iscsi nas_ip p_iscsitarget ms […]
我在Debian Wheezy下运行qemu / KVM。 我想让我的所有客人都完全encryption。 我可以看到的可能性: – 或者我使用dm-crypt(cryptsetup)encryptionLVM卷,并使用映射的设备作为VM的磁盘 – 或者我使用debian-installerencryption驱动器。 使用第二种解决scheme可以看到一个问题:增大卷的容量非常困难(closures计算机,调整主机的LVM卷大小,使用live-cd将chroot调入guest虚拟机,调整cryptsetup大小,调整guest虚拟机的卷大小,调整文件系统大小,然后那个使机器花4个小时启动的bug,然后完成)。 我想请一些build议! 谢谢!
我试图在主机上安装一个KVM映像,以便修复一个grub问题,但似乎在某处出错。 我已经尝试了以下步骤: mount -o loop,offset=32256 /var/lib/libvirt/images/vm1.img /mnt/vm1 mount -obind /dev/ /mnt/vm1/dev/ mount -obind /proc/ /mnt/vm1/proc/ mount -obind /sys/ /mnt/vm1/sys/ cd /mnt/vm1/ chroot . grub-install 我做了上述步骤,但是当我安装grub我看到以下内容: root@host:/# grub-install /dev/sda grub-probe: error: Cannot find a GRUB drive for /dev/loop0. Check your device.map. Auto-detection of a filesystem module failed. Please specify the module with the option `–modules' explicitly. […]
我有一些问题login到一台服务器通过密钥SSH 这是客户端输出:ssh'[email protected]'-p 2201 -v OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to pdwhost [107.191.34.35] port 2201. debug1: Connection established. debug1: identity file /home/importer/.ssh/id_rsa type -1 debug1: identity file /home/importer/.ssh/id_rsa-cert type -1 debug1: identity file /home/importer/.ssh/id_dsa type 2 debug1: Checking blacklist […]
我在我的Debian(wheezy)服务器上使用postfix,并configuration为在main.cf文件中使用policyd-weight: smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, warn_if_reject check_policy_service inet:127.0.0.1:12525, check_policy_service inet:127.0.0.1:10023, permit 一段时间后,以前的工作设置开始反弹电子邮件,因为它不能达到policyd-weight守护进程(因此warn_if_reject覆盖反弹行为)。 我检查了守护进程,它实际上正在运行并监听端口12525: tcp 0 0 127.0.0.1:12525 0.0.0.0:* LISTEN 20005/policyd-weigh 以下错误消息说明了我认为是问题的核心: Feb 1 12:25:34 ginger postfix/policyd-weight[4446]: warning: child: could not open RBL Lookup Socket to config: IO::Socket::INET: Bad hostname 'config' Invalid argument Feb 1 12:25:34 ginger postfix/policyd-weight[4446]: warning: child: err: can't […]
我使用sendmail从我的debian服务器发送邮件。 我希望能够使用genericstable伪装来发送多个域名的邮件。 我正在使用OpenDKIM签名邮件,但由于OpenDKIM在发生伪装之前签名邮件,因此密钥不匹配。 OpenDKIM在自述页面上解决了这个问题 由于milter协议被合并到MTA中的方式,opendkim在这些头被修改之前会根据这两个特征的需要来查看它们。 这意味着DKIM签名是基于由邮件客户端最初注入的头而不是由MTA实际发送的头来生成的。 结果,由于签名数据和接收数据不匹配,接收方的validation代理将不能validation签名。 build议的解决scheme是: (1)根据需要发送已经写入标题的邮件,避免使用这些function(或将其closures)。 (2)在单独的盒子上或在同一盒子上设置两个MTA。 第一个MTA应该做所有的重写(即使用这两个特征),第二个应该使用opendkim添加签名,根本不重写。 (3)在configuration文件中有多个DaemonPortOptions行。 第一个守护进程端口(端口25)执行头重写,然后将消息路由到第二个端口; 后者不重写,而是进行签名,然后发送消息。 我想使用第三种解决scheme来解决这个问题,但我不知道如何开始。 由于原因,我不想使用第一个解决scheme。 我目前的sendmail.mc文件中的DeamonPortOptions是 DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea')dnl 是否可以设置我的sendmail使用1端口伪装和另一个添加DKIM和发送像READMEbuild议? 任何帮助将不胜感激!