Monthly Archives: February 2018

SMTP Mail protection has been disabled. All users may make smtp connections.

/scripts/smtpmailgidonly on
SMTP Mail protection has been disabled. All users may make smtp connections.
There was a problem setting up iptables. You either have an older kernel or a broken iptables install, or ipt_owner could not be loaded.

cat /proc/net/ip_tables_matches | grep owner
modprobe xt_owner

/scripts/smtpmailgidonly on
SMTP Mail protection has been enabled.
All outbound SMTP connections will be redirected to localhost except:
uid is root (ports: 25,26,465,587)
uid is cpanel (ports: 25,26,465,587)
gid is mail (ports: 25,26,465,587)
gid is mailman (ports: 25,26,465,587)

FAILURE [3; /opt/curlssl/bin/curl] https://server.com/install/index.php?installFixtures=true&_1518181922185 [http code=0; timeout=10]

Installatron error:

FAILURE [3; /opt/curlssl/bin/curl] https://server.com/install/index.php?installFixtures=true&_1518181922185 [http code=0; timeout=10]

You should fine all htaccess and disable them, if they have some server side directives like AddHandler and etc.

If that didn’t work then we’ll try a debug log;

. First, just before you press the [Install] button run these commands:
rm -f /var/installatron/logs/*
echo “debug=yes” >> /usr/local/installatron/etc/settings.ini
. Now press the [Install] button.
. Then when the install process fails immediately remove “debug=yes” from the end of: /usr/local/installatron/etc/settings.ini

That will build a detailed ‘debug_log’. They aren’t always easy to read

composer no output

You can found check problem like this:
curl -s https://getcomposer.org/installer | php — –check
suhosin.executor.include.whitelist = phar

to disable suhosin run:
mkdir /root/bin && curl -sS https://getcomposer.org/installer | php -n — –install-dir=/root/bin
/usr/local/php56/bin/php56 -n /root/bin/composer.phar require league/some_package

lxc-start: lxccontainer.c: wait_on_daemonized_start: 754 Received container state “STOPPING” instead of “RUNNING”

It could be cause by this libvirt error: libvirtd[18329]: Failed to open file ‘/sys/class/net/vethSUT3FA/operstate’: No such file or directory

Fix:
brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.525400a97813 yes virbr0-nic

vim /var/lib/lxc/my_server/config
lxc.network.link = virbr0

lxc-start -n my_server -d

grub2 set default kernel

awk -F\’ /^menuentry/{print\$2} /etc/grub2.cfg

Fedora (4.14.16-300.fc27.x86_64) 27 (Twenty Seven)
Fedora (4.14.14-300.fc27.x86_64) 27 (Twenty Seven)
Fedora (4.12.13-300.fc26.x86_64) 27 (Twenty Seven)
Fedora (0-rescue-fbb0c4896a9c0f680475c0a07edd2c5a) 27 (Twenty Seven)

grub2-set-default 2
cat /boot/grub2/grubenv |grep saved
saved_entry=2

cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg_backup -v
grub2-mkconfig -o /boot/grub2/grub.cfg

Generating grub configuration file …
Found linux image: /boot/vmlinuz-4.14.16-300.fc27.x86_64
Found initrd image: /boot/initramfs-4.14.16-300.fc27.x86_64.img
Found linux image: /boot/vmlinuz-4.14.14-300.fc27.x86_64
Found initrd image: /boot/initramfs-4.14.14-300.fc27.x86_64.img
Found linux image: /boot/vmlinuz-4.12.13-300.fc26.x86_64
Found initrd image: /boot/initramfs-4.12.13-300.fc26.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-fbb0c4896a9c0f680475c0a07edd2c5a
Found initrd image: /boot/initramfs-0-rescue-fbb0c4896a9c0f680475c0a07edd2c5a.img
done