Questions tagged [maintenance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Using manufacturer SSD tools under MSWin on SSDs used under Unix (Linux/OS X)?

The manufacturers of the SSDs I currently use all have their own tools for lowlevel maintenance, which usually also work only on internal drives (i.e. no USB-attached externals). Too bad apparently ...
RJVB's user avatar
  • 224
0 votes
1 answer
214 views

RHEL 8 hangs on boot missing disk in fstab

my /etc/fstab UUID=12345abcdef /data xfs defaults 0 0 I thought the 0 0 part, one of those, meant skip disk checking so during boot if the disk wasn't there the OS would be ok with it and ...
ron's user avatar
  • 6,142
1 vote
1 answer
281 views

Are really all these flatpaks unused (except Nvidia latest runtime and a few others)?

Somewhere I found this command for a flatpak maintenance: flatpak uninstall --unused I did have no free time at that point, so I saved it for later use. Now, when I execute it, I get: $ flatpak ...
Vlastimil Burián's user avatar
2 votes
1 answer
164 views

Halt purpose: What does "you can perform low level maintenance" mean?

About halt in Linux in these places: What is the difference between the shutdown, halt and reboot commands? Understanding Shutdown, Poweroff, Halt and Reboot Commands in Linux What is halt command in ...
Manuel Jordan's user avatar
3 votes
1 answer
2k views

What causes wtmp to be cleared?

I noticed that on one of my machines the last command returned nothing. I determined the cause of this to be an empty /var/log/wtmp file. What would cause this to be empty? I assume the "tmp"...
qq4's user avatar
  • 509
0 votes
1 answer
7k views

Linux: How to Completely Remove ALL Traces of a Program? [closed]

Is there a way to completely remove ALL traces of a program in Linux? I've researched a lot on this, and I've seen people talk about apt-get remove packagename, apt-get purge packagename, apt-get ...
user15088299's user avatar
0 votes
0 answers
196 views

Script that groups backups by date then deletes files+folders older than X days

We have 30 days of backups = 30 folders, the backup runs hourly so in each of these folders, there are 24 files in each folder. We need to run a script that keeps the five latest dates of files. For ...
user480014's user avatar
-2 votes
8 answers
2k views

Is there such a thing as a self-maintaining Linux which doesn't cost money? [closed]

I'm looking for a self-maintaining, non-payware Linux. Actually, it doesn't necessarily need to be Linux at all, as long as it runs PostgreSQL and PHP in a stable manner. Once installed, and ...
Greyhair's user avatar
0 votes
1 answer
120 views

Starting RAID array manually

Is there any way to start a RAID array manually without rebooting after stopping it via mdadm -S?
Parsa Mousavi's user avatar
3 votes
1 answer
4k views

List all keys with SHA-1 in the gpg keyring

After reading a paper about "First Chosen-Prefix Collision on SHA-1 and Application to the PGP Web of Trust", I wonder how many SHA-1 keys are left in specific key rings. How to list all keys in a ...
Jonas Stein's user avatar
  • 4,008
4 votes
1 answer
1k views

How to become a Linux source code maintainer?

According to this link, when changes to the Linux source code are submitted, they are reviewed by a hierarchy of maintainers, eventually concluding with Linus himself. How does one become such a ...
user avatar
2 votes
1 answer
1k views

SysRq doesn't display any result on terminal

I use Mint 19.2, and I try to see CPU backtrace by the following process. $ sudo -s # sysctl -w kernel.sysrq=1 # echo l > /proc/sysrq-trigger But, nothing happened. I researched more ...
buck_banzai's user avatar
1 vote
1 answer
171 views

Starting batch jobs at exact time slightly before the new hour starts

I've been reading the recent blogpost "Winding down my Debian involvement" by Michael Stapelberg. Sad details aside, it's been mentioned that within Debian infrastructure batch jobs run four times a ...
andselisk's user avatar
  • 305
1 vote
1 answer
555 views

How to monitor cron maintenance scripts?

My home server runs a couple of shell scripts regularly for maintenance tasks - mostly backup, but also other stuff. I would like to be alerted in case anything fails but also keep a log of when it ...
RolandU's user avatar
  • 123
0 votes
1 answer
492 views

Utility for inspecting pending updates in Arch

Is there a utility for Arch that provides some power-features for analyzing the list of pending updates? Usually, anytime I do pacman -Syu I get a rather large list of packages with pending updates. ...
Bagalaw's user avatar
  • 895
1 vote
1 answer
1k views

Best Practice: How to maintain/rotate log files (from redirected output)

I read several question for the mentioned topic, but I'm not sure if they really answer the question for my problem. I have an application running and I redirect the output to a log file, i.e., ...
Philipp's user avatar
  • 191
54 votes
1 answer
84k views

Systemctl remove unit from failed list

How can I remove a unit from the systemctl --failed list without rebooting the machine? Background: I have, amongst others, the following entry in the list: ● [email protected] loaded ...
Richard Neumann's user avatar
1 vote
2 answers
2k views

How to identify and remove orphaned config files of uninstalled Software?

Programs often store config files in the home directory usually in a hidden directory, often but not limited to sub-directories of ~/.config, ~/.local or ~/.gnome After uninstalling the programs, the ...
dynobo's user avatar
  • 111
3 votes
1 answer
6k views

How to recompile everything efficiently on a Gentoo Linux system?

After the upgrade from gcc-5.x to gcc-6.4 all Gentoo Linux users were advised to run emerge -e @world which will recompile all packages on a system and takes on my i7 with 16 GB around 30 h in ...
Jonas Stein's user avatar
  • 4,008
0 votes
2 answers
2k views

Installing a package and its dependencies on an offline laptop

On an off-line linux mint laptop, let's say I want to install PCL. I only can transfer files by USB. After reading documentation on installation it looks like installing compiling the code myself ...
Deewy's user avatar
  • 1
1 vote
1 answer
457 views

SSD: trim on different filesystems

Some days ago I've bought an SSD: Samsung 850 EVO 250 GB; on this drive I made two 125 GB partitions: on the first partition I installed Windows 7 on NTFS; on the second partition I installed Haiku (...
Giova84's user avatar
  • 11
3 votes
1 answer
570 views

List all packages on a Gentoo system, which were not recompiled since a date

A system change (like gcc, perl, python, qt... update) can demand that many packages have to be rebuilt. This ends often in a world rebuild with # emerge --ask --emptytree --verbose @system # ...
Jonas Stein's user avatar
  • 4,008
1 vote
1 answer
3k views

Solaris 11 in Maintenence mode: nfs mount: : RPC: Rpcbind failure - RPC: Unable to receive

There is an issue with Solaris 11 machine and it boots automatically to the single user mode.We can see the error message "nfs mount: : RPC: Rpcbind failure - RPC: Unable to receive". The machine is a ...
hafz's user avatar
  • 11
1 vote
0 answers
46 views

Unable to update CentOS6.6 due to 404

For a long while I've had a scheduled call of 'yum upgrade' to keep my VPS healthy. Recently the update fails because no repositories can be found from the various mirrors. http://mirrorlist.centos....
totally's user avatar
  • 11
6 votes
1 answer
383 views

Remove unnecessary configuration folders

Many applications create a hidden folder in /home/user. I've tested many applications that I later uninstalled. Is there a way to check which folders have been left behind in my home folder by ...
To Do's user avatar
  • 1,306
2 votes
1 answer
1k views

What's the Fedora equivalent of /var/lib/dpkg/info/[...].prerm?

Example file: /var/lib/dpkg/info/util-linux.prerm What's the Fedora equivalent of this file? (Not limited to util-linux - generic question for any package.) Use case: A prerm script is failing. For ...
adrelanos's user avatar
  • 1,826
0 votes
2 answers
147 views

Compare Linux configuration with default

My system fails to upgrade. I suspect it was breached. Is there a way to compare system configuration to default version that should be at this date and kernel version? My current system is Debian, ...
anatoly techtonik's user avatar
135 votes
3 answers
66k views

How to renew an expired keypair with gpg

What is the best way to renew a gpg key pair when it got expired and what is the reason for the method? The key pair is already signed by many users and available on public servers. Should the new ...
Jonas Stein's user avatar
  • 4,008
10 votes
7 answers
3k views

How to tidy up the .keywords file on a gentoo system?

One can select testing packages on a gentoo stable system by adding a line with the following syntax to keywords list: cat /etc/portage/package.keywords =dev-python/ipython-0.13.2 ~amd64 # and many ...
Jonas Stein's user avatar
  • 4,008
1 vote
1 answer
2k views

Debian can't reboot and asking for root password (maintenance)

I'm experienced some file system errors on Debian (seems caused by RAID controller). Files system now seems fixed. I reinstalled broken packages with some broken config files. System boots normally. ...
PlanasB's user avatar
  • 1,635
34 votes
4 answers
20k views

What doesn't need defragmentation? Linux or the ext2 ext3 FS?

Why don't you have to defrag a Linux system? Because it's using the ext2/ext3 file system, or because it's Linux? That's relevant, for I have a double boot system (W7 / Ubuntu) and a common ...
xyz's user avatar
  • 742
8 votes
1 answer
10k views

Linux tool to track directory space over time

Are there any common Linux tools that track disk space over time, not just a filesystem overall, but for example, so I could easily see which directory trees swelled up and shrunk historically? The ...
Marcos's user avatar
  • 2,295
3 votes
2 answers
1k views

Small company Linux server maintenance update practices

What is a secure update plan for web-facing servers when the person tasked with administration cannot allocate significant time to testing each updated package for breakage? Of course I want to update ...
dotancohen's user avatar
  • 15.7k
2 votes
2 answers
799 views

Should I clean up the home directory prior installing a new distribution?

I'm used to keep all my files in my /home directory after whiping out my root / device and reinstalling distributions. This is pretty handy as all private files and personal settings are kept after ...
q9f's user avatar
  • 2,318
-1 votes
1 answer
246 views

Intruder nature detection by opensource tools like tripwire

I want to use different kind of intrusion detection tools like OpenSource Tripwire. Please suggest me some tools which can provide me some additional information to that provided by tripwire? Secondly,...
Mohit Sehgal's user avatar
2 votes
1 answer
871 views

Script for courier maildir folders on CentOS LAMP environment

I'm looking for resources to help me build a script to do monthly maintenance of maildir folders for a typical CentOS LAMP VPS hosting environment. I would like to run a script that runs from a ...
timoto's user avatar
  • 33
4 votes
1 answer
77 views

Can servers be synchronised to share the same configurations? [duplicate]

I have three VPS' running on separate hosts. They've had CentOS 5 installed on them at various points and I assume all run with slight variations of Webmin, PHP, MySQL etc. I've started to notice ...
James's user avatar
  • 205
1 vote
3 answers
602 views

Script or tool for maintenance (archive/remove old files, clean temporal files, etc…) on Unix/Linux

Everybody have the same problem: how to deal with old files, logs, temporal files to archive them (compress, store in alternate locations), delete unneeded, etc. them Specially if you have to deal ...
Keymon's user avatar
  • 763
8 votes
1 answer
5k views

How to find out what turned off the computer?

Yesterday, after getting back home I found out my computer is turned off. Since it appeared it was cold shutdown (a lot of disk repairs were shown during boot up) I am wondering what was the cause. ...
greenoldman's user avatar
  • 6,106