On high traffic email servers you may see this kind of errors, it’s very normal in some situations when your users use lot of email. It basically means that there are a lot of open SMTP connections (incoming and/or outgoing). The exact error message may be something like: 421 Too many […]
DirectAdmin
How to enable quotas on CT Proxmox for use DirectAdmin
Question: How to enable quotas on CT proxmox for use DirectAdmin I want to do it now. http://help.directadmin.com/item.php?id=42 [root@host1 ~]# /usr/sbin/repquota /home repquota: Mountpoint (or device) /home not found or has no quota enabled. repquota: Not all specified mountpoints are using quota. [root@host1 ~]# Solution: you ssh on server promox and try following […]
I’ve deleted /home, how do I recreate the directories?
Generally, this isn’t the best thing to have happen because all of the data is stored there. You’ll need to recreate all of the directory structures, as well as a few files required for DA to run: 1) Create the DA tmp directory so you can log into DA again: […]
Disk Usage is showing 0.00
*** Note: If you’re running a VPS with a “simfs” file system, quotas usually cannot be enabled with normal means. Contact yoru VPS provider to enable quotas for you. DirectAdmin relies on the system quotas to return a value for how much space is being used. DirectAdmin will run /usr/sbin/repquota […]
HOWTO: CSF Firewall + LFD Login Failure Daemon
The following is a guide to installing ConfigServer Services‘ firewall and login failure daemon. Warning: The Latest version of CSF does not work properly with DirectAdmin on CentOS 5 machines with Apache 2+ CSF + LFD is a full security suite. I have provided a list of the features that […]
mod_security installation get erro cannot find -lexpat
I am trying to ‘make’ mod_security on server with DA but keep getting this error: /usr/bin/ld: cannot find -lexpat collect2: ld returned 1 exit status make[2]: *** [mod_security2.la] Error 1 make[2]: Leaving directory `/root/modsecurity-apache_2.6.1/apache2′ make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/modsecurity-apache_2.6.1/apache2′ make: *** [all-recursive] Error 1 solves above […]
Ruby on Rails Installation Script
this script to help install ruby on rails cd /usr/src wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz tar -xzvf ruby-1.8.5.tar.gz cd ruby-1.8.5/ ./configure make make test make install cd /usr/src wget http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz tar -zxvf rubygems-0.8.11.tgz cd rubygems-0.8.11 ruby setup.rb gem update gem install rails –include-dependencies rails /usr/local/rails mv Was This probably my http://sportmediamanager.com/canadian-labs-online/ I evenly […]
How to enable SpamAssassin on your server
To enable Spamassassin on your server, you need to first need to install it. Once installed a few minor changes are needed in your /etc/exim.conf file. 1) Install spamd and spamc: cd /usr/local/directadmin/scripts ./spam.sh If you get errors building spamd relating to missing perl modules, try using cpan to install […]
[HOW-TO] Use “mod_fastcgi_handler + PHP-FPM” instead of “mod_fastcgi + PHP-FPM” (Less code to work on)
I have read about mod_fastcgi_handler which I think it will help me to write less code to work on PHP-FPM. Checked their website, even they say it’s beta quality and there are a couple bugs. I still think I should try it. So, below is what I did to replace […]