我想问一下,如果从下面的日志中我们可以说Mysql的崩溃是因为我们为Mysql定制的库吗? Sep 26 15:24:30 mysqld: /usr/lib/mysql/plugin/my_lib_discounts.so(_ZN13CDiscountCalcD1Ev+0x52)[0x7f5da35439da] Sep 26 15:24:30 mysqld: /usr/lib/mysql/plugin/my_lib_discounts.so(my_lib_discountsAgg_deinit+0x31)[0x7f5da35431be] 整个日志: Sep 26 15:24:30 mysqld: Thread pointer: 0x7f5d980ab690 Sep 26 15:24:30 mysqld: Attempting backtrace. You can use the following information to find out Sep 26 15:24:30 mysqld: where mysqld died. If you see no messages after this, something went Sep 26 15:24:30 mysqld: terribly […]
当我安装Debian时,我显然希望跟踪testing。 但是之后,我从不稳定的回购站安装了Firefox,并没有考虑太多的问题:)我想知道现在是不是跟踪不稳定或者testing了(我的安装出现了一些问题,这就是为什么我要问)。 以下是我的/etc/apt/rsources.list的当前内容: # Debian testing repo deb http://debian.ludost.net/debian/ testing main contrib non-free deb-src http://debian.ludost.net/debian/ testing main contrib non-free # Debian testing security repo deb http://security.debian.org/debian-security testing/updates main contrib non-free deb-src http://security.debian.org/debian-security testing/updates main contrib non-free #Mozilla repo deb http://http.debian.net/debian unstable main # Opera repo deb http://deb.opera.com/opera-stable/ stable non-free 你们有什么感想? 干杯
我已经使用testing库更新了Debian Jesie上的Apache2 https://www.shivering-isles.com/http-2-getting-ready-on-debian-with-apache2/ 我现在有: Server version: Apache/2.4.27 (Debian) Server built: 2017-09-23T22:08:01 an2mod http2 ..done ls -la /etc/apache2/mods-enabled lrwxrwxrwx 1 root root 28 Sep 25 16:42 http2.load -> ../mods-available/http2.load /etc/apache2/conf-available/http2.conf ….编辑 …. 但是检查https://www.tecnocroci.it HTTP2不起作用
我有一个运行Debian 8的虚拟服务器,它具有完整的主磁盘。 我已经通过pipe理程序扩展了“物理”硬盘驱动器,但我无法弄清楚如何扩展主分区以使用虚拟磁盘上新创build的未分配空间。 我已经将虚拟磁盘从4GB扩展到了10GB。 fidks -l输出: GPT PMBR size mismatch (8388607 != 20971519) will be corrected by w(rite). Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk […]
我在我的Debian主机上安装了ntpd,以保持硬件RTC“最新”。 通过共享系统时钟,时间会自动传播到所有安装的容器(lxc)。 其中一个容器运行我的路由器。 我想用这个路由器把时间传播给我的networking中所有感兴趣的设备,所以他们不需要自己的互联网连接。 我不想使用主机作为服务器(希望由interface ignore all禁用)。 如何在一个容器中安装和configuration一个纯粹的ntp-server,将系统的时钟作为唯一的参考? 它永远不会自行设置时钟。 我如何安装和configuration一个纯粹的ntp客户端,它不接受来自其他对等方的传入连接,并泄漏尽可能less的信息?
我想从我的电脑上访问VPS上的kibana / elasticsearch。 如果我在VPS上 curl -XGET 'http://SERVERIP:9200' 我从ES获得了一个很好的答案,和Kibana一样。 在我的计算机上,如果我使用相同的命令,我会超时(对于kibana和ES): curl:(7)无法连接到SERVERIP端口9200:连接超时 服务器运行Debian 8。 我认为服务器拒绝客户端连接,所以我做了 sudo netstat -tulpen 试图理解为什么。 对于ES和kibana我有 tcp 0 0 SERVERIP:5601 0.0.0.0:* LISTEN 111 19051 1832 / node tcp6 0 0 SERVERIP:9200 ::: * LISTEN 110 19054 1784 / java 我认为这意味着任何人都应该能够curlSERVERIP:5601。 我不知道 ::: * 为ES寿。 服务器也为一个html网站运行一个apache2服务器,其地址是SERVERIP。 kibana.yml和elasticsearch.yml都有server.host = SERVERIP
有一个完美的angular色,它由许多任务组成。 因此,这些任务被拆分为单独的文件以实现更好的可追溯性。 文件夹angular色/ myrole / tasks /: step1.yml step2.yml … step10.yml main.yml 主要任务只包括包含的任务。 angular色/ myrole /任务/ main.yml: – include_tasks: step1.yml – include_tasks: step2.yml … – include_tasks: step10.yml site.yml – name: Deploy myrole hosts: rolehosts remote_user: roleuser roles: – myrole 部署期间,服务器必须重新启动几次。 现在每个任务文件都包含这样的任务: – name: Step 10 – reboot become: true shell: sleep 2 && shutdown -r […]
比方说,我自己的example.com ,我有一个MySQL或SQLite数据库(现在更新,然后通过PHP): user0001 [email protected] user0002 [email protected] user0003 [email protected] … (a few thousand items) 什么是常见的Linux使用的工具,使得到达[email protected]的电子邮件被redirect到[email protected]等?
所以我有点在我的智慧结束在这里。 我有一个WiFi设备连接到我的无线路由器。 它距离路由器5米远,工作正常,运行良好,但有时完全失去它。 据我所知,电源pipe理是closures的,所以它看起来并不像是睡着了,但这就是它的感觉。 我一整天都跑了一个脚本,每隔一分钟检查一次wlan0的IP,看看它是否失去了与路由器的连接,但似乎并不是这样,它不断地保持IP。 似乎在一段时间后完全退出。 这是configuration输出: wlan0 IEEE 802.11 ESSID:"Koets IoT" Mode:Managed Frequency:2.472 GHz Access Point: 18:A6:F7:5F:85:D9 Bit Rate=43.3 Mb/s Tx-Power=31 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=45/70 Signal level=-72 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 […]
我有一台机器只有一个网卡。 我想这样设置它: Dom0在192.168.x.1上监听,除了是Dom0之外别无他法 在192.168.x.2上的DomU和通过做防火墙和NAT路由的dhcp分配的外部IP,以及一个将web请求推入虚拟机的nginx DomU在192.168.xn上运行Web服务器接受请求 我不能让虚拟的DomU路由器将来自dom0的stream量路由到互联网并返回。 这甚至可以用一个网卡吗? 在这种情况下,我应该在这里发布什么样的configuration文件进行审查?