How To Delete None Empty Dir
Jan 28, 2007I am trying to delete none empty directory using this command...
rmdir dirname
but system say directory not empty.. how I can delete directory with all directory/files under it
I am trying to delete none empty directory using this command...
rmdir dirname
but system say directory not empty.. how I can delete directory with all directory/files under it
I'm setting up a PHP shop website and the script that I'm going to be using has a pretty heavy list of requirements.
Instead of looking for hosting software packages, I was wondering that are there any hosts that offer an "empty box" where clients can install all the needed software (apache, php, mysql, etc...)?
If not, then what would be the best host for getting a custom PHP build (I'm looking for PHP 5.20).
I'm having some problems with my script, i think its not really a script error...
- Script connects to rapidshare to send a file to the user
- Rapidshare allows unlimited parallel connections, so no problem
- Though some of the time (not alot), i get a connection error.
- Connection error is: Empty reply from server
- Strange thing is, i get this when i do a curl connection to rapidshare
- ping, telnet, fsockopen, all is working, but it seems that i don't get a reply from the server
Well, is this a problem on my side or on the rapidshare servers?
Also, is there a problem to fix this?
Server is using:
- curl 7.15.5
- php 5.21
- apache 2.2.3
there's no firewall setup on my site..., also i can't find anything in iptables,...
/etc/init.d/iptables status
Table: mangle
Table: filter
Table: nat
/sbin/iptables -v -I INPUT -s 1.1.1.1 -j DROP
no "response"
.. this means the iptables are simply empty I guess!
CSF is enabled and working, at least it's sending me mails that it's blocking IP's or if CPU load is too high.
/etc/init.d/iptables status is working but not saving anything
My current iptables:
Code:
# Generated by iptables-save v1.2.11 on Tue Feb 19 08:30:06 2008
*mangle
:PREROUTING ACCEPT [11582:3937365]
:INPUT ACCEPT [11582:3937365]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [11881:5171405]
:POSTROUTING ACCEPT [11881:5171405]
COMMIT
# Completed on Tue Feb 19 08:30:06 2008
# Generated by iptables-save v1.2.11 on Tue Feb 19 08:30:06 2008
*filter
:INPUT ACCEPT [11582:3937365]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [11881:5171405]
COMMIT
# Completed on Tue Feb 19 08:30:06 2008
# Generated by iptables-save v1.2.11 on Tue Feb 19 08:30:06 2008
*nat
:PREROUTING ACCEPT [1203:62871]
:POSTROUTING ACCEPT [257:16291]
:OUTPUT ACCEPT [257:16291]
COMMIT
# Completed on Tue Feb 19 08:30:06 2008
Munin was running OK on my cPanel server until yesterday when the graphs stopped updating themselves. I attempted a "/usr/share/munin/munin-update --force-root" which did nothing. Then I uninstalled and reinstalled munin on the cPanel plugins screen and now its running but all the graphs are empty
View 3 Replies View RelatedI currently have my own dedicated server located with the following prefs;
Linux: CentOS 4.6 (final)
Kernel Version: 2.6.9-67.0.15.ELsmp
I know this is possible, but I am seeking how to drop empty udp packets automatically with iptables.
Some bot(s) without a reported IP address seems to be making 60 - 500 connections to my server constantly even though there are usually only a few real users connected.
Does some search engines/some legit proxy users have no reported/hidden IP address?
Am I even able to ban an empty IP with iptables?
Today i checked my server and when i click in Install a RPM it shows epmty list!
I tried to rebuild rpm databse it rebuilded it without any error but still empty?
any idea?
Also when i click on Apache Build/Upgrade Is ee this
[a fatal error or timeout occurred while processing this directive]There was an error while fetching [url]
how to empty the Mail Statistics log in WHM? Also is it ok to do or would it cause problems doing so?
View 2 Replies View Relatedwhy my maillog is empty. I have checked both locations below but result remain the same:
/usr/local/psa/var/log/maillog
/var/log/maillog
I'm running this Plesk inside OpenVZ container (using centos-7-x86_64-minimal template)
I installed new Plesk in new VPS with Centos 7 (Virtuozzo - former PCS)... One domain is running, but when reboot the server, maillog stopped.
Last lines of the login are:
Jul 23 13:45:08 server dovecot: service=pop3, user=xxxxxxx@xxxx.com.ar, ip=[190.X.XX.XXX]. Server shutting down. rcvd=3270, sent=23925997, top=0/0, retr=327/23659830, del=0/594, size=40888121
Jul 23 13:45:08 server dovecot: anvil: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Jul 23 13:45:08 server dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Jul 23 13:45:08 server spamd[3369]: spamd: server killed by SIGTERM, shutting down
Jul 23 13:45:08 server postfix/postfix-script[4396]: stopping the Postfix mail system
Jul 23 13:45:08 server postfix/master[31144]: terminating on signal 15
Jul 23 13:45:08 server /usr/lib64/plesk-9.0/psa-pc-remote[2587]: PleskFilter: private data not NULL
Jul 23 13:45:08 server /usr/lib64/plesk-9.0/psa-pc-remote[2587]: PleskFilter: private data not NULL
Jul 23 13:45:08 server postfix/postfix-script[4404]: waiting for the Postfix mail system to terminate
Jul 23 13:45:13 server /usr/lib64/plesk-9.0/psa-pc-remote[2587]: PleskFilter: mi_stop=1
I can reproduce this problem, but cannot fix it....
I just installed P11 and the AppVault is empty - how do I tell it to download all the apps from the aps catalog like I can do in linux? Is there a command line alternative for it as well?
for example in linux you would do
/usr/local/psa/bin/aps_catalog --install-applications-bundle 3Click to expand...
How to set up cron job auto empty a table of an database at specify time.
OS: Centos 5 64 bit , Cpanel: cPanel 11.24.4-R32486 - WHM 11.24.2 - X 3.9
Plesk 12 on Centos 6.5
I added the following to my /etc/logrotate.conf
/var/log/modsec_audit.log {
missingok
daily
rotate 4
compress
}
I'm not exactly sure if the above is the correct syntax, but the result was that two days later my current modsec_audit.log was Gzipped and a new modsec_audit.log was created.
The problem is that nothing was logged to this new file.
From the Plesk 12 control panel I turned off mod security and then turned it back on again and hey presto, the new logfile started to log events.
This leaves the problem of why nothing was recorded when the file was created.
I have restore my Plesk 12.0.18 Backup after new installed Server from Ubuntu Server 12 to Ubuntu Server 14.
The Backup is from Plesk 12.0.18 under Ubuntu Server 12!
After restore all Mailboxes are available and work they, but all Mailboxes are empty. No contents are restored.
New try to restore Mail Account only have no Result.
I have downloaded my backup file to local Computer and extract.
In file backup_mydomain_mn_1409281400.tgz are all Messages encrypt available. But Not restored.
Why????
In the fail2ban module of plesk is a tab for "logs".
Here you can view Fail2ban logs.
No items found.Click to expand...
When I log into plesk (service provider view) and click on the Domains link on the left, I get an empty page. It isn't blank like there is an error, it has some instructions at the top about creating a customer etc. It just doesn't list any of the domains that are setup on the server. There are several reseller accounts with several domains under each. I've even tried setting up a new customer and adding a domain under the new customer. Still nothing shows up.
I have several other VPS accounts running Plesk 12 with several domains under different customer accounts and the domains all show up on those.
I have problem with my windows plesk when i login show me a page to fill administrator detail but when i complete it this error appear .
Error: Unable to update administrator information:
Some fields are empty or contain an improper value. ('login' = '')
I'm testing Plesk 12.1 and noticed after enabling ModSecurity, the modsec_audit log file is empty.
I'm running CentOS7.1 w/Plesk 12.1.23
Our Server doesn't show the Traffic History under "Tools & Settings -> Summary Report -> View Traffic History", but for every Domain it runs.
We Migrate this Server from a Dedicated to an OpenVZ Server - on another Server with OpenVZ its running without Problems, but this one we don't migrate.
Plesk, for an unknown reason to me, creates an "empty binding" on one specific website every time I make a "hosting change" on that very website (subscription in Plesk terms). What I mean by a "hosting change" is things like enabling/disabling SSL, adding/removing aliases and anything similar that might require Plesk to re-arrange the bindings for that website.
The issue exists only on one of the many websites I am hosting/configuring via Plesk, the others don't have any similar issues.The result of the issue is the given website being stopped by IIS since the "empty binding" is already in use by the "Default Web Site".If I go ahead and delete the empty binding from the given website, I can start the website up again.The Plesk version I am having is 12.0.18 Update #38, which I assume is the latest one.
I'm just wondering how I can start logging activity in Fail2Ban. I've got the following line in the "logs" tab in "IP Address Banning" in the Plesk UI:
/var/log/fail2ban.log
However when I check this it states "The file is empty".
I'm assuming there will be a setting somewhere that tells fail2ban to log to that file but I'm not sure where/what it is?
I know for sure that I've had IP's banned but they just don't appear to be logged.