running Plesk qmail server. My local mail queue is growing rapidly and very slow dlivery m gettings too many spam emails from outbound. I am using DNSBL server sbl.spamhaus.org maped but it is out of control. how to protect my box from SPAM.
I'm now with a bit of a problem on my server. I tryied to add a new domain and I haven't counted how many domains I had on my server because I was thinking that plesk would warn me if I was reaching my limitation of domains, so I added a new one...
My license was for 10 domains, and now I have 11 domains so I'm getting an error when I enter my plesk panel. The error basically says that I exceeded the number of domains of my license so I have to buy a new one.
The problem is that when I want to click on the cancel operation button on the bottom of the page I'm constantly being logged out and I cannot cancel the operation, so I'm in a loop right now: "Log in -> get error -> Cancel -> Automatic log out -> Log in"
What can I do to delete one domain completely from my server?
I'm currently using iptables to ban IP addresses from the servers, like:
Code: iptables -A INPUT -s xxx.xxx.xxx.xxx -j DROP I ran a "spam trap" for the last few months and now I have over 11000 IP addresses who were trying to spam on my website (guestbooks, phpBB and forms) and I want to ban them all (pretty sure bots run from them).
My question - is iptables the way to do it? I mean does banning such a large number of addresses have any significant performance or other issues I should be aware of (except of the fact I may be banning some legitimate traffic)? Is the -A INPUT the way to ban them all or is there a more appropriate way of baning such a number of addresses?
I'm on CentOS 4.5 i686, Apache/1.3.37, Pentium D 930, 2GB RAM.
i just wana know is it safe to do remote daily backup for about 70,000 files?
file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files , so how much it will take every time to compare that 70,000 files?
i have 2 option now:
1-using second hdd and raid 1 2-using rsync and backuping to my second server , so i can save about $70 each month.
I'm trying to figure out how many domains and subdomains I can get with each plan from Network Solutions, Enom and Yahoo. Is there any set standard of number of subdomains per domain? Network Solutions gives you one domain for two of their plans, three for the third, but says nothing about subdomains...
I have a cpanel server and currently only have about 20 domain hosted, not bandwidth heavy. My dedi is Core2Duo E6550 with 8gb ram. How many domains i can host if all of my clients? How many is too many? I don't like to oversell just to get extra money?
I've installed the Plesk Panel onto a windows 2008 server. It's all good, web sites are flowing and I'm really happy with the software. The issue I'm having is a customer has an asp site with an access database. After I uploaded their site, they couldn't write to the database, so I had to manually go and set the permission on the database for the "Plesk IIS Anonymous Account (IUSR_xxx)" user to have modify access on the file.
So my question is this, how can I set up the default hosting account to already allow this and so I don't have to go an waste time tweaking the folders manually trying to find the right permissions?
Also, why is it the Plesk IIS Anonymous account that needed to have it's permissions tweaked and not the "Default Plesk application pool user (IWAM_plesk(default))" which is the user who's configured on the application pool in IIS? I can't see where the Plesk IIS Anon user is being used.
I need to create more than a 1000 domains and i'm hoping to do this using an automated process. I can create them individually through the command line interface on our windows server but this will take a lot of time and effort.
I have a dedicated server here in the UK with fasthosts (win 2008 server, IIS 7), which which has been running fine for nearly a year. it was running plesk 9.2, and then out of the blue it got errors creating a new domain saying that PHP wasn't installed.
PHP was/is installed on the server, and is still running fine within my 12+ domains/websites. at the point of the error it was running 5.3.8 - i had manually upgraded the version outside of Plesk, but it had seen the new version when installing new domains.
When Plesk stopped seeing that PHP was installed, my hosts asked me to upgrade Plesk, as it would solve the issue. I used that ai.exe program, and choose v11.
The control panel installed OK - but I did lose my websites for a while, due to it downgrading my PHP to v5.2, and installing an older MySQL version which tried to use the same ports etc (I also have manually installed mysql v5.5 and have 1gig databases in that installation!).
After chosing the upgrade to 5.3 option in the Plesk control panel, and turning the Plesk installed Mysql v5.1 service off and to disabled in windows services - 'revealing' my 5.5 version, I could at least get my websites up and running once again!
Once all those were running (the priority), I have found that v11 Plesk has the same problem as v9.2, namely that it doesn't think that PHP is installed and available.
The error on installing a new domain;
Error: Failed domain creation: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=testkrispy.co.uk" failed with error code 1: PHP 5 is not installed
Oddly it does see PHP 5.3.15 in the Service components screen, and it's ticked 'green' in that page, so all looks well.
On trying to install a new domain using plesk I get this;
And also on pages such as webmail - it also shows 'PHP not installed' against those webmail clients which would need PHP to run.
Any way to 'force' Plesk to see that the PHP 5.3.15 version that it itself installed (and I've removed the component and re-installed using Plesk).
My list on the server components page;
ASP 7.0.6002.18276 ASP.NET 2.0.50727.4016 FastCGI Support 7.0.6002.22343 Perl v5.10.1 built for MSWin32-x86-multi-thread PHP 5.3.15 Python 188.8.131.52 SSI 7.0.6001.18000
I've tried something found on this forum (under the 10.4 area), but that hasn't fixed it;
"C:ParallelsInstallerparallelsPANEL-WIN_11.0.9dist-msi-Microsoft-2003-i386php53.msi" you will have an option for "repair" - ran that, no difference.
So as it stands, Plesk 11 is running, and most functions work, it just doesn't recognise the PHP install that it put in place... so I can't add software which requires PHP through Plesk, nor add new domains. All existing domains are running and using PHP fine - so it's installed OK.
One error I've noticed on startup - within the PHP error log, is the following - which I'm guessing is coming from the Plesk's own PHP executable (I can see it uses a 5.3.10 version in it's own admin area, with an extended php.ini file? ) I'm guessing the plesk's php.ini extension is trying to double load some dlls (which isn't a problem?) but seems to not find the php_sockets.dll - although that file is in the directory specified!? If it's a php dll around network sockets, maybe it is trying to use those to communicate with a running php instance? (Just guessing here?)
[30-Jul-2012 15:56:42 UTC] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0 [30-Jul-2012 15:56:43 UTC] PHP Warning: Module 'mysql' already loaded in Unknown on line 0 [30-Jul-2012 15:56:43 UTC] PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 [30-Jul-2012 15:56:44 UTC] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0 [30-Jul-2012 15:56:44 UTC] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0 [30-Jul-2012 15:56:44 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:pleskAdditionalPleskPHP53extphp_sockets.dll' - The specified procedure could not be found. in Unknown on line 0
I need to get a list of suspend domains from mysql. The domains are suspend because they exceeded quota.So far I have done this query:
select domains.id, domains.name as domena, Round(((sum(domains.real_size))/1048576),2) realMB,
(select Round((limits.value/1048576),2) from limits left join (domains, subscriptions, subscriptionproperties) on (domains.id=subscriptions.object_id and subscriptions.id=subscriptionproperties.subscription_id and subscriptionproperties.value=limits.id) where subscriptionproperties.name='limitsId' and limits.limit_name='disk_space' and domains.name=domena) quotaMB from domains where domains.status='2' and (select (sum(domains.real_size)))>0 group by domains.cl_id;
but I didnt managed to get only those that exceed the quota.