Questions tagged [remove]
The remove tag has no usage guidance.
64
questions
0
votes
1
answer
21
views
Remove bunch of disconnected LUNs by shell script (regex issue)
Have a problem with my script, don't want to run same procedure 200 times with changing LUN number.
Remove the multipath device from ALL paths to the LUN, run echo 1 > /sys/bus/scsi/devices/${H:B:T:...
1
vote
1
answer
3k
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=...
0
votes
1
answer
623
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 ...
0
votes
1
answer
76
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.
0
votes
0
answers
91
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 ...
1
vote
0
answers
435
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 ...
3
votes
1
answer
2k
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:~# ...
8
votes
3
answers
28k
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 ...
1
vote
1
answer
56
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 ...
1
vote
1
answer
2k
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 ...
0
votes
3
answers
1k
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 ...
0
votes
1
answer
198
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 ...
1
vote
2
answers
376
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 ...
1
vote
3
answers
202
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 ...
0
votes
0
answers
114
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 ...
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 ...
0
votes
2
answers
107
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 ...
-1
votes
4
answers
347
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 ...
0
votes
1
answer
4k
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
92
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 ...
0
votes
1
answer
3k
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.
...
3
votes
1
answer
4k
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'...
0
votes
1
answer
791
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 ...
0
votes
1
answer
2k
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
0
votes
0
answers
132
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 ...
1
vote
1
answer
173
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. ...
-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 '\...
1
vote
2
answers
664
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 ...
0
votes
1
answer
264
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 ...
1
vote
1
answer
2k
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....
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 ...
1
vote
3
answers
20k
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 ...
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/...
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 ...
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 ...
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 ...
0
votes
1
answer
108
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, ...
22
votes
4
answers
67k
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 ...
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 ...
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?
1
vote
2
answers
245
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 ...
3
votes
3
answers
43k
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
/...
1
vote
2
answers
2k
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-...
0
votes
1
answer
139
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.
...
3
votes
2
answers
258
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....
1
vote
1
answer
242
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?
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 ...
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'...
0
votes
1
answer
715
views
Re-installing mysql and old database and users appear
I had installed mysql, mysql-server, and mysql-devel via yum:
yum install mysql mysql-server mysql-devel
I had created some databases and users and ended up breaking some tables, so I attempted to ...