sudo dnf reinstall docker
OpenVZ directadmin An error has occurred Details Error with system Quotas setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. Debug Guide
openvz enable second level quota
vzctl stop CTID
vzctl set CTID --quotaugidlimit 100 --save
vzctl start CTID
Bind ignoring out-of-zone data bind
You must make sure all parts of zone are included like:
IN SOA
$TTL 600; 10 minutes
$ORIGIN domain-name.com.
rndc freeze domain-name.com
rndc thaw domain-name.com
Connection reset by peer: mod_fcgid: error reading data from FastCGI server
vi etc/httpd/conf.d/fcgid.conf
FcgidIOTimeout 600
FcgidBusyTimeout 3600
/etc/init.d/httpd restart
Failed to query Postfix config command to get the current value of parameter virtual_alias_maps:
yum install postfix
service postfix start
magentoo setup: mod_fcgid: read data timeout in 30
Module ‘Magento_ConfigurableSampleData’: Installing data.taking too long.
vi etc/httpd/conf.d/fcgid.conf
FcgidIOTimeout 600
Also increase PHP memory limit 256M abd max_execution_time 600
Failed to create virtual server : No virtual domains file (virtual_alias_maps) was found in your Postfix configuration!
vi /etc/postfix/main.cf
virtual_alias_maps = hash:/etc/postfix/virtual
libpng warning: iCCP: known incorrect sRGB profile, referer
for f in $(find . -type f -name "*.png"); do echo "Processing $f ..."; convert $f -strip $f ; done
cpanel [notice] caught SIGTERM, shutting down issue
If you have many SIGTERM and other services like exim, ftp also reboots without any logical reason, you can try disable cPanel or just cPanel TaskQueue Processing Daemon:
/usr/local/cpanel/etc/init/stopqueueprocd
then some magic:
mv /usr/local/cpanel/libexec/queueprocd /usr/local/cpanel/libexec/queueprocd___
mv /usr/local/cpanel/bin/servers_queue /usr/local/cpanel/bin/servers_queue___
mv /usr/local/cpanel/etc/init /usr/local/cpanel/etc/init___
mv /usr/local/cpanel/src/chkservd/chkserv.d/queueprocd /usr/local/cpanel/src/chkservd/chkserv.d/queueprocd___
then check:
cat /usr/local/apache/logs/error_log | grep shut
remi replace php – centos 6 install php 5.6
yum install epel*
yum update / yum upgrade
CentOS and Red Hat Enterprise Linux 6.x
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm
CentOS and Red Hat Enterprise Linux 7.x
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7*.rpm
yum update / yum upgrade
yum --enablerepo=remi,remi-php56 update
yum --enablerepo=remi,remi-php56 upgrade
php -v
fastcgi vs suphp speed
mod_php CGI suPHP FastCGI
Memory usage Low Low Low High
CPU Usage Low High High Low
Security Low Low High High
Run as file owner No No Yes Yes
Overall Performance Fast Slow Slow Fast
glassfish centos 6
mkdir /usr/java
cd /usr/java
tar -xzf jdk-7u5-linux-i586.tar.gz
vi ‘~/.bash_profile’
export JAVA_HOME=/usr/java/jdk1.7.0_05
export PATH=$JAVA_HOME/bin:$PATH
.bash_profile
echo $JAVA_HOME
cd /opt
wget http://download.java.net/glassfish/3.1.2/release/glassfish-3.1.2.zip
unzip glassfish-3.1.2.zip
groupadd glassfish
useradd -s /bin/bash -g glassfish glassfish
chown -R glassfish: /opt/glassfish3/
passwd glassfish
Create a start/stop/restart script:
vi /etc/init.d/glassfish
#!/usr/bin/env bash
# description: Glassfish start/stop/restart
# processname: glassfish
# chkconfig: 2445 20 80
JAVA_HOME=/usr/java/jdk1.7.0_05
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
GLASSFISH_HOME=/opt/glassfish3/glassfish/
GLASSFISH_USER=glassfish
case $1 in
start)
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin start-domain domain1"
;;
stop)
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin stop-domain domain1"
;;
restart)
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin stop-domain domain1"
su $GLASSFISH_USER -c "$GLASSFISH_HOME/bin/asadmin start-domain domain1"
;;
esac
exit 0
chmod +x /etc/init.d/glassfish
:
chkconfig --add glassfish
chkconfig glassfish on
/etc/init.d/glassfish start/stop/restart
PHP Fatal error: Call-time pass-by-reference
Try PHP 5.3 version
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
ubuntu 14.04 mysql 5.6 install
apt-get install mysql-server-5.6