Questions tagged [remove]

The tag has no usage guidance.

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

How to delete a specific string from a line using ansible

I have some package added in yum exclude list in /etc/yum.conf and I want to remove a specific package from a exclude list example: exclude=java* exclude=kernel* java* exclude=java* kernel* exclude=...
user avatar
0 votes
1 answer
145 views

How to remove git from a specific folder?

I have a CentOS 7 system. It has git 2.27.0 installed, but that install, for reasons we can't figure out, won't talk to our https gitlab instance. It keeps failing on "unable to find remote ...
user avatar
0 votes
0 answers
73 views

how openstack remove offline host node by kolla-ansible

As the title, I have an offline host node which include( compute node, control node and storage node), this host node was shutdown by incident and can't recovery to online, all services about that ...
user avatar
0 votes
0 answers
140 views

Clear all active HTTP sessions in Wildfly

Does anybody know how to clear (invalidate) all active HTTP sessions in the Wildfly Undertow subsystem. I could only find this operation invalidate-session but it accepts only one session-id parameter,...
user avatar
  • 203
0 votes
1 answer
33 views

How to erase "about:blank" from URL with a RewriteRule?

Want to delete the about:blank from a URL www.example.com/camera/about:blank. How can I do this with .htaccess? I tried RewriteCond %{QUERY_STRING} (about:blank) [NC] but it didn't work.
user avatar
  • 9
0 votes
0 answers
49 views

I need help to remove mail attributes from AD LDS domain for Bulk Users

Where am I going wrong in the script here? It doesn't give me any error. But it doesn't remove $cred= get-credential "s2\svcfimadamadmapeu" $CSV= Get-content '.\input.csv' function ...
user avatar
  • 1
1 vote
0 answers
364 views

Removing low Battery Indicator in Ubuntu 20.04

I have recently installed Ubuntu on a mini pc with a zx8350 cpu. The installation recognizes the CPU as a laptop CPU and automatically displays the "low battery" indicator even though the ...
user avatar
3 votes
1 answer
972 views

zfs remove wrongly added device

I accidentally added a device as normal pool device instead of cache device. Is there a way undo this? (I basically forgot to type cache when adding the device) I can't remove it root@dmi-vault2:~# ...
user avatar
  • 31
6 votes
2 answers
16k views

How to clear (remove/delete) certificate (ssl/https) cache from chrome browser?

I lost many hours while setting up some self-signed certificates; the problem turned out to be that the browser (Chrome) cached a bad version of the certificate and then just wouldn't let go. I did ...
user avatar
  • 171
1 vote
1 answer
51 views

Linux File System - Folder Removal with Special Charakters

we have an Linux Debian Server in our House as Developer Machine. One of our developers has created accidental an Folder Called Ð?оваÑ? папка How can I Remove this folder. I have tried ...
user avatar
1 vote
1 answer
1k views

Remove Specific Recycling Time For IIS With PowerShell

We need to keep an IIS application pool alive as long as possible for long processing. The app pool in our std config has a 03:00AM restart in the array. I need to remove this. I can do it manually ...
user avatar
0 votes
3 answers
448 views

SED to search for and delete ip with a partial match

I have various bash scripts that run, they scan log files for folks who try and make mischief, spam us and so on. I have been struggling with this for some days trying to figure this out. I have a ...
user avatar
0 votes
1 answer
140 views

Centos: How to revert to a revert back to an earlier version of a package?

I have installed version 6.4 of filebeat and then I decided to revert back to 1.3. So I used the command 'yum remove filebeat-6.4.0-x86_64.rpm', to remove it, when I try to install filebeat 1.3 I get ...
user avatar
1 vote
2 answers
269 views

Remove 2nd DC role from Exchange 2016

I have an Exchange 2016 server with the DC role installed (server 2016). This DC is the 2d DC. Now a want to remove de DC role from the Exchange 2016 server. I have already installed an 3th DC. Are ...
user avatar
1 vote
3 answers
193 views

remove originally installed linux kernel, when custom one has been deployed

How do I remove last, the originally installed kernel? Goal: I am trying to configure smallest possible linux server install (Debian 9) machine which will be running application server (PHP7) in a ...
user avatar
0 votes
0 answers
102 views

Protect users from accidental delete

I am currently designing an incremental, rotative backup system for a remote filesystem to be accessed over SSHFS. There is this one aspect I still haven't figured out: Protecting the users from ...
user avatar
  • 1
1 vote
1 answer
9k views

How to remove pacemaker, corosync and pcs thoroughly on CentOS 7?

Using two nodes: node1: 192.168.0.1 node2: 192.168.0.2 Installed HA tools on both servers: yum install pacemaker pcs (It will include install corosync) On both servers: passwd hacluster Set ...
user avatar
0 votes
2 answers
89 views

files with strange chars appeared in /var/wwwroot/html: why and how to delete them

In my /var/www/html many files with strange chars appeared suddenly. Below is a sample. Any idea why they appeared (attack ?, app dump ? file system error ?) and how to remove them (there are other ...
user avatar
-1 votes
4 answers
262 views

Script to delete certain folders based on the time

I need to create a bash script that will remove folders containing backups for specific days. I need to KEEP following: a) files\folders created on FRIDAY @ 23:30 b) files\folders created on the ...
user avatar
0 votes
1 answer
3k views

Does anyone know how to scan through a Java Keystore and remove all the expired certificates?

I have in the past made a list of all the alias's that were expired and then made a forloop in CMD to then go through and remove all of them but I was wondering if anyone knew of a perl script or ...
user avatar
  • 3
1 vote
1 answer
938 views

Removing a recursive folder that's not recursive in windows fails with "Source Path Too Long"

I seem to have managed to get an Application Data folder recurse into itself somehow, doesn't look recursive but somehow still is and now I find myself unable to remove that folder. The folder itself ...
user avatar
0 votes
1 answer
89 views

How to remove/clear 1000+ files with less CPU intensive cron

I have the following cron setup to clear the tmp folder: 0 0 * * * rm -rf /home/user/tmp/* >> /dev/null 2>&1 However I'm looking for a more efficient way which would be less CPU ...
user avatar
  • 331
0 votes
1 answer
2k views

How to remove the sound driver from CentOS 7?

I have a centOS minimal installed and it the sound drivers loaded. I would like to remove all the sound drivers from my server. How can I do that? following are the command outputs from my server. ...
user avatar
  • 701
3 votes
1 answer
3k views

apt-get remove package that didn't install properly

I accidentally installed zabbix-frontend-php that pulled apache2 as a dependency. I don't want to use either, and I want to completely delete both packages. Unfortunately, it seems that apt-get won'...
user avatar
  • 1,055
0 votes
1 answer
741 views

Are the packages from apt-get remove --auto-remove sendmail safe to remove?

Im trying to clean up the mess left by sendmail, My unix knowledge is extremely limited so I would appreciate some help with whether these packages are safe to remove, I have already run apt-get purge ...
user avatar
  • 111
0 votes
1 answer
1k views

Can't remove mongod.lock

all. I want to remove mongod.lock. When I try sudo rm -rf mongod.lock I got this rm: cannot remove ‘mongod.lock’: Read-only file system Can anyone tell me how to force remove it? Thanks, Ami
user avatar
0 votes
0 answers
112 views

Unable to Update-FileDistributionService due to old exchange server entry

I am getting following error when I a trying to update File Distributionservices as shown below. The error pops up with name of my old CAS server which means mailbox server still have entry. Please ...
user avatar
1 vote
1 answer
170 views

Is a HDD removed from RAID 1 bootable?

I'm having a problem with my RAID. It has gone wrong during a power outage of the server. I have a server with 2x 500 GB WD HDDs on Hardware RAID1(SuperMicro Server) with a Linux OS installed on it. ...
user avatar
-3 votes
2 answers
2k views

Remove all files in directory except last 20

I have question why is my cmd for "removing all files in directory except last 20" not working within cron but in command prompt yes. * * * * * ls -1tr /home/testusr/test | head -n -20 | xargs -d '\...
user avatar
1 vote
2 answers
382 views

Best way remove old log without blocking cpu

I have 3 AWS EC2 machines, using each 500G of EBS storage. On them I have SolrCloud search engine running on Jetty, and serving lots of queries. In time the jetty logs have grwn hugely, up to ~200G in ...
user avatar
  • 131
0 votes
1 answer
188 views

No such file or directory after rpm -e --nodeps packagename instead of command not found

I installed ethtool using yum install ethtool and then removed it using rpm -e --nodeps ethtool because when I tried to remove ethtool with yum it was going to remove a bunch of important dependencies ...
user avatar
  • 161
1 vote
1 answer
1k views

nginx + regex, remove all parts of URI except the last one

With an URI like /a-part/some-part/another-part/last-part/?some_param=some_value how do I go about removing everything up to the last part with params and ultimately rewrite it to look like /index....
user avatar
1 vote
2 answers
3k views

Remove X-Powered-By: PHP on IIS7

We have a Win2008 server running IIS7 and php 5.3.17 installed. For pentesting & other security purposes we would like to remove the header response: "X-Powered-By: PHP/5.3.17", so we've tried ...
user avatar
  • 11
1 vote
3 answers
18k views

Uninstall Ruby on Rails on CentOS 6

How can I remove Ruby on Rails and all associated gems? I tried yum remove ruby but get this response: yum remove ruby Loaded plugins: fastestmirror, security Setting up Remove Process No Match for ...
user avatar
  • 111
5 votes
3 answers
3k views

Unable to list contents/remove directory (linux ext3)

System is CentOS5 x86_64, completely up to date. I've got a folder that can't be listed (ls just hangs, eating memory until it is killed). The directory size is nearly 500k: root@server [/home/user/...
user avatar
  • 151
1 vote
1 answer
2k views

Can I safely remove _vti folders added by my host or cpanel? [closed]

I notice user accounts on my cpanel server came with some _vti folders installed by default. _vti_bin _vti_cnf _vti_log vti_pvt _vti_txt _private As I understand these are some kind of Front Page ...
user avatar
  • 1,737
1 vote
1 answer
1k views

Remove Log off button

I am using a server with Windows Server 2008. I don't want anyone to log off, because it would stop very important programs. But I can't change the Log Off button to anything (the drop down menu is ...
user avatar
  • 111
2 votes
1 answer
6k views

Exchange 2010: Remove Administrator Mailbox

How can I remove the Administrator Mailbox from Exchange 2010? I don't want to delete the whole user account because I need Administrator to access the Server, but Administrator shouldn't have any ...
user avatar
0 votes
1 answer
107 views

How to remove a line in a file found in multiple directories

There is file that exists in each user profile directory and I need to remove the line from the file in each user profile directory. I'm using a batch script to go through each user profile directory, ...
user avatar
22 votes
4 answers
66k views

Unable to remove user: "user is currently logged in"

When trying to remove the user, it returns "user is currently logged in". I already killed the user using pkill -KILL -u usernameHere and several other commands, but it does not help. How can I ...
user avatar
  • 461
1 vote
5 answers
2k views

apt-get does not remove initscript?

This day I tried to remove apache2. It's bundled with Ubuntu Lucid, which I don't need. I used apt-get remove apache2 to remove it. But somehow, the initscript was still there, in "/etc/init.d/". I ...
user avatar
  • 21
1 vote
1 answer
2k views

Automatically delete orphaned SIDs

Does someone know a tool that allows to delete orphaned SIDs on a fileserver without the need for any scripting?
user avatar
1 vote
2 answers
228 views

How to quickly remove a set of outdated packages?

I have a newly installed CentOS 5.7 machine and mistakenly installed PHP 5.1 when I needed 5.2+. Now I cannot seem to install PHP 5.3 (using "yum install php53") until I remove PHP 5.1. I found this ...
user avatar
3 votes
3 answers
39k views

remove squid clearly

I'm hardly trying to remove squid completly, to reinstall it clearly. (Debian 6). So i used as root: apt-get remove --purge squid apt-get remove --purge squid3 but find / -name squid* returns /...
user avatar
1 vote
2 answers
1k views

I cannot remove apache2. /var/www dir is still there. I can still start apache service

I have failed to remove apache2 from my ubuntu server. I did $ sudo apt-get --purge remove apache2 and $ sudo apt-get remove apache2 and $ sudo apt-get autoremove and when I tried to do $ sudo apt-...
user avatar
0 votes
1 answer
135 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. ...
user avatar
  • 3,789
3 votes
2 answers
197 views

Can I remove these DNS zones?

I manage a server without a cpanel, I installed Webmin on it. And under Bind settings I have these zones: "Root zone" "0" "0000::1" "127.0.0.1" "mydomain.com" "localhost" "localhost....
user avatar
  • 977
1 vote
1 answer
229 views

What is the fastest delete method for many directory on Linux

I have to remove many directory. but rm -r /data is so slow ( about some days) /data has /data/a/b/c/d/e/f/g/h .... many dirs Does anyone know?
user avatar
1 vote
0 answers
1k views

linux /dev/sd? read failed

I couldn't find the answer to this anywhere, so I'm posting this in the hope it helps someone else... My scenario was linux system with an external drive that was connected (and mounted) was suddenly ...
user avatar
17 votes
5 answers
8k views

How to remove many (200 000) files?

I must remove 200 000 files (all of them) from a folder, and I don't want to delete the folder itself. using rm, I get an "Argument list too long" error. I've tried to do something with xargs, but I'...
user avatar
  • 429