The tag has no wiki summary.

learn more… | top users | synonyms

-3
votes
2answers
63 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
2answers
68 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
1answer
31 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
1answer
199 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 ...
0
votes
1answer
101 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 ...
0
votes
1answer
1k 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 ...
2
votes
2answers
1k views

Quickest way to merge snapshots in VirtualBox

I have vdi with quite a number of snapshots taken from it - say, 50 or 70 snapshots. I want to have one plain vdi with a current state. These snapshots take way too much disk space and are not needed ...
0
votes
2answers
84 views

How to remove 2003 server roles without cd-rom?

Trying to remove a few server roles on a 2003 server but its asking me to put the cd-rom disk in. Wondering if there's another way to remove roles without putting the cd-rom as it's a VM and I don't ...
3
votes
3answers
805 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 ...
0
votes
1answer
479 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
1answer
761 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 ...
1
vote
1answer
966 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
1answer
85 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, ...
7
votes
2answers
12k 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
5answers
1k 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
1answer
452 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
2answers
124 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 ...
0
votes
2answers
5k 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
2answers
230 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 ...
0
votes
1answer
119 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. ...
2
votes
2answers
132 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" ...
1
vote
1answer
97 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
0answers
362 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 ...
10
votes
5answers
2k 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 ...
0
votes
1answer
203 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 ...
3
votes
3answers
951 views

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 ...
1
vote
1answer
67 views

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: ...
1
vote
3answers
172 views

Remove all files not working with “*”

I want to remove all files and folders in folder /home/user I'm using command rm -rf /home/user/* without success, next I tried: cd /home/user;rm -rf * Which gives the following output rm: ...
1
vote
1answer
69 views

Delete . files from OpenVMS

I've downloaded with ftp a file which contains too much '.' to a OpenVMS. How can I remove it?
1
vote
1answer
533 views

yum remove doesn't remove things completely?

I am trying to remove apache completely from my server,which is a ec2 instance, running Amazonian linux v2.6xx. Lets assume I have a file in /etc/httpd/conf/xyz.txt I am using the following code : ...
0
votes
2answers
2k views

Removal of old mail logs in ubuntu - rm or not?

I have a ubuntu server which handles mail via postfix. The server has recently been caned by spam emails and the mail logs are really large as a consequence. The logs are stored with timestamps and I ...
0
votes
3answers
180 views

What options do I have if my linux box is compromised? [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I have put all security meaures and log monitoring tools. Now but i don't know what to do if find out the there is some rootkit on ...
0
votes
2answers
672 views

Remove a Linux user with only his UID

I would like to remove (or rename) an Ubuntu user I created but the usual solutions don't work as there is a question mark in the username. $ sudo usermod -l myuser my?user usermod: user 'my?user' ...
3
votes
8answers
2k views

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 ...
0
votes
2answers
2k views

problems reinstalling apache2

I am on debian 5 64bits linux and i uninstalled apache2. Then i removed /etc/apache2 and installed apache again. That folder is still missing and i have no idea how to get the apache files back (with ...
0
votes
2answers
217 views

Apache redirecting without provocation; dropping port?

This is a new issue to me and has been driving me nuts for the past hour or two. I have an Apache server running on port 8000 (confirmed in ports.conf and by nmap) yet any request to it is ...
4
votes
1answer
3k views

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 ...
2
votes
2answers
1k views

I can't get rid of apache2

It's obvious that I am a newbie with server administration; my goal is to reach the knowledge needed to working with web services. I played with my Debian server, and I messed up apache2; Now I want ...
3
votes
1answer
4k views

Uninstalling/Upgrading Puppet

The questions below are all related to the topic of uninstalling/upgrading Puppet: How do I uninstall previous versions of puppet? What files do I need to delete and where are they located? Is there ...
2
votes
2answers
359 views

Blocking rm -rf for application

I have application which during run-time generates interesting intermediate outputs to ./tmp directory. At the end of execution this directory is deleted. How can i preserve contents of it? I do not ...
5
votes
6answers
58k views

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 ...
3
votes
1answer
2k views

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 ...
2
votes
1answer
234 views

Stop automatic reinstall of drivers in drivercache

So, you've got a driver that's giving you problems and you uninstall the driver or device and it automatically gets reinstalled. Is there a way to stop windows from keeping a driver in the driver ...
0
votes
1answer
320 views

how can I disable Apple's software updater in Win XP? [closed]

I installed some Apple software (either Quicktime or Safari) on my computer. I removed them both long ago, but I've been unable to disable those pesky "reminders" from Apple to upgrade my Apple ...