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 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 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 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