Best Way Of Removing Files And Cleaning Up When Finishing A Server Rental
Feb 14, 2008What's the best way of removing files and cleaning up when finishing a server rental?
View 9 RepliesWhat's the best way of removing files and cleaning up when finishing a server rental?
View 9 RepliesSomething weird happening here. I have tried every string possible...
There are a number of folders I want to remove off my server, tried the good old and simple...
rm -r /folder/
And then went and ended up with a string as long as my screen. No matter what I do, as it goes recursive in to the directory it asks me if I want to remove each file individually. No matter what string or action I take it insists on asking me as it goes to delete each file.
Could this be a configuration option in CentOS?
Requires a dedicated server in Europe.
Requirements:
1) Processor: Intel Core 2 Duo 2,2 GHz;
2) RAM: 2024 MB DDRAM;
3) Hard Drive: 2x 250 GB SATA (can be smaller);
4) Traffic: At least 1000 GB or unrestricted;
5) Port: 100 Mbit / sec. (ideally 1000 Mbit / sec.);
6) IP-Addresses: 2.
Mandatory conditions:
1) A great date-center;
2) Operational and anglophone support;
3) Ability to establish a panel, for example: ISPmanager.
Recommended requirements:
1) Protection against DDoS-attacks;
2) The ability to administer the server, a company that provides services to lease (regular updates, round-the-clock monitoring, etc.).
The server is designed for the site, which will:
1) Forum;
2) Video and audio materials (up to 20 spots, for up to 10 minutes each), which can be viewed directly on the site using flash-player or download. Clips will not be frequently changed or supplemented;
3) Downloading developed software, up to 0.5 Mb;
4) Download documentation formats: DOC and PDF, up to 2 Mb;
All audio, video and documentation for its own production.
Additional information:
The number of visitors, initially to 10000 per month (probably much less or slightly more, not yet known) The audience will be visitors from the following countries: Ukraine, Russia, Poland, UK, Germany, France, USA and Canada.
Budget:
up to $ 200 a month. But if such amount is not sufficient for the entry requirements, are ready to revise the budget.
Need a really high-quality channel of communication and operational support, etc. Perhaps for these tasks, you recommend other requirements to a server and placing the territory? Check your real council.
Also look in the direction of affordable rental server and utilization of services: Akamai Technologies. If someone has experience working with Akamai, I ask, share their views. Should I use it for such a project?
A lot of information has been revised to servers in Germany, UK and USA. But the single answer, yet to be found.
How Can I prevent users removing file web.config on FileManager?
I try set attribute read-only, but not effect.
I cannot seem to find a conclusive answer to this. I use subdomains to create client websites then once they are in their own domains the subdomains still remain. Can I delete only the subdomain and leave all the files or at least leave the database since it is still connected to the new domain. Example below.
subdomain.example.com uses database1
newsite.com still uses database1
Is there a way to copy the database into the new domain?
I have an issue with my daily backup. I configured to have a daily backup on an external FTP server. Everything looks to work correctly but in the panel I see that the task is a 100% forever. Never finishing completely.. So the next day, the task is not starting.. I have to remove manually the task in backup manager screen.
here is the last lines of the log file (in /var/log/plesk/PMM/backup-2015-01-20-20-46-02-824)
[2015-01-20 21:33:53.108|18485] INFO: ENV[LANG]=en_US.UTF-8
[2015-01-20 21:33:53.108|18485] INFO: Executing utility: /bin/sh -c -e /bin/tar --create --file /usr/local/psa/PMM/tmp/backupznMOWN/daily__1501202046.tar --directory /tmp/repo_transport_tmp_Jalkfn/ --dereference --files-from /tmp/repo_transport_tmp_UTCFhv
[2015-01-20 21:41:12.528|18485] INFO: The utility executed with the return code 0
[Code] ....
My tax consultant tells me to deduct TDS for server rental services from SoftLayer.
SoftLayer in turn can claim the deducted amount back from US govt. This is the understanding between India and US govt, as my tax consultant says.
But I am unable to convince SoftLayer. Needing inputs from Indian firms who are having dedicated servers at US. Curious to know how to handle this TDS issue.
I've searched the forum but not found the solution and I'm sure it's probably very simple.
How do I disable users from accessing their accounts via the [url]~username method?
On an apache server running cpanel.
Is there anything like System cleaning in VPS (Linux with apache) ? I need to do system cleaning so that my space and performance can increase.
Is there anything like that in Linux?
When I run yum update as normal it always says something like
Added xx packages, deleted 0 old in x seconds.
I was wondering where ARE these old packages stored? It seems like every time I run yum update it uses a tiny bit of my disk space whenever it downloads all the packages, seems natural though. But for all I know I probably have update package downloads from when the OS was first installed...
My question is, if they are anywhere, how do I just clean out ALL old packages from yum update that I don't need anymore? Are there old packages sitting in there because it says "deleted 0 old" all the time? Just curious because it all adds up when I think about it.
And oh one more question, when I update the kernel - I noticed it keeps packing kernel files in /boot/. How can I tell which of these I don't need anymore? It seems to be getting quite full.
I am in the process of cleaning one old unused phpBB technical forum. As of now the forum is full of spam posting and junk users. I did upgrade it to the latest version, applied a few security tools to prevent spam users from registering. It seems they aren't that much effective. I still get around 50 new spam posting a day.
Do you have any suggestions/tools to help me in getting up the database cleaned. Do you prefer migrating to another forum software. If yes can you recommend some tool for that?
To automate some tasks for some projects I'm working on, I need to be able to automatically create or delete ftp-users.
Creating and listing ftp-accounts is working great, but when it comes to deleting them I run into an internal server error. Before my script gets the response it's waiting for, the script crashes.
- When live watching the Apache error-log with 'tail -f', the terminal-session is exited with 'Killed (core dumped)'
- Apache error-log shows:
Code:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://example.com/ftp.php?action=delete
Premature end of script headers: ftp.php, referer: http://example.com/ftp.php?action=delete
- Webbrowser shows default '500 Internal Server Error'
I have checked and changed time-out settings, but it didn't work. Error occurs a few seconds after executing, while the timeouts are set to 60 to 90 seconds.
Packet send to Plesk:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<ftp-user>
[Code].....
My root partition has been growing slowly but steadily over the last weeks, which makes me uncomfortable being now at 60%.
We are running V 12.0.18
Looking into possible causes found in /root/parallels/ all these packages:
4 drwxr-xr-x 2 root root 4096 Sep 20 04:03 APACHE_2.2.27
4 drwxr-xr-x 2 root root 4096 Sep 20 04:03 BILLING_12.0.18
4 drwxr-xr-x 2 root root 4096 Sep 20 04:03 MYSQL_5.5.37
4 drwxr-xr-x 2 root root 4096 Sep 20 04:03 NGINX_1.6.0
[Code] ....
I got this from my data center.
[url]
You will need to remove that html from your server.
how do I remove from server?
I know that the IMAP method has the sometimes useful feature of leaving the emails on the server when viewing using an email client like Outlook Express. However, in our case we were forced to use IMAP inorder to use AOL as our ISP and Outlook Express as our email client. Is there a way to have the emails removed from the server after downloading like a POP3 connection does?
The client fills up the mailboxes until the email stops working.
any iframe removing script.
View 7 Replies View RelatedI have a RHEL 5 server, that host one site with a common PHP 5.x -MySQL 5.x app, it also uses .htaccess to rewrite rules. I'm trying to optimize apache to the max, and though about removing some unneccesary modules. The actual modules loaded are:
Code:
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule version_module modules/mod_version.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule evasive20_module /usr/lib/httpd/modules/mod_evasive20.so
LoadModule security_module /usr/lib/httpd/modules/mod_security.so
Besides of mod_evasive, mod_security that are security modules, what modules can I disable without causing any problems to a common PHP-MySQL website?
This is a plain RH box, virtual host is configured at httpd.conf in this way:
Code:
<VirtualHost SERVERIP>
ServerName mysite.com
ServerAlias www.mysite.com
DocumentRoot /var/www/sites/mysite.com
<Directory "/var/www/sites/mysite.com">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</VirtualHost>
We have a large amount of multimode fiber coiled up under our raised floor that needs to be removed. The end that remains intact is running to a SAN cabinet that is very densely populated and our vendor has suggested cutting the fiber to make it easier to remove without disturbing the remaining active fiber.
Does anyone have any experience cutting fiber in a data center environment ?
Are glass fragments or any other debris a concern ?
I've removed a website from my server, terminated the account, removed all files. But when you go to the domain name, you get the "Great Success ! Apache is working on your cPanel® and WHM™ Server" page. I dont want even that. I want nothing to come up.
I want it to appear as if the domain/server never existed and show up as a 404 or whatever (this was a forced remove). Is there any way to do this? is there something I didnt do? Or am I stuck since the domain is still pointed at my server.
I've tried to give the hint (move), but it hasnt worked, so I have a feeling I'm going to get questions about this new issue. It's a church related group (even thought theyve been warned this was coming), so its hard to be an AHole, but they need to go.
I just want it to come up as if it never existed on my server, if possible.
Sometimes if I tried to use rm to remove too many files I got this:
-bash: /bin/rm: Argument list too long
I think there was a workaround, like ls and then piping the result to rm, but I forget.
if a program is compiled and installed (configure -> make -> make install) with a --prefix pointing to an empty subfolder, then would removing it be just a simple delete the folder and it's contents action ($rm -fr subfolder/).
Ok so lets say I was to install php from source with a complile prefix flag set to /usr/local/php
Then all the binaries and configuration files are set within the directory (php/conf , php/bin). If I want to delete the php installation then I would just remove the /usr/local/php directory, No?
So I insert following code in my apache.htaccess file in order to remove www and php.This is my whole file
ErrorDocument 500 /500.phpErrorDocument 404 /404.php# force non-www domainRewriteCond %{HTTP_HOST} ^www.example.com$ [NC]RewriteRule (.*) http://example.com/$1 [R=301,L]#RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ $1.php [QSA,L]
We are getting critical warning of disk space as a result of our exim logs, specifically exim_mainlog and exim_rejectlog.
What is the proper ssh command to delete or minimize these?
I am not that familiar with the correct commands. Both files are located /var/log/
I get this error in Plesk 8.6 when trying to delete a domain. I have tried various things from various forums, but they have failed:
Error: Unable to remove domains: Problems occured while removing domains: Delete database user failed: Object 'sys.queue_messages_210099789' does not exist or is not a valid object for this operation.
Earlier when I tried to remove it, it removed only physical hosting from the server (not the complete hosting account). When I try again to add physical hosting I get:
Error: DNSZone::Table:: select() failed: no such row in the table
Not sure if two errors are related. Can anyone help me out with this.
The one thing that currently annoys me is that when an account is terminated from one of our servers, the account is still left on the backup drive.
Is there any way to automatically remove the accounts files from the backup drive when terminating an account? Or do I have to continue to do it manually?
Using cPanel/WHM/CentOS on all servers.
I have a customer who has a problem, today when he opened Outlook Express, it downloaded his new mails and deleted them automatically and also other mails, then when he clicked the "Trash" directory, it was empty. He checked if no one set rules, and the rules dialog is empty. He says his antivirus is up-to-date.
View 2 Replies View RelatedI'd like to change /comp.php to /comp but I have only found articles on how to remove .php completely and I don't want to do that, only want to do it for this one file.
View 5 Replies View Related