cacert=/usr/local/directadmin/conf/cacert.pem
cakey=/usr/local/directadmin/conf/cakey.pem
Tag Archives: directadmin
No space left on device: AH00023: Couldn’t create the ssl-cache mutex AH00016: Configuration Failed
Error: [core:emerg] [pid 10804:tid 140601303058368] (28)No space left on device: AH00023: Couldn’t create the ssl-cache mutex
ipcs | grep apache | awk '{print $2}' > sem.txt
for i in `cat sem.txt`; do { ipcrm -s $i; }; done;
You can try to avoid such issues:
vi /etc/sysctl.conf
kernel.sem = 250 256000 32 1024
sysctl -p
vi /root/bin/sem.sh
#!/bin/bash
for i in $(ipcs -s | grep apache | awk '{print $2}'); do ipcrm sem $i; done && service httpd restart
crontab -e
MAILTO=""
@daily /root/bin/sem.sh
directadmin select php version
cd /usr/local/directadmin/custombuild
vi options.conf
php1_release=5.6
php1_mode=suphp
php2_release=5.5
php2_mode=mod_php
./build php d
vi .htaccess
AddHandler application/x-httpd-php .php
directadmin SpamAssassin
yum -y install perl-ExtUtils-MakeMaker perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-IO-Zlib perl-Digest-SHA perl-Mail-SPF perl-IP-Country perl-Razor2 perl-Net-Ident perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-Mail-DKIM perl-DBI perl-Encode-Detect perl-HTML-Parser perl-HTML-Tagset perl-Time-HiRes perl-libwww-perl perl-Sys-Syslog
cd /usr/local/directadmin/custombuild
./build set spamassassin yes
./build spamassassin
grep “exim.spamassassin.conf” /etc/exim.conf # shuld return: .include_if_exists /etc/exim.spamassassin.conf
(wget -O /etc/exim.spamassassin.conf http://files.directadmin.com/services/exim.spamassassin.conf)
/etc/init.d/exim restart
ps ax |grep spamd
directadmin make backup from command line
echo "action=backup&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=testuser&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue
directadmin enable OpCache
cd /usr/local/directadmin/custombuild
./build set opcache yes
./build opcache
directadmin install soap
mkdir /usr/local/DirectAdmin/custombuild/custom
mkdir /usr/local/DirectAdmin/custombuild/custom/ap2
cp /usr/local/DirectAdmin/custombuild/configure/ap2/configure.php5 /usr/local/DirectAdmin/custombuild/custom/ap2/configure.php5
echo “–enable-soap” >> /usr/local/DirectAdmin/custombuild/custom/ap2/configure.php5
cd /usr/local/DirectAdmin/custombuild/
./build php n
directadmin update dovecot
cd /usr/local/directadmin/customapache
./build update
./build clean
./build dovecot
consider disabling the folder usage count directadmin
echo “filemanager_du=0” >> /usr/local/directadmin/conf/directadmin.conf
service directadmin restart
directadmin domain pointer blacklist
cp -v /usr/local/directadmin/data/templates/forbidden_domains.list /usr/local/directadmin/data/templates/custom/forbidden_domains.list
vi /usr/local/directadmin/data/templates/custom/forbidden_domains.list
directadmin list user domains
cat /usr/local/directadmin/data/users/*/domains.list
directadmin find user sent email count
cat /etc/virtual/usage/*
directadmin 550 Verification failed for 550 Unrouteable address 550 Sender verify failed
This message can mean user sent emails limit is reached, maybe some user send spam messages. Also it can be really DNS issues.
directadmin xfs_quota: cannot set limits: Function not implemented
Directadmin FIX:
Add rootflags=uquota,pquota
vi /etc/default/grub
GRUB_CMDLINE_LINUX=”rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto vconsole.keymap=us rhgb quiet rootflags=uquota,pquota”
cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.back -v
grub2-mkconfig -o /boot/grub2/grub.cfg
/usr/lib64/libssl.so.10: no version information available (required by /usr/local/directadmin/directadmin)
yum update openssl openssl-devel