Tag: centos
-
DirectAdmin x509: certificate has expired
License check failure See the Debug GuideReason: request failed: Post “https://licensing.directadmin.com/start”: x509: certificate has expired or is not yet valid: current time 2022-10-26T11:51:22+03:00 is after 2021-09-30T14:01:15Z The issue is likely due to server CA root certificates being too old. If you are using Centos 7 which is still supported – you should still be able…
-
Openvpn centos 6.4 x64 with certificates
Renewed POST with new info, as openvpn package changed, not everything in old tutorial is true now :) This tutorial is based by old one Default centos repositoryt doesn’t have openvpn package, so lets add epel repository first. I downloaded it from this mirror here. yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm (link may be different depending on latest…
-
bandwidth monitoring script for nagios (CentOS) – bw_watch.sh
Bash script for nagios, that monitors bandwidth usage on remote host. # usage ./bw_watch bw_warning bw_critical pkt_warning pkt_critical It takes momentary 5 secs average bandwidth from “vnstat”, and returns value for nagios. bc and vnstat packages at host side are necessary. bc package should be in default centos repository, vnstat and nrpe You can find…
-
[warn] [client 123.123.123.123] mod_fcgid: stderr: PHP Warning: POST Content-Length of 12430806 bytes exceeds the limit of 10485760 bytes in Unknown on line 0, referer: http://www.yoursite.tld/index.php?phpparams
You can get this error if You are uploading file via post parameters, and it’s bigger than allowed size. [warn] [client 123.123.123.123] mod_fcgid: stderr: PHP Warning: POST Content-Length of 12430806 bytes exceeds the limit of 10485760 bytes in Unknown on line 0, referer: http://www.yoursite.tld/index.php?phpparams In php.ini file You should set bigger limits. post_max_size = 32M…
-
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory
If You got messed up with PHP in CentOS with plesk 10.4, You might get such error: # httpd -t Syntax error on line 65 of /var/www/vhosts/domain.tld/conf/13353493930.96968200_httpd.include: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory Small fix to make it work:
-
Centos wordpress php-fpm + nginx + apc
If you tired of having same old apache, and want something more fast and reliable, you can install nginx + php-fpm. Firstly you need to install new repo, to have ability to add those packages. And php-fpm works out of the box (without need to patch PHP) with version PHP 5.3. Official repository does not…