Questions tagged [cleanup]
The cleanup tag has no summary.
73 questions
0 votes
1 answer
5k 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 ...
0 votes
1 answer
1k 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):...
0 votes
2 answers
87 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 ...
1 vote
0 answers
1k 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" ...
1 vote
1 answer
100 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 ...
2 votes
1 answer
2k 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. ...
0 votes
0 answers
265 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 ...
1 vote
0 answers
11k 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 ...
1 vote
1 answer
2k 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 ...
0 votes
1 answer
97 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 ...
1 vote
1 answer
967 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. ...
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 ...
1 vote
1 answer
70 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, ...
1 vote
0 answers
855 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 ...
0 votes
0 answers
45 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 ...
0 votes
1 answer
380 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/...
2 votes
0 answers
7k 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 ...
0 votes
1 answer
67 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 ...
3 votes
1 answer
24k 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 ...
0 votes
3 answers
5k 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="/...
4 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 ...
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 ...
4 votes
1 answer
1k 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 ...
0 votes
1 answer
4k 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 ...
7 votes
2 answers
19k 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 ...
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: ...
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 '...
0 votes
3 answers
173 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 ...
0 votes
1 answer
138 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) ...
-5 votes
1 answer
801 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 ...
-4 votes
2 answers
12k 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 ...
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 ...
-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 ...
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 ...
1 vote
1 answer
421 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?
4 votes
2 answers
709 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 ...
3 votes
1 answer
961 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 - - ...
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 ...
1 vote
3 answers
740 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, ...
242 votes
9 answers
309k 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 ...
3 votes
2 answers
681 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 ...
2 votes
1 answer
7k 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 ...
0 votes
1 answer
172 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. ...
-1 votes
2 answers
383 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 ...
0 votes
1 answer
695 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 ...
0 votes
1 answer
386 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 ...
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 ...
0 votes
1 answer
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 ...
2 votes
3 answers
19k 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 ...
9 votes
4 answers
14k 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 ...