I was having issues with Ghostscript, I tried installing it using the command "sudo apt reinstall ghostscript" getting following message. What should I do, I just closed the session, but when I checked the Ghostscript path it is showing ok. 'SoS'


I was having issues with Ghostscript, I tried installing it using the command "sudo apt reinstall ghostscript" getting following message. What should I do, I just closed the session, but when I checked the Ghostscript path it is showing ok. 'SoS'


Are we asking 'help' with SoS or attempting to direct question to persons who sign postings as 'SoS'?
Anyhoo ... screen shot does suggest the need to reboot server as it has acquired a new kernel. New kernel will not be used until reboot. Not sure of relation to your reported GS issue as the test shows it's working!
Confused?
'SoS', Ken
Thanks Ken, not sure how that happened, will rebooting the server cause the existing Moodle application to go down? all that remember is running this command
sudo apt reinstall ghostscript
I am extremely stressed out, we have at least 700 hundred students who are taking courses...
'will rebooting the server cause the existing Moodle application to go down?'
No one can predict what your server will do! But, it is well known that a kernel update with any Linux distro usually requires a reboot for the system to use the new kernel. And given the state of cyber threats these days, one would want to keep the distro up to date.
If nervous, make a site backup before reboot ... and, obviously, don't reboot during prime time usage of Moodle.
'SoS', Ken
"cannot take risk" ...
conversely, what risk are you taking but not having the latest fixes and patches to your server?
Maybe you better research some:
https://ubuntu.com/security/notices
and
https://ubuntu.com/security/cves?package=linux
Also, suggest you install Logwatch
https://ubuntu.com/server/docs/how-to-install-and-configure-logwatch
'SoS', Ken
Follow up - 2 cents more ...
Rick Jerz shared a script ...
last5
mysql -u root -p"[passwordhere]" -e "use [DBnamehere];SELECT firstname,lastname,lastip,from_unixtime(lastaccess) as LastClick,now()-interval 5 minute as Last5Minutes FROM mdl_user having LastClick > Last5Minutes order by lastaccess desc;"> last5.txt;cat last5.txt;wc -l last5.txt
That output puts to a last5.txt file and gives a count.
Looks like:
firstname lastname lastip LastClick Last5Minutes
Harry Potter 10.14.5.2 2025-01-31 15:46:47 2025-01-31 15:42:13
2 last5.txt
I can then see who has been in the moodle in the last 5 minutes.
If no one is logged on I am free to upgrade/reboot without disrupting anyone.
BUT ... one needs to figure out when 'prime time' is for your server.
Logwatch does have a section in its daily report.
--------------------- httpd Begin ------------------------
2630.48 MB transferred in 60136 responses (1xx 0, 2xx 37717, 3xx 11068, 4xx 11346, 5xx 5)
3798 Images (36.51 MB),
229 Documents (276.86 MB),
1 Archives (0.00 MB),
75 Sound files (65.01 MB),
41087 Content pages (2124.86 MB),
14 Redirects (0.00 MB),
14932 Other (127.24 MB)
but note it doesn't mention times.
What's 'prime time' for your server?
In the past, for a K12 instance, I determined it was generally 6 AM to 6 PM.
But that instance was used synchronously ... in class. Your instance may not be used that way.
There is an application called Webalizer
If one looks around one can probaby find something that will help you determine 'prime time'.
'SoS', Ken
It's not customary to share in public forums 'how much' ... especially when one says: "servers" (plural) and no other details about those "servers" is known, so sent you a PM. Please respond there!
'SoS', Ken