|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Wednesday, 1 April 2026 | Dereel | Images for 1 April 2026 |
| Top of page |
|
Slow day
|
Topic: general | Link here |
Another of those day pairs where I do lots of things (yesterday) and spend the whole next day writing up about them (today). I didn't even finish before dinner.
|
fra strangenesses
|
Topic: technology, opinion | Link here |
File system full on fra.lemis.com today. Nothing unusual: it's the web server logs. Rotate (I must really automate this) and compress.
But then I saw a file /var/tmp/webfoo or some such, and it was big (gigabytes) and growing. Where did that come from? lsof to my aid. Oh, no lsof. OK,
=== root@fra (/dev/pts/1) /var/tmp 62 -> pkg install lsof
Updating FreeBSD repository catalogue...
pkg: An error occurred while fetching package: No error
pkg: An error occurred while fetching package: No error
repository FreeBSD has no meta file, using default settings
And there it hung. This isn't a very old system (FreeBSD 14.2, not even a year old).
While pondering what to do, compressing the old web log completed. And webfoo went away. Was it a symlink maybe? It had a link count of 1. Strange name to choose, more like something that I might have thought up. But I have no recollection.
|
Backup named
|
Topic: technology, opinion | Link here |
No named failures today, but it's only a matter of time. And currently I have no backup, so each failure means an average of 30 minutes with no resolution. Why not do it on fra?
Oh. fra has had a named running since December last year. Copy the latest zone files and try again:
=== root@fra (/dev/pts/1) /usr/local/etc/namedb 115 -> service named restart
named not running? (check /var/run/named/pid).
/usr/local/etc/namedb/named.conf:7: unix control '/var/run/ndc': not supported
/usr/local/etc/rc.d/named: ERROR: named-checkconf for /usr/local/etc/namedb/named.conf failed
There's something very strange about named.
Do you have a comment about something I have written? This is a diary, not a “blog”, and there is deliberately no provision for directly adding comments. It's also not a vehicle for third-party content. But I welcome feedback and try to reply to all messages I receive. See the diary overview for more details. If you do send me a message relating to something I have written, please indicate whether you'd prefer me not to mention your name. Otherwise I'll assume that it's OK to do so.
| Top of page | Previous month | Greg's home page | Today's diary entry | Greg's photos | Copyright information |