You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/procedures/post-powercut.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ tags:
6
6
- powercut
7
7
- todo
8
8
created: 2023-12-05T01:36:11
9
-
modified: 2024-09-27T13:35:28
10
-
title: post-powercut
9
+
modified: 2024-09-30T19:24:57
10
+
title: Post-powercut Todo List
11
11
---
12
12
13
13
# Post-powercut Todo List
@@ -19,15 +19,21 @@ A list of things that should be done/checked immediately after a power cut:
19
19
- `eno2` should have *no IP address*
20
20
- `br0` should have the external IP address (`136.206.16.0/24`) - this should also be reserved by DHCP on [`mordor`](../hardware/network/mordor.md)
21
21
- If the [`bastion-vm`](../services/bastion-vm.md) fails to start, check:
22
-
- `/storage` is mounted `rw` on each [`aperture`](docs/hardware/aperture/index.md) server
23
-
- `br0` is present and configured on each [`aperture`](docs/hardware/aperture/index.md) server
22
+
- `/storage` is mounted `rw` on each [`aperture`](../hardware/aperture/index.md) server
23
+
- `br0` is present and configured on each [`aperture`](../hardware/aperture/index.md) server
24
24
- `vm-resources.service.consul` is running and `http://vm-resources.service.consul:8000/bastion/bastion-vm-latest.qcow2` is accessible
25
25
- if the `latest` symlink points to a corrupted image, `ln -sf` it to an earlier one
26
-
- All the [`nixos`](docs/procedures/nixos.md) boxes rely on [`DNS`](docs/services/bind.md) for [`ldap`](docs/services/ldap.md) and [`nfs`](docs/services/nfs.md):
27
-
- Make sure bind is running on [`paphos`](docs/hardware/paphos.md)
26
+
- All the [`nixos`](..//procedures/nixos.md) boxes rely on [`DNS`](..//services/bind.md) for [`LDAP`](../services/ldap.md) and [`NFS`](../services/nfs.md):
27
+
- Make sure bind is running on [`paphos`](../hardware/paphos.md)
28
28
- mount `/storage`
29
29
- `systemctl restart` `httpd`, `php-fpm-rbusers-*` and `ldap`
30
30
- Apache on [`hardcase`](../hardware/nix/hardcase.md) sometimes tries to start before networking is finished starting. To fix it, disable/re-enable it a few times. This usually makes it turn on.
31
+
- Mailman on [`hardcase`](../hardware/nix/hardcase.md) has a lock file at `/var/lib/mailman/lock/master.lck`. If it doesn't shut down correctly, this lock file will block mailman from starting up. Remove it with:
32
+
33
+
```bash
34
+
rm /var/lib/mailman/lock/master.lck
35
+
```
36
+
31
37
-[`paphos`](../hardware/paphos.md) is old and sometimes its time will become out of sync. To make sure its time is accurate, run:
0 commit comments