可能重复: 如何解决telnet服务器的“getaddrinfo:localhost名称或服务未find”? 我已经在AWS EC2实例上安装了一个新的Ubuntu 12.04,一切正常。 我遵循这个伟大的教程中的说明: http : //www.exratione.com/2012/05/a-mailserver-on-ubuntu-1204-postfix-dovecot-mysql/ 现在我在“安装监视”点,当我重新启动服务,我现在得到这个错误信息: monit: Cannot translate '(none)' to FQDN name — Name or service not known 我开始使用Google,并且有人在那里写信,monit在启动过程中使用getaddrinfo来确定主机名。 好的,所以我想我自己试试getaddrinfo是什么,然后我得到: getaddrinfo: command not found 我想,我的系统上缺less一些东西。 谁能帮忙?
我在这个问题上d </s>不安。 全新的Ubuntu 12.04服务器安装,我可以在SSH中,但不能使用SFTP(使用Filezilla)。 它似乎authentication罚款..但后来它错误: 错误是: Error: Connection timed out Error: Could not connect to server 这是完整的交易: Status: Connecting to 10.2.1.102… Response: fzSftp started Command: open "[email protected]" 22 Command: Trust changed Hostkey: Once Error: Connection timed out Error: Could not connect to server 这是我的sshd_conf文件: Port 22 Protocol 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key UsePrivilegeSeparation […]
试图安装mysql,使用apt-get但是失败 # apt-get install mysql-server Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: mysql-server-5.5 Suggested packages: tinyca The following NEW packages will be installed: mysql-server mysql-server-5.5 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 8,726 kB of archives. […]
任何人都可以向我解释为什么KSM不起作用,这意味着目前我的内核不利用KSM来降低内存使用率。 grep KSM /boot/config-3.2.0-23-generic CONFIG_KSM=y cat /sys/kernel/mm/ksm/pages_shared 0 cat /sys/kernel/mm/ksm/pages_sharing 0 cat /sys/kernel/mm/ksm/pages_unshared 0 内核:3.2.0-23generics Ubuntu 12.04 LTS 64位桌面 免费-m total used free shared buffers cached Mem: 1964 1883 81 0 11 228 -/+ buffers/cache: 1644 320 Swap: 2008 485 1523 ipcs -m —— Shared Memory Segments ——– key shmid owner perms bytes nattch status […]
我在/etc/pam.d/common-session文件中做了一些修改。 有没有办法恢复默认的pamconfiguration? 我使用的是Ubuntu 12.04
我在Ubuntu服务器上运行MongoDB。 当机器启动时,它使用一个新贵的脚本启动mongod。 我注意到,如果进程崩溃,它不会重新启动。 我怎样才能确保,如果它崩溃,mongod进程重新启动?
有两台机器,profitmargin和修正主义者,我在profitmargin中创build了一个卷: root@profitmargin:~# gluster volume info Volume Name: uploads Type: Distribute Status: Started Number of Bricks: 1 Transport-type: tcp Bricks: Brick1: profitmargin:/var/lib/gluster/brick01 在修正主义者中,我添加了这行到fstab在启动时装载它: profitmargin:/uploads /mnt/uploads glusterfs defaults,_netdev 0 0 但是当电脑启动时,它没有安装: root@revisionist:~# mount /dev/mapper/revisionist-root on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) […]
我在EC2中运行Ubuntu Server 12.04 LTS。 我有几个node.js守护进程作为服务运行在新贵,以及通常的init的东西。 每次部署之后,所有node.js守护进程重新启动,“init”进程开始以大约0.5MB / min的速度增长。 如果我重新启动一个特定的守护进程,init会回到<50MB。 我的进程可以做些什么来引起暴发户吃我的RAM? 从顶部输出: 8月1日23:51 UTC PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17627 root 20 0 307m 90m 3444 S 0 5.3 146:18.06 chef-client 1 root 20 0 67680 44m 1140 S 1 2.6 59:11.04 init 17857 appserve 20 0 927m 30m […]
我有一个Ubuntu Linux的12.04.1服务器,作为一个服务运行bind9的名字parsingxxx.local域转发所有其他请求到我的互联网服务提供商的名称服务器。 这适用于networking(Windows和Linux)中的所有客户端,它们可以按预期得到名称parsing。 直到昨天,服务器本身也是如此。 但我更新了几个软件包,并重新启动它。 一切似乎都很好,所以我回家了。 今天早上,代理和电子邮件不再工作。 事实certificate,名字parsing是罪魁祸首。 在客户端nslookup仍然正常工作,但在服务器上它总是超时: nslookup google.com connection timed out; no servers could be reached nslookup google.com 127.0.0.1 ;; connection timed out; no servers could be reached nslookup google.com 192.168.115.250 ;; connection timed out; no servers could be reached (其中192.168.115.250是服务器本身的IP地址) 在不同的Linux计算机上工作: nslookup google.com Server: 192.168.115.250 Address: 192.168.115.250#53 Non-authoritative answer: Name: google.com […]
使用Ubuntu 12.04或14.04,如何才能防止启动一个新的服务,直到成功安装几个networking卷(GlusterFS)?