Questions tagged [remove]

64 questions
22
votes
4 answers

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 remove this user? Running CentOS 6.
Xen
  • 461
  • 1
  • 4
  • 16
19
votes
1 answer

How can I remove HTTP headers with .htaccess in Apache?

I have a website that is sending out "cache-control" and "pragma" HTTP headers for PHP requests. I'm not doing that in the code, so I'm assuming it's some kind of Apache configuration, as suggested by this question (you don't really need to go there…
Daniel Magliola
  • 1,402
  • 9
  • 20
  • 33
17
votes
5 answers

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'm not a Shell Guy, so it doesn't work: find -name…
FMaz008
  • 429
  • 3
  • 12
8
votes
6 answers

How do I completely remove MySQL from a linux installation?

I was surprised to find that one of my privileged users installed MySQL on a linux box. The server (mysqld) is running and doing nothing. My skills are all in Oracle, so I am unfamiliar with how to shutdown and remove the MySQL installation.
dacracot
  • 469
  • 2
  • 12
  • 28
6
votes
9 answers

Remove files that are listed in a text file

I have a file that exported a bunch of file names that need to be removed. I need to know how to go about removing each file without having to issue it one at a time at the command line. I've thought about just cating it inside a for loop, which…
drewrockshard
  • 1,753
  • 4
  • 20
  • 27
6
votes
3 answers

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 lots of experimentation modifying the certificate,…
IAM_AL_X
  • 171
  • 1
  • 1
  • 4
5
votes
3 answers

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…
RedKrieg
  • 151
  • 1
  • 2
4
votes
1 answer

How can I completely remove X-Windows from Fedora?

A while ago I installed my first Linux server using Fedora 10. I then upgraded to Fedora 11 and realized that I never use X-Windows on the machine, and during each update downloading a huge amount of files I don't need since everything on the…
BinaryMisfit
  • 1,593
  • 2
  • 15
  • 30
4
votes
3 answers

What is the fastest way to remove thousands of files on a btrfs filesystem?

Currently I have a btrfs mount point with a structure like this:# /mountpoint/month/day/hourAs24/ and each leaf directory contains between 5,000 to 20,000 small files. There I keep the files for two month. Each day I remove the directory older…
mailq
  • 16,882
  • 2
  • 36
  • 66
3
votes
1 answer

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't let me remove zabbix until I make apache2 work…
Kornel
  • 1,075
  • 1
  • 11
  • 16
3
votes
3 answers

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…
Harrys Kavan
  • 402
  • 1
  • 5
  • 18
3
votes
2 answers

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.localdomain" I am wondering if is safe to remove these…
adrianTNT
  • 1,007
  • 5
  • 21
  • 41
3
votes
1 answer

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:~# zpool remove tank…
Bas
  • 31
  • 3
2
votes
1 answer

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 mail addresses assigned. Background: We use Eset…
Stefan Profanter
  • 365
  • 1
  • 5
  • 16
2
votes
1 answer

Removing user mailboxes in Exchange Server

I am trying to remove several user's mailboxes in the Exchange Server. Exchange Server is on a member server (OS: Window Server 2003). When I try to remove the Administrator mailbox, it says this: Note: I had to censor my windows server name…
O_O
  • 635
  • 3
  • 15
  • 25
1
2 3 4 5