Skip to main content

Questions tagged [cleanup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Script to cleanup Windows.old remotely

Problem: A lot of older workstations on our networks are running out of hard disk space and I am looking for ways to stream-line the process of cleaning up some space. I understand I can use Disk ...
PedalTech's user avatar
0 votes
1 answer
587 views

Postfix header_checks with multi-line headers and capture group

We have a header_checks regexp passed to the "cleanup" process, but it's not processing the header as a single header if it's on multiple lines. header_check (pass value of header to FILTER):...
reactive-core's user avatar
0 votes
2 answers
52 views

Why not nuke an machine after malware cleanup? [closed]

So this is a noob question. Why do we perform a clean up on a machine that has been infected with malware and not nuke it directly instead? I understand that in some situations this would not be ...
mcry's user avatar
  • 3
1 vote
0 answers
760 views

Teamcity does not clean-up logs when clean-up rules are adjusted

So I have a project with large amount of build logs which previously inherited "delete after 91 days" rule from grandparent project. I am adding the specific "delete after 31 days" ...
alamar's user avatar
  • 69
1 vote
1 answer
63 views

How to delete Bugzilla saved-searches as administrator?

Users can create and save searches in Preferences // Bugzilla – Saved Searches Here they can publish them to a group Share With a Group and they will be listed for all users. Over the years the list ...
Jonas Stein's user avatar
2 votes
1 answer
1k views

Is the root user able to administer screen for other users?

We're trying to rewrite a draconian screen session killer for users who leave their screen sessions up for an inordinate amount of time and have in some way or other circumvented our session timeouts. ...
Peter Turner's user avatar
  • 2,350
0 votes
0 answers
193 views

Cannot get Postfix Address Rewrite to work; Diagnostic tool fails

I am setting up a VPS with Ubuntu 20.04 to host a phpBB board, say "myvps.myserviceprovider.com", to which "mydomain.net" is assigned. I also have defined the MX record for my ...
shortmort37's user avatar
1 vote
0 answers
8k views

Resolved: Fix WSUS Server Cleanup crashing on deleting unneeded updates

WSUS has always been the bane of every IT Admin existence. How many threads do you find all with the same issue - the Server Cleanup wizard failing. The text below worked for me. I've tried ...
BitWrangler's user avatar
1 vote
1 answer
1k views

Windows Server 2012 Essentials R2 Cannot Disable Client Computer Backup, or Delete/Cleanup

My Client Computer Backups folder is over 1.2TB in size. There were total of 14 workstation, which I were able to remove 10 of them and delete their backups. But that only freed up about 30GB. Now ...
itchibahn's user avatar
0 votes
1 answer
45 views

How to Clean up a messed AD the smartest way possible?

I helped out a friend and we are trying to clean up an AD with messed up userdata. The upn, firstname and lastname and E-Mails are correct. But fields like "manager" or something like cost center are ...
RayofCommand's user avatar
  • 1,451
1 vote
1 answer
718 views

How to `find` files not being open by any process

I have several cron tasks, each of which leaves a separate log file. Successful tasks generate no output, so I'm getting a lot of empty logs. I'd like to clean it up automatically every day. ...
emesik's user avatar
  • 113
1 vote
2 answers
2k views

Where are "Debug Dump Files" located in windows?

Windows has a tool called "Disk Cleanup" (German: Datenträgerbereinigung). There it lists "Debug Dump Files" which can be deleted. Unfortunately it doesn't tell me which files are meant. It can't be ...
Michael Hutter's user avatar
1 vote
1 answer
40 views

Huge Azure Resource Cleanup - Need Recommendations

So here’s the scoop... I have a large list of over 3000+ resources across multiple subscriptions and dev/production tenants that I need to clean up. These are all sorts of resources including storage, ...
Kyle Monteagudo's user avatar
1 vote
0 answers
697 views

Permission not granted when delete file

I am trying to run clean jenkins workspace with rm -rf /var/lib/jenkins/workspace/* but I get permission denied for /var/lib/jenkins/workspace/* I see jenkins jenkins when I execute ll to check ...
J.dock's user avatar
  • 11
0 votes
0 answers
36 views

Do I need to do some "cleanup" if an installation is terminated due to disconnection?

I was trying to install php7.3 to my ubuntu 16.04 machine. The SSH connection got dropped while the installation was running. I've been trying to search whether I need to do a "cleanup" before I go ...
newjie's user avatar
  • 1
0 votes
1 answer
287 views

Find items having missing bitstreams in DSpace 6.0/PostgreSQL

I tried to export a collection through the dspace packager but that leads me to a java exception: Exception: java.io.FileNotFoundException: /home/dspace/dspace/assetstore/24/53/70/...
Livpet's user avatar
  • 1
2 votes
0 answers
6k views

WSUS cleanup with SQL Management Studio

So I have an upstream WSUS server which never ran the cleanup wizard. The content folder is around 800GB and there were also a lot of unneeded product categories enabled including drivers. As a first ...
duenni's user avatar
  • 2,959
0 votes
1 answer
45 views

Multiple Python installations on Windows - when were they last used?

We have a few Windows machines that have multiple Python installations on them, for various reasons. Who doesn't love legacy systems? In a bit of a clean up effort, I'd like to attempt to figure out ...
Jo TR's user avatar
  • 1
3 votes
1 answer
23k views

WSUS cleanup - timeout when deleting "unneeded update files"

Performing WSUS cleanup which hasn't been done for quite a while - running the cleanup-wizard with the only selected option being "unneeded update files": After about three minutes of ...
slagjoeyoco's user avatar
0 votes
2 answers
3k views

How to clean orphan Docker containers?

I have a setup where users log into the host machine via PuTTY and can spawn Docker containers for their use. The Docker command looks like this: docker run -it --rm -v /home/$USER:/home/$USER -w="/...
emmerich's user avatar
  • 143
3 votes
1 answer
2k views

How to find duplicate files against a reference directory structure in Linux

There are a couple of duplicate file finders for Linux listed e.g. here. I have already tried fdupes and fslint. However, from what I have seen, these will find all duplicates of the selected ...
packoman's user avatar
  • 185
1 vote
1 answer
5k views

Cannot remove old kernel versions on Ubuntu 16.04

I have a challenge to clean the boot drive that is 100% full. I list previous versions: dpkg -l linux-image* And will get list of 12 versions, rc linux-image-4.4.0-45-generic 4.4.0-45.66 ...
Gideons's user avatar
  • 23
4 votes
1 answer
984 views

How cleanup openstack orphan stuff and manage trash?

We start use Openstack some months ago, and realize that delete projects does not delete project content! we periodically create projects for users groups and delete when are not needed anymore, but ...
martinkenneth's user avatar
0 votes
1 answer
3k views

Powershell Delete list of files from directories located on a network share

I wrote the following script to delete all temp files and cached data from users profiles located on network share. It works fine when I run it locally on my machine but when I attempt to run it on ...
user2398069's user avatar
7 votes
2 answers
17k views

Windows Azure: Reinstalling Linux without recreating VM

I have installed things on my Linux VM on Windows Azure and now I need a clean server again, is there any chance of easy reinstall (for clean Linux again) rather than having to create the VM, cloud ...
Peter's user avatar
  • 71
1 vote
1 answer
3k views

Zimbra: stuck .msg files and phantom messages in mailboxes

Users in my org use Outlook 2010 e-mail client with pop3 access to ZCS/OSE. These clients are using default "delete messages from server after 14 days" setting All message boxes are set up as follows: ...
Troublemaker-DV's user avatar
1 vote
1 answer
2k views

tfsbuild.exe delete / destroy keeps orphans in database

We're using TFS 2012 since 2013. In the mean time the database has increased up to ~60GB. This has several drawbacks like increased backup time, wast of drive space, ... After having a look into to '...
dannyyy's user avatar
  • 111
0 votes
3 answers
134 views

Users are accumulating files everywhere and being wasteful/disorganised, what's the best strategy and supporting tools to help clean it up?

One strategy being considered is: Advise users of the official locations that important working documents should be kept and that files kept in all other locations may be removed at will each month ...
campbeld's user avatar
0 votes
1 answer
96 views

Fastest way to remove numerous big files

I have a directory with integration tests temporary files, which has the following structure: TestTemp --- Test01 (~1.5TB) --- Subdirectory01 (~100GB) -- Destination JSON (1-100MB) ...
vladfau's user avatar
  • 133
-5 votes
1 answer
735 views

Automatically clean up old files?

By what method are most system administrators managing the automatic cleanup of hundreds of thousands of old files across a wide range of folder locations? These folders are located across the ...
Robert Kerr's user avatar
-4 votes
2 answers
11k views

insufficient space in download directory /var/cache/yum/updates/packages [closed]

I try to install vim-enhanced using #yum install vim-enhanced I got an error like this insufficient space in download directory /var/cache/yum/updates/packages I found some answers to the this ...
Roledenez's user avatar
  • 101
4 votes
3 answers
2k views

How to find computer accounts that are no longer needed in AD

I am new to this position and find it's AD structure in need of a serious cleaning. There are over twice as many computer accounts as there are employees, not even taking into account servers. I'd ...
JasonM's user avatar
  • 105
-1 votes
1 answer
2k views

Just installed Ubuntu server - What services can i disable/uninstall?

i just installed Ubuntu server 13.04. What services can i disable/uninstall? All i want is to keep sshd (to connect to my vps) and whatever is absolutely needed for the system to run and get rid of ...
Christos Baziotis's user avatar
7 votes
2 answers
5k views

Avoiding log noise from cron jobs - with syslog-ng rather than syslog

On my small Debian squeeze web server, I have syslog-ng installed (not syslogd, like in this question). Generally, my logs are nice and quiet, with -- MARK -- lines. My /var/log/syslog, however, is ...
einpoklum's user avatar
  • 1,744
1 vote
1 answer
398 views

Eliminate invalid privileges from MySQL

I have privileges floating around in the mysql.* tables pertaining to users, databases and tables which no longer exist. Is there a simple way to find and remove these orphaned entries?
Brad Mace's user avatar
  • 1,024
4 votes
2 answers
639 views

Detect CNAME chains in BIND zone file

Are there any tools available to automatically detect (and optionally correct) CNAME chains in BIND zone files? I am trying to clean up a rather large zone file (15,000+ resource records) so I'm ...
Nic's user avatar
  • 13.6k
3 votes
1 answer
902 views

How to use postfix header_checks with zarafa outgoing mail

I'm using zarafa with postfix. For privacy reasons I want to filter client internal IP-addresses and stuff like this. To do so I've added the following to master.cf: submission inet n - - ...
olvrlrnz's user avatar
26 votes
3 answers
1k views

Silently uninstall bloatware

The company I work at goes through computers fairly regularly. When we get a new computer, someone has to manually go through and remove all the bloatware that comes with the computer. Right now, I am ...
CZup's user avatar
  • 271
1 vote
3 answers
669 views

Clean out a large MediaWiki text table

I just discovered that an old MediaWiki of mine was infested with spam, and the database table named "text" (which contains the page content) is 3GB large. I've deleted all the spam pages manually, ...
Bart van Heukelom's user avatar
231 votes
8 answers
275k views

When does /tmp get cleared?

I'm taking to putting various files in /tmp, and I wondered about the rules on deleting them? I'm imagining it's different for different distributions, and I'm particularly interested in Ubuntu and ...
John Lawrence Aspden's user avatar
3 votes
2 answers
640 views

Why should I prune old objects from Active Directory?

What is the point of pruning old objects from Active Directory, especially computer accounts? If a computer is wiped or destroyed, then the stale computer account doesn't pose any security risk ...
Nic's user avatar
  • 13.6k
2 votes
1 answer
6k views

Cleaning Hyper-V R2 unused vhd and snapshot files?

We are using Hyper-V R2 as a platform for virtualizing development and testing environment. After month of use, with creating / deletion of many virtual machine, the vhd store is filled with a lot of ...
Steve B's user avatar
  • 245
0 votes
1 answer
140 views

One SQL, lots of SharePoint 2010 Servers, and lots of Databases to clean

I have a dedicated server running SQL server and many web servers running SharePoint 2010 installations. All the SharePoint web servers are using the same SQL server for storing/creating databases. ...
Noor Khaldi's user avatar
  • 3,879
-1 votes
2 answers
320 views

How to run a program for a limited time as a specified user without leaving a trace on the linux system? [closed]

I have to run a non-trusted, third-party application on a linux server. The program should be run as a specified user for a limited time, for example 30s. During this period, the program can use all ...
Hristo Hristov's user avatar
0 votes
1 answer
662 views

How to clean up the MemcacheQ db files?

My MemcacheQ is started with: memcacheq -d -r -H /db/baamboo -N -R -L 2048 -T 300 -l 192.168.6.29 -p 22211 -u memcacheq -t 8 -m 512 -P /var/run/baamboo.pid -v It's eating the hard disk space. Found ...
quanta's user avatar
  • 52k
0 votes
1 answer
336 views

Linux SUSE - How to clean up PATH?

By doing an echo when I am logged in as root I can see I have a lot of junk in my PATH (probably from running tests and then forgetting all about it). What's the best way to clean it up? I am not ...
JohnIdol's user avatar
  • 455
1 vote
1 answer
5k views

TFS Destroy /startcleanup - how do I start the clean up manually?

I ran TFS Destroy on a file that was too long. But I forgot to add the /startcleanup command. It is now several days later and the file is still referenced in the TFS Database (or so says my ...
Vaccano's user avatar
  • 1,017
0 votes
2 answers
3k views

SQL Maintenance Cleanup Task Working but Not Deleting

I have a Maintenance Plan that is suppose to go through the BACKUP folder and remove all .bak older than 5 days. When I run the job, it gives me a success message but older .bak files are still ...
Alex's user avatar
  • 103
2 votes
3 answers
18k views

SQL Maintenance Cleanup Task 'Success' But not deleting files

I have a maintenance plan setup for a databases on a server. As part of the backup is a Maintenance Cleanup Task. SQL Version 2008 The task that 'succeeds' is setup as: Delete backup files Correct ...
Seph's user avatar
  • 185
8 votes
4 answers
12k views

Freeing up space in my SVN repository

I have an SVN repository hosted on a freemium site with a maximum repository size. As I approach this capacity I am aware of files I've checked in that I know I can remove permanently to free up disk ...
fbrereto's user avatar
  • 323