Questions tagged [maintenance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
29 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 ...
user avatar
0 votes
1 answer
316 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"...
user avatar
  • 465
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
37 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 ...
user avatar
-1 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 ...
user avatar
0 votes
1 answer
42 views

Starting RAID array manually

Is there any way to start a RAID array manually without rebooting after stopping it via mdadm -S?
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 3,623
4 votes
1 answer
791 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
631 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 ...
user avatar
1 vote
1 answer
140 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 ...
user avatar
  • 305
1 vote
1 answer
513 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 ...
user avatar
  • 83
0 votes
1 answer
336 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. ...
user avatar
  • 684
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., ...
user avatar
  • 171
41 votes
1 answer
54k 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: ● openvpn-server@intranert.service loaded ...
user avatar
1 vote
2 answers
1k 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 ...
user avatar
  • 111
3 votes
1 answer
5k 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 ...
user avatar
  • 3,623
0 votes
2 answers
1k 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 ...
user avatar
  • 1
1 vote
1 answer
371 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 (...
user avatar
  • 11
3 votes
1 answer
435 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 # ...
user avatar
  • 3,623
0 votes
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 ...
user avatar
  • 1
1 vote
0 answers
45 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....
user avatar
  • 11
5 votes
1 answer
239 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 ...
user avatar
  • 1,146
1 vote
1 answer
855 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 ...
user avatar
  • 1,599
0 votes
2 answers
106 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, ...
user avatar
121 votes
2 answers
55k 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 ...
user avatar
  • 3,623
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 ...
user avatar
  • 3,623
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. ...
user avatar
  • 1,545
33 votes
4 answers
19k 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 ...
user avatar
  • 732
8 votes
1 answer
9k 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 ...
user avatar
  • 2,195
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 ...
user avatar
  • 14.4k
2 votes
2 answers
720 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 ...
user avatar
  • 2,198
-1 votes
1 answer
244 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,...
user avatar
2 votes
1 answer
831 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 ...
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 ...
user avatar
  • 205
1 vote
3 answers
571 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 ...
user avatar
  • 763
8 votes
1 answer
4k 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. ...
user avatar
  • 5,706