我使用Ubuntu的12.04服务器与所有更新我重新启动lxc容器的命令在shell中:“重新启动” lxc版本是:1.0.0〜alpha1.0 + master〜20130930-1830-0ubuntu1〜ppa1〜precise1 #uname -a Linux zeus 3.5.0-34-generic#55〜precise1-Ubuntu SMP Fri Jun 7 16:25:50 UTC 2013 x86_64 x86_64 x86_64 GNU / Linux 它并没有开始。 这个lxc容器的日志文件是: tail -f /var/log/lxc/redmine.log lxc-start 1380778101.754错误lxc_conf – 无法为“redmine”设置控制台 lxc-start 1380778101.754错误lxc_start – 未能设置容器 lxc-start 1380778101.755错误lxc_sync – 无效的序列号1.预计2 lxc-start 1380778101.790错误lxc_start – 未能产生'redmine' lxc-start 1380778107.825错误lxc_conf – 只读文件系统 – 错误解除链接/ usr / lib / x86_64-linux-gnu / […]
如何configurationUbuntu 12.04服务器在静默期间dynamic调整CPU频率? 我在http://ubuntuforums.org/showthread.php?t=944190find了一组指令,提示将acpi-cpufreq添加到/ etc / modules中,modprobe它,然后将(powersave,performance, ondemand,conservative)保存到/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor文件中。 但在我的系统上,这些文件不存在: user@pc:~$ ls /sys/devices/system/cpu/cpu0/ cache microcode subsystem topology crash_notes power thermal_throttle uevent /sys/devices/system/cpu/cpufreq有一个空目录,但是 user@pc:~$ sudo echo conservative > /sys/devices/system/cpu/cpufreq/scaling_governor 给出错误: -bash: /sys/devices/system/cpu/cpufreq/scaling_governor: No such file or directory 英特尔凌动CPU,如果这有所作为。
我按照如何捕获运行Linux的虚拟机镜像来捕获虚拟机映像,在Ubuntu 12.04 LTS之上安装我想要的软件包之后。 我closures了机器后, waagent -deprovision和捕获的形象。 当我创build了第一个虚拟机(我后来捕获的)时,我指定了一个证书文件key1.pem 。 当我从“我的映像”映像创build新的虚拟机时,我指定了一个证书文件key2.pem 。 当我试图连接到新的虚拟机,我收到消息Permission denied (public key). 。 要连接,我使用了ssh -i ssh/key2 -p myport [email protected] 。 怎么了? 是否需要使用不同于模板图像中使用的其他键的特殊步骤? 这是一个错误?
我的服务器随机挂起,没有任何日志logging(dmesg,syslog,kern.log,boot.log和消息)变得没有响应。 我无法预测什么时候会发生。 有时服务器运行良好数月,突然间又开始发生。 在上个星期发生了8次以上。 这种情况已经发生了一年多了。 内核日志总是一样的: Jan 24 03:20:34 voyager dnsmasq-dhcp[4476]: DHCPREQUEST(br100) 192.168.145.3 fa:16:3e:4e:e0:d5 Jan 24 03:20:34 voyager dnsmasq-dhcp[4476]: DHCPACK(br100) 192.168.145.3 fa:16:3e:4e:e0:d5 viaapp Jan 24 03:20:37 voyager dnsmasq-dhcp[4476]: DHCPREQUEST(br100) 192.168.145.9 fa:16:3e:62:09:86 Jan 24 03:20:37 voyager dnsmasq-dhcp[4476]: DHCPACK(br100) 192.168.145.9 fa:16:3e:62:09:86 web-sistemas Jan 24 03:20:38 voyager dnsmasq-dhcp[4476]: DHCPREQUEST(br100) 192.168.145.16 fa:16:3e:79:dd:f8 Jan 24 03Jan 24 03:22:47 voyager kernel: […]
我得到以下错误: ./cataclysm: command not found当试图通过SSH在Linux服务器上运行此可执行文件时./cataclysm: command not found 。 当我运行ldd cataclysm ,我得到: linux-gate.so.1 => (0xf7759000) liblua5.1.so.0 => /usr/lib/i386-linux-gnu/liblua5.1.so.0 (0xf7716000) libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xf76e6000) libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf76c6000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf75d2000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf75a6000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7588000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73de000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf73d8000) /lib/ld-linux.so.2 (0xf775a000) 一切都好吗? 也是一个64位的服务器,所以我也安装了ia32-libs ,因为我认为这可能是问题,但它仍然无法正常工作 编辑:现在解决,只需要chmod 755 cataclysm
我的一台服务器有日常问题。 当我通过SSH或SFTPlogin时,出现下面的错误。 当通过远程控制台恢复时,我需要清除并重新安装openssh-server。 这还不够,我还需要重新启动,然后再运行1天。 我已经连续12天完成了这个程序,但是找不到永久的解决scheme。 ***无效的公开呼叫:O_CREAT无模式***:sshd:root @ pts / 0终止 ======= Backtrace:========= /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fa616e60387] /lib/x86_64-linux-gnu/libc.so.6(+0xeb3d1)[0x7fa616e413d1] sshd:root @ pts / 0 [0x41a422] sshd:root @ pts / 0 [0x41a8cb] sshd:root @ pts / 0 [0x41ad98] sshd:root @ pts / 0 [0x409630] sshd:root @ pts / 0 [0x40f9ed] sshd:root @ pts / 0 [0x410cb6] sshd:root @ pts / 0 […]
我在Ubuntu 12.04 LTS上运行BIND 9.8.1-P1caching服务器,内核3.2.0-86-generic-pae。 我已经把头撞在墙上试图弄清楚了几个星期,我只是不知道发生了什么,而且很难重现这个问题,因为它是非常间歇的。 现在发生的事情是,当用Firefox的networking监视器打开时,在Firefox中加载www.msn.com这样的网页时,偶尔会看到一些DNSparsing部分时间从8000ms到高达37000msparsing时间的请求。 当然,一旦我重新加载页面,它被caching,然后工作正常,但即使我刷新服务器和客户端上的caching突然,该域不再是一个问题。 我还没有看到任何域名有问题的模式。 我只是不知道如何解决这个问题,因为它很难复制两次相同的域。 以下是我在named.conf.options中的所有内容 options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you may need to fix the firewall to allow multiple // ports to talk. See http://www.kb.cert.org/vuls/id/800113 // If your ISP provided one or more IP […]
后: apt-get install curl 我得到: 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: libapache2-mod-php5 : Depends: apache2-api-20120211 Depends: apache2 (>= 2.4) E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). […]
我有一个perl脚本,做了一堆像限制那些可以通过ssh运行的命令(使用SSH_ORIGINAL_COMMAND)的东西。 该脚本工作正常,除了我无法从脚本(我正在打印的一堆东西)的任何地方看到输出的事实。 我检查了/var/log/auth.log但是我没有看到任何东西。 以下是我的sshd_config的行: ForceCommand /some/path/my_script.pl 我运行Ubuntu 12.x
我有一个Ubuntu 11.10机器。 装了Squid3。 当我configuration鱿鱼作为http_access允许所有,一切工作正常。 我目前的configuration大多是默认的如下: 2012/09/10 13:19:57| Processing Configuration File: /etc/squid3/squid.conf (depth 0) 2012/09/10 13:19:57| Processing: acl manager proto cache_object 2012/09/10 13:19:57| Processing: acl localhost src 127.0.0.1/32 ::1 2012/09/10 13:19:57| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 2012/09/10 13:19:57| Processing: acl SSL_ports port 443 2012/09/10 13:19:57| Processing: acl Safe_ports port 80 # http 2012/09/10 13:19:57| […]