| freemangordon | joerg: I tried to contact warfare, to no success, I guess my mail went to spam folder | 11:23 |
|---|---|---|
| freemangordon | could you try to contact him? | 11:23 |
| freemangordon | xes: ping | 11:23 |
| joerg | freemangordon: I didn't hear of him since some months as well | 11:24 |
| freemangordon | do we know where servers are located? | 11:24 |
| joerg | I hope he's well, or recovering | 11:24 |
| joerg | yes, that's known | 11:24 |
| freemangordon | actually I think he replied here 1-2 moths ago | 11:25 |
| joerg | yes | 11:25 |
| freemangordon | so, any clue what we can do? wait a bit more? or? | 11:26 |
| sicelo | mmm, our telecoms regular has now set 31st Dec 2026 for 2G & 3G shutdown, and banning importation of 2G/3G only devices from 31st Dec this year | 11:32 |
| sixwheeledbeast | Banning? interesting | 11:43 |
| KotCzarny | here 2g is left alone, but only for voice/emergency etc | 11:44 |
| freemangordon | guys, do we know anyone else but warfare who has (physical) access to maemo servers | 11:45 |
| warfare | freemangordon: Nope, but I'll try to arrange DC access next week. | 13:08 |
| warfare | freemangordon: Sorry, life got into the way. | 13:08 |
| freemangordon | warfare: oh, sorry to hear that, hope you are ok | 13:09 |
| warfare | freemangordon: Yes, should be all better now :) | 13:09 |
| freemangordon | great! :) | 13:09 |
| freemangordon | take your time, wiki can wait | 13:10 |
| joerg | oh hi warfare ! :-) Great to hear you're feeling better | 13:52 |
| joerg | >>The certificate for wiki.maemo.org expired on 8/2/2024.<< | 14:34 |
| joerg | so good so far | 14:34 |
| joerg | >5GB of 9GB disk were filled with apache logs | 14:35 |
| joerg | I killed "february" | 14:36 |
| joerg | which cronjob is running letsencrypt cert update? | 15:01 |
| joerg | fixed | 15:41 |
| joerg | (wiki that is) | 15:41 |
| joerg | freemangordon: are you available for tuning logrotate to cope with (apache) cronolog logfiles? | 19:01 |
| freemangordon | umm... | 19:02 |
| joerg | sorta nuts that cronolog doesn't come with appropriate matching logrotate config file to start with | 19:02 |
| freemangordon | I am dev, not admin :) | 19:03 |
| joerg | I'm retired | 19:08 |
| freemangordon | how did you manage to bring it up? | 19:11 |
| joerg | https://www.colinpretorius.org/blog/linux/cronolog.html pretty much lists the problem, boiling down to a "feature" for the author: >>This [logrotoate] is great for most cases, but is a problem if you want to keep logs permanently, like I do with my website. [...] The config file is set to run on all files matching pattern /var/log/apache2/*.log<< | 19:11 |
| joerg | freemangordon: it had 100% filled rootfs, >5GB of the 9.9GB were /var/log/apache/%YEAR//%MONTH/%DAY/* - I for now deleted .../2024/02/* | 19:13 |
| freemangordon | so, no HDD failure? | 19:13 |
| KotCzarny | so, what's the point of keeping the logs if they need to be deleted anyway | 19:14 |
| joerg | the HDD failure is unrelated and very true | 19:14 |
| freemangordon | ah | 19:14 |
| joerg | KotCzarny: all logs are for analysis when problems occur | 19:17 |
| KotCzarny | how about offloading them to some backup site via cron? | 19:19 |
| joerg | more than 6 months are nearly always nonsense, probably 1 month is more than enough usually. Anyway the problem here is that the logrotate config file for apache logs doesn't match the "new" cronolog scheme used in apache | 19:19 |
| joerg | I wonder if /etc/logrotate.d/apache2 config file could use an augmented /var/log/apache2/*.log, like /var/log/apache2/*/*/*/*.log | 19:24 |
| KotCzarny | or just write a script to generate flat configs | 19:26 |
| joerg | hmm? | 19:45 |
| joerg | https://superuser.com/questions/702256/is-there-a-tool-like-cronolog-or-rotatelogs-but-also-with-compression-and-r >>Expecting something like this: `./my_program_that_generate_logs | cronologrotate /var/log/ololog/%Y_%M/%d.log --compress-after '30 days' --remove-after '1 year' `<< | 19:46 |
| KotCzarny | find /var/log/apache2/ -type f -name "*.log" -mtime +30 -exec gzip {} \; | 19:53 |
| KotCzarny | find /var/log/apache2/ -type f -name "*.gz" -mtime +366 -delete | 19:54 |
| KotCzarny | done | 19:54 |
| KotCzarny | run daily | 19:54 |
| KotCzarny | (untested, try with -print first instead of -exec/delete) | 19:54 |
| joerg | thanks | 20:07 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!