<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.opensourceecology.org/index.php?action=history&amp;feed=atom&amp;title=Maltfield_Log%2F2020_Q3</id>
	<title>Maltfield Log/2020 Q3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.opensourceecology.org/index.php?action=history&amp;feed=atom&amp;title=Maltfield_Log%2F2020_Q3"/>
	<link rel="alternate" type="text/html" href="https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2020_Q3&amp;action=history"/>
	<updated>2026-05-16T18:11:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2020_Q3&amp;diff=234180&amp;oldid=prev</id>
		<title>Maltfield at 11:07, 27 September 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2020_Q3&amp;diff=234180&amp;oldid=prev"/>
		<updated>2020-09-27T11:07:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2020_Q3&amp;amp;diff=234180&amp;amp;oldid=234179&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Maltfield</name></author>
	</entry>
	<entry>
		<id>https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2020_Q3&amp;diff=234179&amp;oldid=prev</id>
		<title>Maltfield: Created page with &quot;My work log from the year 2020 Quarter 3. I intentionally made this verbose to make future admin&#039;s work easier when troubleshooting. The more keywords, error messages, etc tha...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2020_Q3&amp;diff=234179&amp;oldid=prev"/>
		<updated>2020-09-27T11:06:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;My work log from the year 2020 Quarter 3. I intentionally made this verbose to make future admin&amp;#039;s work easier when troubleshooting. The more keywords, error messages, etc tha...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;My work log from the year 2020 Quarter 3. I intentionally made this verbose to make future admin&amp;#039;s work easier when troubleshooting. The more keywords, error messages, etc that are listed in this log, the more helpful it will be for the future OSE Sysadmin.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
# [[Maltfield_Log]]&lt;br /&gt;
# [[User:Maltfield]]&lt;br /&gt;
# [[Special:Contributions/Maltfield]]&lt;br /&gt;
&lt;br /&gt;
=Thr Jun 15, 2020=&lt;br /&gt;
&lt;br /&gt;
1. Rob mentioned he couldn&amp;#039;t get into staging&lt;br /&gt;
2. I checked and it was down&lt;br /&gt;
3. I checked the dev node, and all my screens were gone. Uptime is listed as 13 minutes?!?&lt;br /&gt;
4. I launched a new screen and started the staging server with the lxc-start command&lt;br /&gt;
&lt;br /&gt;
screen -S staging&lt;br /&gt;
lxc-start --name osestaging1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. I still couldn&amp;#039;t get to the staing sites, dns didn&amp;#039;t return anything&lt;br /&gt;
&lt;br /&gt;
user@ose:~/openvpn$ echo &amp;quot;nameserver 10.241.189.1&amp;quot; | sudo tee /etc/resolv.conf&lt;br /&gt;
nameserver 10.241.189.1&lt;br /&gt;
user@ose:~/openvpn$ dig opensourceecology.org&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.10.3-P4-Debian &amp;lt;&amp;lt;&amp;gt;&amp;gt; opensourceecology.org&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; connection timed out; no servers could be reached&lt;br /&gt;
user@ose:~/openvpn$&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
8. looks like dnsmasq isn&amp;#039;t setup to start on booot on the dev node; I changed that&lt;br /&gt;
&lt;br /&gt;
[maltfield@osedev1 ~]$ sudo su -&lt;br /&gt;
Last login: Mon Jun 15 14:56:22 CEST 2020 on pts/2&lt;br /&gt;
[root@osedev1 ~]# systemctl list-unit-files | grep dnsm&lt;br /&gt;
dnsmasq.service                               disabled&lt;br /&gt;
[root@osedev1 ~]# systemctl enable dnsmasq.service&lt;br /&gt;
Created symlink from /etc/systemd/system/multi-user.target.wants/dnsmasq.service to /usr/lib/systemd/system/dnsmasq.service.&lt;br /&gt;
[root@osedev1 ~]# systemctl list-unit-files | grep dnsm&lt;br /&gt;
dnsmasq.service                               enabled &lt;br /&gt;
[root@osedev1 ~]# systemctl start dnsmasq.service&lt;br /&gt;
[root@osedev1 ~]#&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
10. now dns works&lt;br /&gt;
&lt;br /&gt;
user@ose:~/openvpn$ dig opensourceecology.org&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.10.3-P4-Debian &amp;lt;&amp;lt;&amp;gt;&amp;gt; opensourceecology.org&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 62798&lt;br /&gt;
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1&lt;br /&gt;
&lt;br /&gt;
;; OPT PSEUDOSECTION:&lt;br /&gt;
; EDNS: version: 0, flags:; udp: 4096&lt;br /&gt;
;; QUESTION SECTION:&lt;br /&gt;
;opensourceecology.org.		IN	A&lt;br /&gt;
&lt;br /&gt;
;; ANSWER SECTION:&lt;br /&gt;
opensourceecology.org.	0	IN	A	10.241.189.11&lt;br /&gt;
&lt;br /&gt;
;; Query time: 172 msec&lt;br /&gt;
;; SERVER: 10.241.189.1#53(10.241.189.1)&lt;br /&gt;
;; WHEN: Mon Jun 15 18:51:58 +0545 2020&lt;br /&gt;
;; MSG SIZE  rcvd: 66&lt;br /&gt;
&lt;br /&gt;
user@ose:~/openvpn$&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
12. The first entry in the journalctl on the dev server starts at June 15 (today) at 01:50:03&lt;br /&gt;
&lt;br /&gt;
[root@osedev1 ~]# journalctl | head&lt;br /&gt;
-- Logs begin at Mon 2020-06-15 01:50:03 CEST, end at Mon 2020-06-15 15:07:45 CEST. --&lt;br /&gt;
Jun 15 01:50:03 localhost systemd-journal[101]: Runtime journal is using 8.0M (max allowed 89.5M, trying to leave 134.2M free of 887.0M available → current limit 89.5M).&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: Initializing cgroup subsys cpuset&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: Initializing cgroup subsys cpu&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: Initializing cgroup subsys cpuacct&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: Linux version 3.10.0-957.21.3.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Tue Jun 18 16:35:19 UTC 2019&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-957.21.3.el7.x86_64 root=UUID=1e457b76-5100-4b53-bcdc-667ca122b941 ro crashkernel=auto consoleblank=0 systemd.show_status=true elevator=noop console=tty1 console=ttyS0&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: e820: BIOS-provided physical RAM map:&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable&lt;br /&gt;
Jun 15 01:50:03 localhost kernel: BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved&lt;br /&gt;
[root@osedev1 ~]#&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
14. the entries preceeding that in /var/log/messages aren&amp;#039;t very helpful&lt;br /&gt;
&lt;br /&gt;
Jun 15 00:56:34 osedev1 chronyd[674]: System clock wrong by -3.278855 seconds, adjustment started&lt;br /&gt;
Jun 15 00:57:39 osedev1 chronyd[674]: System clock wrong by -1.017910 seconds, adjustment started&lt;br /&gt;
Jun 15 00:58:44 osedev1 chronyd[674]: System clock wrong by 1.292079 seconds, adjustment started&lt;br /&gt;
Jun 15 00:59:49 osedev1 chronyd[674]: System clock wrong by -1.323920 seconds, adjustment started&lt;br /&gt;
Jun 15 01:01:01 osedev1 systemd: Created slice User Slice of root.&lt;br /&gt;
Jun 15 01:01:01 osedev1 systemd: Started Session 205569 of user root.&lt;br /&gt;
Jun 15 01:01:01 osedev1 systemd: Removed slice User Slice of root.&lt;br /&gt;
Jun 15 01:01:59 osedev1 chronyd[674]: System clock wrong by 1.104784 seconds, adjustment started&lt;br /&gt;
Jun 15 01:02:08 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:02:08 osedev1 chronyd[674]: Selected source 193.30.35.11&lt;br /&gt;
Jun 15 01:02:11 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:03:04 osedev1 chronyd[674]: Selected source 176.9.103.244&lt;br /&gt;
Jun 15 01:03:13 osedev1 chronyd[674]: Selected source 193.30.35.11&lt;br /&gt;
Jun 15 01:03:15 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:04:08 osedev1 chronyd[674]: Selected source 176.9.103.244&lt;br /&gt;
Jun 15 01:04:17 osedev1 chronyd[674]: Selected source 193.30.35.11&lt;br /&gt;
Jun 15 01:04:20 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:05:13 osedev1 chronyd[674]: Selected source 2a02:c207:3003:930::1&lt;br /&gt;
Jun 15 01:05:22 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:09:30 osedev1 chronyd[674]: Selected source 176.9.103.244&lt;br /&gt;
Jun 15 01:09:30 osedev1 chronyd[674]: System clock wrong by 1.213375 seconds, adjustment started&lt;br /&gt;
Jun 15 01:12:55 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:12:56 osedev1 chronyd[674]: Selected source 193.30.35.11&lt;br /&gt;
Jun 15 01:14:50 osedev1 dnsmasq-dhcp[1346]: DHCPREQUEST(virbr0) 192.168.122.201 fe:07:06:a6:5f:1d&lt;br /&gt;
Jun 15 01:14:50 osedev1 dnsmasq-dhcp[1346]: DHCPACK(virbr0) 192.168.122.201 fe:07:06:a6:5f:1d osestaging1&lt;br /&gt;
Jun 15 01:16:09 osedev1 chronyd[674]: Selected source 176.9.103.244&lt;br /&gt;
Jun 15 01:16:09 osedev1 chronyd[674]: Selected source 195.201.19.162&lt;br /&gt;
Jun 15 01:17:13 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:17:15 osedev1 chronyd[674]: Selected source 193.30.35.11&lt;br /&gt;
Jun 15 01:19:15 osedev1 chronyd[674]: Selected source 2a02:c207:3003:930::1&lt;br /&gt;
Jun 15 01:19:22 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:20:19 osedev1 chronyd[674]: Selected source 193.30.35.11&lt;br /&gt;
Jun 15 01:20:26 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no majority&lt;br /&gt;
Jun 15 01:22:28 osedev1 chronyd[674]: Selected source 193.30.35.11&lt;br /&gt;
Jun 15 01:25:42 osedev1 chronyd[674]: Source 176.9.103.244 replaced with 213.209.109.44&lt;br /&gt;
Jun 15 01:28:56 osedev1 chronyd[674]: Selected source 213.209.109.44&lt;br /&gt;
Jun 15 01:31:06 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no selectable sources&lt;br /&gt;
Jun 15 01:34:21 osedev1 chronyd[674]: Selected source 213.209.109.44&lt;br /&gt;
Jun 15 01:36:29 osedev1 chronyd[674]: Can&amp;#039;t synchronise: no selectable sources&lt;br /&gt;
Jun 15 01:36:50 osedev1 dnsmasq-dhcp[1346]: DHCPREQUEST(virbr0) 192.168.122.201 fe:07:06:a6:5f:1d&lt;br /&gt;
Jun 15 01:36:50 osedev1 dnsmasq-dhcp[1346]: DHCPACK(virbr0) 192.168.122.201 fe:07:06:a6:5f:1d osestaging1&lt;br /&gt;
Jun 15 01:37:34 osedev1 chronyd[674]: Selected source 213.209.109.44&lt;br /&gt;
Jun 15 01:37:34 osedev1 chronyd[674]: System clock wrong by 1.293791 seconds, adjustment started&lt;br /&gt;
Jun 15 01:50:03 osedev1 kernel: Initializing cgroup subsys cpuset&lt;br /&gt;
Jun 15 01:50:03 osedev1 kernel: Initializing cgroup subsys cpu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
16. meanwhile, I still can&amp;#039;t get to the server on staging as nginx is stopped, but just a simple nginx restart fixed it *shrug*&lt;br /&gt;
&lt;br /&gt;
[maltfield@osestaging1 ~]$ systemctl status nginx&lt;br /&gt;
● nginx.service - The nginx HTTP and reverse proxy server&lt;br /&gt;
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)&lt;br /&gt;
   Active: failed (Result: exit-code) since Mon 2020-06-15 12:56:46 UTC; 13min ago&lt;br /&gt;
  Process: 343 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)&lt;br /&gt;
  Process: 327 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)&lt;br /&gt;
&lt;br /&gt;
Jun 15 12:56:46 osestaging1 nginx[343]: nginx: [warn] the &amp;quot;ssl&amp;quot; directive is deprecated, use the &amp;quot;listen ...de:11&lt;br /&gt;
Jun 15 12:56:46 osestaging1 nginx[343]: nginx: [warn] the &amp;quot;ssl&amp;quot; directive is deprecated, use the &amp;quot;listen ...de:11&lt;br /&gt;
Jun 15 12:56:46 osestaging1 nginx[343]: nginx: [warn] conflicting server name &amp;quot;_&amp;quot; on 10.241.189.11:443, ignored&lt;br /&gt;
Jun 15 12:56:46 osestaging1 nginx[343]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok&lt;br /&gt;
Jun 15 12:56:46 osestaging1 systemd[1]: nginx.service: control process exited, code=exited status=1&lt;br /&gt;
Jun 15 12:56:46 osestaging1 nginx[343]: nginx: [emerg] bind() to 10.241.189.11:4443 failed (99: Cannot as...ress)&lt;br /&gt;
Jun 15 12:56:46 osestaging1 nginx[343]: nginx: configuration file /etc/nginx/nginx.conf test failed&lt;br /&gt;
Jun 15 12:56:46 osestaging1 systemd[1]: Failed to start The nginx HTTP and reverse proxy server.&lt;br /&gt;
Jun 15 12:56:46 osestaging1 systemd[1]: Unit nginx.service entered failed state.&lt;br /&gt;
Jun 15 12:56:46 osestaging1 systemd[1]: nginx.service failed.&lt;br /&gt;
Hint: Some lines were ellipsized, use -l to show in full.&lt;br /&gt;
Last login: Sun Jun 14 21:02:44 UTC 2020 on pts/1&lt;br /&gt;
[root@osestaging1 ~]# systemctl restart nginx&lt;br /&gt;
[root@osestaging1 ~]#&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
18. Anyway, high availability on dev/staging isn&amp;#039;t really a priority, so whatever. If this is our first outage and it was fixable in 20 minutes, it&amp;#039;s fine.&lt;br /&gt;
19. Rob is unblocked; I asked him to continue on his wordpress upgrade task and let me know if he encounteres any other issues&lt;/div&gt;</summary>
		<author><name>Maltfield</name></author>
	</entry>
</feed>