has journalctl -xe ever dumped any useful information for anyone ever or am I just an idiot? when I restart nginx I want to know if it failed, why , what's the syntax error. instead old reliable /etc/init.d/nginx configtest no I have to dig around
Try trinity as a desktop with sysvinit.
(I don't use kwin, but instead a different window manager, and only part of trinity for this and that, but that's not due to a lack of quality, I just prefer to mix and match.)
It can be useful when there's potentially multiple things leading up to the error in whatever you're running, as it is showing and explaining nearly every action that's recently happened in the system log. But if you're just wanting to look at logs related to nginx starting at the most recent then just query for niginx's system log instead of the whole system.
sudo journalctl --pager-end --unit nginx
or: sudo journalctl -e -u nginx
or: sudo journalctl -eu nginx # Output all logs since boot
journalctl
# Follow all logs in real time
journalctl -f
# Output logs for a given systemd unit
journalctl -u $unit
# Combine follow and unit flags to follow logs for a given systemd unit
# Easy to remember: You are saying F*** U to a broken piece of software
journalctl -fu $unit
# Output kernel logs
journalctl -k
# Follow kernel logs
journalctl -fk
# Tip: Use -b flag to see logs from previous boot cycles
# Learn more, including advanced filtering and formatting
man journalctl
You can also add that configtest command as an ExecStartPre to the unit, and it will run that before starting nginx and optionally fail early if it finds an error. # Easy to remember: You are saying F**K because your kernel is broken
journalctl -fk $ service nginx status
which should cover your if it failed, why , what's the syntax error
For anything more complicated, refer to these cheatsheets:https://wiki.archlinux.org/title/Systemd#Using_units
https://wiki.archlinux.org/title/Systemd/Journal#Filtering_o...
YMMV. I find systemd a lot easier to work with (I actually started wrapping daemons in proper services instead of sticking everything into nohup or tmux sessions).
I don't think this is a foregone conclusion, and it's easy to say this and sort of throw your hands up and go "oh well, woe is me" but it's kind of a cop out, no?
I have family in their 90's who can navigate whatever tech you put in front of them, because they think it's important to figure things out when they get stuck. My father can barely turn his phone on because at the slightest frustration he gives up and waits for someone to "fix it" for him. Certainly different folks have different aptitudes, but choice and working through things plays an exceedingly large role.
The problem is that as we get older, we tend to value our time differently. Learning a new interface just isn't as important to us as spending that time doing something enjoyable.
Imagine if car companies randomly update the way you drive a car overnight every 7 or 8 years. You go out one day, and suddenly instead of a steering wheel and pedals you have a stick with paddles, then a few years later its changed to something that looks like an oar. Eventually you too might say to hell with it.
> Eventually you too might say to hell with it
I agree 100% and that's even kind of my point. You're choosing not to care about that stuff, which is fine (honestly, probably even healthy at a certain point), but it's not as if there is some biological imperative that as you age you are less able to use technology.
I think the problem is that this is only fine in a world where we aren't forced to rely on these things.
If Windows is going to change their user interface every other year, why would I relearn their UX-du-jour when I can just re-learn once on a Mac and be good for a few years (if not longer)?
If I use hosted Gmail and my UI changes every other month, it just tells me that I should host elsewhere where the UX is more stable.
If you abuse users long enough with this everchanging, constant-beta UI nonsense, you are just telling them to move on to a platform that isn't so unstable, where you only have to learn the UX once, not every X months.
The somewhat recent FaceTime updates have befuddled even my brother and I. And there’s zero reason for any of the changes. They were just changes, not improvements, and were probably even regressions.
On the flip side, I enjoy learning new techniques, languages, and approaches to advance my craft.
The difference is that the former is dictated by developers and required on a periodic basis just to tread water, whereas the latter is self-directed and helps me become more capable.
So... it IS possible to stay on a system where you are comfortable with, if you are willing to make concessions...
And to be honest, I don’t think it’s me. It isn’t clear to me that the people who make all this stuff know how it works either. Nothing works as intended in technology. At least some form of technology doesn’t work as it should every day, from your work machine’s OS, or some program, or your smartphone, or Android Auto or Apple Car Play, or your TV, or your Internet provider or WiFi router, or that website you visit, or your smart thermostat, and on and on. And that’s stuff just plain not working or encountering bugs. It doesn’t even address the usability of all this.
We are just shitting out technology left and right, all at the alter of scale. In my opinion, capitalism is part of the problem. The other is human nature. There are no incentives to get this right. And these days, large companies do not care that they get it right. Statistics of failure and user frustration are explicitly part of their business models. They don’t want to even know if there’s an issue with their product. They just let some statistics drive their decision making.
It’s all just a tragedy and comedy all in one. Amazon has their 12 principles they hire with that makes it seem like they hire geniuses left and right. And they can’t even get book selling right these days. And there’s no way to report issues. They do not care.
Most of these bonuses are probably tied with frivolous, often highly unpopular and unwanted, feature updates. I doubt people get bonuses (or as large bonuses) for fixing usability bugs or improving quality.