Remove Empty Folders And Remove From A Db
Jul 22, 2009
ive got a site which auto creates subdomains and installs a script automaticly and inserts details into a mysql db. i have had some issues recent so have loads (talking 100s) of folders that are empty which i need to remove, and to remove the details of said folder from db also. any ideas how i can do this, using plesk control panel so removing the subdomain via plesk cli may be the best way in that respect but the db is external to plesk so that would not be edited
View 0 Replies
ADVERTISEMENT
Feb 27, 2009
I'm trying to write a cron/ssh to remove recursive folders in a "data" folder that is older than X days.
I've been able to remove files, but not folders.
This is the code I have so far, but if someone can point out how to remove folders older than X days, that'd be great ........
View 4 Replies
View Related
May 21, 2009
I just need to CSF on my server, i dont need to lfd and i need to remove lfd from my server.
View 9 Replies
View Related
May 20, 2009
I have setup a xen VPS some time back. I need to remove it permanently. I have used the commands virsh destroy <domainID> as well as xm destroy <domainID>. However they only performs a shutdown. I can restore it back!
I want to remove / wipe it permanently and memory consumed is given up then and reflected in the core server.
View 2 Replies
View Related
May 30, 2008
How can remove apf firewall?
I need to remove and install apf again. Because its damaged now
View 7 Replies
View Related
Oct 14, 2007
some body installed it for me and I do not know how to remove, how to uninstall BFD and APF
View 3 Replies
View Related
Sep 12, 2006
i want to remove csf firewall. Its creating alot of issues. So any guide how can i remove csf and ldf ... ?
View 2 Replies
View Related
Jul 6, 2009
My /tmp on my cPanel hosting server is nearly full, and I was wondering if it is safe to remove all the contents in /tmp, if not, what can I delete to clear up the space?
View 6 Replies
View Related
Mar 23, 2009
i have many problem from this
i want to remove it
i had recompiled apache without it but it still working
View 2 Replies
View Related
May 5, 2008
I am using Cpanel version 11 with FreeBsd.
Some body has installed locus7shell on one of my website
using Joomla.
How can i removed it.Has any one faced this thing.
View 1 Replies
View Related
Jul 29, 2008
I had some issues with PHP compilation seems to be issue with zlib. So I decided to remove it. What happened then is something like nightmare...
The command yum remove zlib removed zlib + all dependencies without asking me what to remove. So it removed majority of packages including yum itself.
How can I force yum to not remove dependencies when I uninstall some package?
View 5 Replies
View Related
Apr 21, 2008
I installed Roundcube on my cPanel server but it isn't working for me and I want to uninstall it and maybe try again.
How do I uninstall it, I can't find any information anywhere?
View 9 Replies
View Related
Dec 8, 2007
How to remove eAccelerator, I updated my apache and there I got the option to install it ,and I installed it
View 7 Replies
View Related
Sep 4, 2007
My server has 2 drives,one is backup drive. The backup drive seem to be failing so i decide to remove it. However when i remove it,the system can not boot. ANyone got this issue?
View 14 Replies
View Related
Jun 10, 2007
When I installed PHP 5.2.1 the howto said to put it in /home/cpphpbuild/ then un-tar it which I did and I am left with a folder called php-5.2.1
Can I delete this folder without breaking PHP 5?
View 5 Replies
View Related
Apr 19, 2007
on my server I'm trying to remove 'www' from all subdomain urls.
For example:
[url]-> should be -> [url]
[url]-> [url]...
what rewrite rules to use?
I suppose I've to put this rule in httpd.conf and apply it at Server level.
I'm using this
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.([^.]+).example.com
RewriteRule (.*) [url]
where %1 is one subdomain.
The problem is I want this to work on ALL Subdomains.
What rewrite rule should I use?
View 8 Replies
View Related
Jun 10, 2009
As per the title, what steps are needed to remove HyperVM altogether from the server leaving just the OpenVZ or Xen kernels?
View 6 Replies
View Related
Dec 7, 2008
how can I remove a Virus/Trojan from my website?
View 6 Replies
View Related
Jul 6, 2009
The way Exim is setup on Cpanel/Centos is that it adds the origination IP and server IP address that the email is relayed through.
Because many RBL's flag Verizon and Comcast ISP IP's as spam sources; it causes my email relayed through my server to be rejected. Note: My server IP is not on any RBL for spam or abuse.
Is there a way to edit Exim to only use the server IP adddress that I relay through?
View 8 Replies
View Related
Apr 14, 2009
How can remove eth0:12 (for ever) from ssh server?
View 3 Replies
View Related
Jul 8, 2009
can i remove/disable named on the main server if i run dedicated dns servers?
View 3 Replies
View Related
Sep 13, 2008
I have this site gameplanet,pri,ee and it has this built-in annoying ad that always
shows up if you're viewing the website for the first time.
Is there a way to remove or disable it or do anything about it.
View 2 Replies
View Related
Dec 11, 2008
got suhosin-0.9.24 extension on my centos 5.2 server, the patch has NOT been applied.
how do i remove/uninstall suhosin-0.9.24?
View 3 Replies
View Related
Nov 25, 2008
Is there any way so that i can remove a specific command from history.
628 ll
629 cat bash.sh
630 man mail
631 exit
632 history
You see my history command displays output as this. I need to remove the 630 th command.
Is this possible ?
I can use history -r but, it will remove all the commands executed in the session.
I need a command to remove a specific thing from history.
View 10 Replies
View Related
May 19, 2008
How can make a cronjob for remove banned ip with CSF every 15min?
View 4 Replies
View Related
May 30, 2007
how can I configurate Clamv for delete any infected shell file or trojan?
View 2 Replies
View Related
Jun 22, 2007
I hate cpanl. It's bloated, slow, and just twice as hard to do anything(over command line). Anyways, how can I turn this crap off...it seems like ever time I reboot something comes back and changes conf files(installs older version of programs) and stuff like that. I've shut off any cpanel stuff I can find in the services startup and removed all crons but is there anything else? I get emails like cpsrvd failed @ Fri Jun 22 10:25:38 2007. A restart was attempted automagicly.
View 4 Replies
View Related
Mar 2, 2007
APF Antidos blacklisted a number of ips that seem to be okay to me
I have tried to delete them with /etc/apf/apf -l , /etc/apf/apf --unban xxx.xx..,
and even iptables --flush no avail ! Where does apf store its ip rules. I guess that is /etc/apf/.ipt.chains but not found ..
looks like there was no command line option allowing to remove IPs from apf backlist
View 7 Replies
View Related
May 9, 2007
I'm running out of disk space on /var and it seem /var/cache/logwatch has almost 4GB of space. Can I remove everything inside and uninstall logwatch? How do I remove logwatch from the system and any affect of the system functionality.
DirectAdmin
CentOS4.4
View 5 Replies
View Related
Dec 17, 2007
my server 2003 using Plesk 7.5.4 and enpoint 11. when remove host is errors !
this is erros : [url]
how to remove host.
View 4 Replies
View Related
Apr 29, 2007
when i remove php suexec support, while i entering sites it save php files. how can solve this problem
Server info;
WHM 10.8.0 cPanel 10.9.0-R10737
CentOS 4.4 x86_64 - WHM X v3.1.0
View 4 Replies
View Related