# fail2ban-client reload
2024-12-05 16:11:12,990 fail2ban [3005163]: ERROR NOK: (13, 'Permission denied')
[Errno 13] Permission denied: '/var/www/vhosts/system/example.com/logs/error_log'
# ls -Z /var/www/vhosts/system/example.com/logs/error_log
system_u:object_r:httpd_sys_content_t:s0
/var/www/vhosts/system/example.com/logs/error_log
# egrep "fail2ban-server" /var/log/audit/audit.log | grep denied
type=AVC msg=audit(1733411472.982:1927101): avc: denied { read } for pid=2373127
comm="fail2ban-server" name="error_log" dev="sda1" ino=230808319
scontext=system_u:system_r:fail2ban_t:s0
tcontext=system_u:object_r:httpd_sys_content_t:s0 tclass=file permissive=0
# plesk installer --select-product-id plesk --select-release-current --remove-component
selinux
# plesk installer --select-product-id plesk --select-release-current --install-component
selinux
# ls -Z /var/www/vhosts/system/example.com/logs/error_log
system_u:object_r:httpd_log_t:s0 /var/www/vhosts/system/example.com/logs/error_log
Child process with pid: 3906418 was killed by signal: 15, core dump: 0
[4015974] Reached max children process limit: 10, extra: 3, current: 13, busy: 13, please increase LSAPI_CHILDREN.
[INFO] [3840776] [203.0.113.2:52353] Abort request processing by PID:3849827, kill: 1, begin time: 30, sent time: 30, req processed: 0
[INFO] [3904563] [203.0.113.3:55639] Connection idle time: 121 while in state: 7 stream flag: 131072,close!
...
[INFO] [3904563] [203.0.113.4:55639] Lsapi connection state: 3, watching event: 25, respState: 1, m_iTotalPending:0, m_iPacketLeft:0, m_iCurRespHeader:5, req sent for 121 seconds,Total processing time: 121.
Cannot load /usr/lib/apache2/modules/mod_headers.so into server: /usr/lib/apache2/modules/mod_headers.so: undefined symbol: ap_set_content_type_ex
# yum reinstall httpd
# apt reinstall apache2 apache2-bin apache2-data apache2-utils
3.Start Apache# systemctl start httpd || systemctl start apache2
timeout: fork system call failed: Cannot allocate memory
ERR [extension/wp-toolkit] An error occurred while executing WP-CLI command for instance: WordPress instance #504 ('http://example.com'). timeout: fork system call failed: Cannot allocate memory
ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/filemng' 'johndoe' 'base64' '/var/www/vhosts/example.com/httpdocs/wp-includes/version.php'] with exit code [1]
ERR [panel] '/usr/local/psa/admin/bin/filemng' 'johndoe' 'base64' '/var/www/vhosts/example.com/httpdocs/wp-includes/version.php' failed with code 1.
stdout:
filemng: Error occured during /usr/bin/base64 command: No child processes
System error 10: No child processes
# dig +trace example.com
example.com. 3600 IN NS frank.ns.cloudflare.com.
example.com. 3600 IN NS ingrid.ns.cloudflare.com.
example.com. 300 IN A 188.114.97.12
example.com. 300 IN A 188.114.96.12
console
$ curl "https://api.vultr.com/v2/reserved-ips" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
2.Send a POST request to the Detach Reserved IP endpoint to detach the Reserved IP from the instance.console
$ curl "https://api.vultr.com/v2/reserved-ips/{reserved-ip-id}/detach" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}"
console
$ vultr-cli reserved-ip list
console
$ vultr-cli reserved-ip detach <reserved-ip-id>
terraform
resource "vultr_reserved_ip" "rip" {
region = "ewr"
ip_type = "v4"
label = "web-rip"
# instance_id removed to detach
}