Its means you out of disk space, so df -h
Than delete some old logs:
find /var -type f -print0 | xargs -0 du -s | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
Monthly Archives: March 2019
csf enable port
vi /etc/csf/csf.conf
check TCP_IN and TCP_OUT port list and restart csf -r
csf whitelist ip command line
csf -a IP
csf -a IP/24
directadmin panel force ssl
directadmin ssl_port
ssl_cipher=HIGH:!aNULL:!MD5
ssl_port=XXXX
XXXX your port number
*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny
*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny
Centos:
yum install perl-libwww-perl net-tools perl-LWP-Protocol-https
Debian/Ubuntu:
apt-get install libwww-perl
sni for exim directadmin
It should fix Outlook errors like Cannot verify Security Certificate or Internet security warning
Common name: localhost issue
cd /usr/local/directadmin
echo mail_sni=1 >> conf/directadmin.conf
service directadmin restart
cd custombuild
./build update
./build set eximconf yes
./build set eximconf_release 4.5
./build set dovecot_conf yes
./build exim_conf
./build dovecot_conf
Too many open files in system openvz
id: cannot find name for user ID 0
-bash: cannot make pipe for command substitution: Too many open files in system
-bash: /etc/profile.d/less.sh: Too many open files in system
-bash: /etc/profile.d/mc.sh: Too many open files in system
-bash: /etc/profile.d/vim.sh: Too many open files in system
-bash: /etc/profile.d/which-2.sh: Too many open files in system
-bash: /root/.bash_profile: Too many open files in system
-bash-3.2# logout
-bash: /root/.bash_logout: Too many open files in system
-bash: /etc/bash.bash_logout: Too many open files in system
exited from CT XXXX
Fast fix:
vzctl restart XXXX
cpanel list account and domain
cat /etc/trueuserdomains | awk '{ print $2" "$1}' | sed 's/://'
Checking C compiler….Could not locate an executable “gcc” binary….Done ** Unrecoverable Error ** The C compiler is not functional and auto repair failed. Perl module installs require a working C compiler.
Checking C compiler….Could not locate an executable “gcc” binary….Done ** Unrecoverable Error ** The C compiler is not functional and auto repair failed. Perl module installs require a working C compiler
You should find Compiler Access in WHM and enable it for some users.
kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=255)
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=255)
journalctl -u kubelet
kubelet[25843]: F0310 21:08:58.395379 25843 server.go:189] failed to load Kubelet config file /var/lib/kubelet/config.yaml, error
kubelet.service: main process exited, code=exited, status=255/n/a
Fix:
kubeadm init
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using ‘kubeadm config images pull’
[kubelet-start] Writing kubelet environment file with flags to file “/var/lib/kubelet/kubeadm-flags.env”
[kubelet-start] Writing kubelet configuration to file “/var/lib/kubelet/config.yaml”
[kubelet-start] Activating the kubelet service
[certs] Using certificateDir folder “/etc/kubernetes/pki”
[certs] Generating “etcd/ca” certificate and key
[certs] Generating “etcd/server” certificate and key
…
[ERROR FileContent–proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1
vi /etc/sysctl.conf
net.bridge.bridge-nf-call-iptables = 1
sysctl -p
than
kubeadm init
kubeadm [ERROR Swap]: running with swap on is not supported. Please disable swap
swapoff -a
Remove swap from /etc/fstab
squid additional port
vi /etc/squid/squid.conf
http_port 1111
service squid restart
directadmin relay mail exim.routers.pre.conf
vi /etc/exim.routers.pre.conf
smart_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = “${perl{check_limits}}”
transport = remote_smtp
route_list = * another.smtp.server
no_more
service exim restart
[access_compat:error] [pid 28167:tid 140515211155200] [client xx.xx.xx.xx:37918] AH01797: client denied by server configuration: /var/www/html/
Forbidden You don’t have permission to access / on this server
You should check directory permissions: namei -l /var/www/html/, if permissions are fine you need check virtual host configuration if there are no such options like ‘Deny from all’, if virtual host fine, you need search for .htaccess like this: find / -type f -name .htaccess