we've just moved to a new server and was wondering if there was any programs to secure erase all data on the hard drive on the old server (with centOS), as we don't want anyone else who get this harddrive to be able to recover any data.
I'm not that familiar with the file systems used by linux, so perhaps this isn't a problem. Just had to ask.
We use some DoD "approved" applications to remove sensitive data on NTFS partitions on our stationary computers, but couldn't find anything for *nix.
Just finished migrating server providers and our old servers are being canceled soon. Does anyone know how to delete all log data or any other cached files for security reasons? Is there a command in SSH that can wipe it clean? Without damaging anything of course.
I can not delete only a Domain and replace it with a other Domain. There is just the possibility to delete the Domain incl. the data. The Problem is i have 2 Domains that point to the same root-directory. And now i was making a new website in a other directory. And now i want to use one of this domain for my new website. But i can't change it. Also if i change the document root, the website d'ont use the new domainname - it makes like a redirection to the old domainname.
I would like to know how to delete the script/important database data on a server in case of no longer rent it.
I will cancel a server in the coming month, but there are some critical password hardcode in my script. I am afraid it's not safe if only use a command liked "rm"
However, it's seem that it's not possible for me to format the HDD or run a fill zero software.
I've written a script to send property data to rightmove.co.uk as part of their new automated data feed. However they require a secure connection to their systems when posting the data. They have provided me with a .pem file which is a security certificate. I need to install this on my plesk server but where to start as most certificates require a private key and the actual certificate. The private key I have been provided is only an 8 charter string, like a password.
i've created VPS with OpenVZ.And there is some problem i have access the vps and it's show some error
Code: VM creation has failed. Reason: Private area already exists in /vz/private/250 .At the moment i forgot my SSH details..only i know my hypervm "root" details..where i log with admin password.I need to fix this because some clients of my hosting company is waiting and my number of VPS is limited.
Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sda1 * 1 57 457821 83 Linux /dev/sda2 58 15355 122881185 83 Linux /dev/sda3 15356 15616 2096482+ 82 Linux swap / Solaris /dev/sda4 15617 19457 30852832+ 8e Linux LVM
All the log is under a single file, occupying huge amount of space on our server use lxadmin for the vps
we are unable to even open up the file, as we have almost run out of space, we would atleast like to delete around old logs older than a month, this logs are from 3 months, so please help us in solving this problem
if we delete the sql log, will a new log be created automatically or it gives an error?
can i activate the deletion command for 10 or 30 mins and then stop it? i think by this way we cant delete some files from the dir and not all the files so i can edit my files
i want to do this because my server doesnt respond to any file system command because my hardisk is full! so i need to remove some files by any way
Question: Is it safe to delete the files in /var/log/mysql ? Also, is there some way I can disable logging so that this folder does not get filled up again?
Explanation:
Last night I started running a Perl script to process the data contained in some files, and then do a series of INSERTs to put them in a MySQL database. When I checked on it this morning, I found that it was very close to being done, but had locked up. I had trouble doing anything at all, actually, until I realized that 100% of the disk space on my hard drive had now been used. I went to investigate, and I quickly realized that my /var/log/mysql folder was over 120GB!
My intuition tells me that this folder is just used to store logs of what MySQL is doing. However, I have no need for these logs, and seeing as they are (unnecessarily) using over 120GB of my hard drive space, I would like to delete everything in that folder. But I'm still fairly new to Linux, and I'm not sure if this is safe. Can I just delete these files? And also, to prevent this from happening again, is there some way I can disable MySQL from creating such enormous log files?
I have a cronjob that is still entered in my server, but due to my own lack of knowledge i deleted the domain from my server without removing the cronjob and now i keep getting the emails from my server
Code: /bin/sh: line 1: /home/userID_Removed/public_html/cgi-bin/script-removed/cron.cgi: No such file or directory I just need to know how to remove the cronjob via SSH, i logged in as Root to my SSH and then did crontab -l and I see the two cronjobs I want to remove, but can't find the code to do so anywhere via Google.
There is 3 total that I want to remove but there is about 10 cronjobs setup there so i want to remove those three and make sure the other 7 stay running as they should.
i have update my.cnf with the following configuration and now i have a lor of customer that have lost him table, seem that this configuration have delete in random .Myi files, i would put this my.cnf also on others server but i would undestand which setting in this .cnf make problem for the table.
[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-locking skip-innodb #skip-networking safe-show-database query_cache_limit=1M query_cache_size=96M ## 32MB for every 1GB of RAM query_cache_type=1 max_user_connections=200 max_connections=500 interactive_timeout=10 wait_timeout=20 connect_timeout=20 thread_cache_size=128 key_buffer=384M ## 128MB for every 1GB of RAM join_buffer=1M max_connect_errors=20 max_allowed_packet=16M table_cache=1024 record_buffer=1M sort_buffer_size=3M ## 1MB for every 1GB of RAM read_buffer_size=3M ## 1MB for every 1GB of RAM read_rnd_buffer_size=3M ## 1MB for every 1GB of RAM thread_concurrency=2 ## Number of CPUs x 2 myisam_sort_buffer_size=64M server-id=1 log_slow_queries=/var/log/mysql-slow-queries.log long_query_time=2 collation-server=latin1_general_ci
im using fireftp and i chmod the folders to 777 but it seems that im still unable to delete the folders as i get the message 550 directory not empty etc.
I am currently transferring from a VPS to a dedicated server.
After you have made the transition, do you delete everything on your previous server? Or can I expect that everything be deleted anyway when my subscription runs out?
I bring this up because there sometimes is sensitive data stored there (ie. databases with personal info) and I'm wondering how much I should delete. Obviously I'll get rid of the DBs, but what about essential stuff like the operating system?
but that didn't work and if i try rmdir c emp, it removed c: emp directory or maybe i'm not looking hard enough.
basically i want to copy a folder with many subdirectory under it, zip it up the folder and delete all the subfolder and the files in the subfolder but not the parent folder where it store all temp data.
i already got xcopy and zipping work but i can't seem to figure out how to remove all the folder inside the parent folder without deleting the parent folder.
When i try to erase a domain from the Plesk it can't be erased and it gives the following error, i have read a lot of writings about this problem but i still didn't succeed. When at last i tried to erase it again it gave the following problem.
Error; Domains not delete : Problems occured while removing domains: Unable to turn the domain OFF: domainsmng failed : Execute usermng access off failed : Unable to get the user (kenthosting) home: (2221) The user name could not be found
In one folder, I have thousand of files, and I want to delete 100 specific files. Saying specific files, I mean all of them has a keyword. So, I can find out all of them by using grep "keyword" *
but dont know how to delete all of them. Not deleting one by one.