Certbot renew error: Missing webroot

If you get this error messsage while trying to renew the certs: – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Processing /etc/letsencrypt/renewal/www.website.com.conf – […]

PHP Curl slow with HTTPS SSL requests

A possible solution is to force IPv4 resolving: curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); And also disable SSL verifications: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); If the error persists, Curl is not the problem. Probably there is a network issue.

mv: Directory not empty

If you get this error when using mv command: mv: cannot move ‘./source’ to ‘./destination’: Directory not emptymv: cannot move ‘./source’ to ‘./destination’: Directory not empty Then you can fix it by using cp with -r switch, i.e: cp -R /source/* /destination/cp -R /source/* /destination/

Detect a failing hard-disk on a Linux server

When there is an hard-disk failing issue generally the file system will be read-only. You would get errors like these: rm: cannot remove ‘error.log’: Read-only file system cannot create temp file for here-document: Read-only file system -bash: df: command not foundrm: cannot remove ‘error.log’: Read-only file system cannot create temp file for here-document: Read-only file […]

Certbot.errors.CertStorageError: expected to be a symlink

Example certbot error message: certbot.errors.CertStorageError: expected /etc/letsencrypt/live/www.website.com/cert.pem to be a symlink Renewal configuration file /etc/letsencrypt/renewal/www.website.com.conf is broken. Skipping.certbot.errors.CertStorageError: expected /etc/letsencrypt/live/www.website.com/cert.pem to be a symlink Renewal configuration file /etc/letsencrypt/renewal/www.website.com.conf is broken. Skipping. Solution is to re-create the symlinks for all .pem files: rm -f /etc/letsencrypt/live/www.website.com/*.pem ln -s /etc/letsencrypt/archive/www.website.com/cert1.pem /etc/letsencrypt/live/www.website.com/cert.pem ln -s /etc/letsencrypt/archive/www.website.com/chain1.pem /etc/letsencrypt/live/www.website.com/chain.pem ln -s /etc/letsencrypt/archive/www.website.com/fullchain1.pem […]

Example hard-disk error logs on a Linux server

Here is an example of logs related to a failing hard-disk: root@server:~# cat /var/log/syslog   Dec 3 02:35:54 server kernel: [6703851.044036] sd 0:2:0:0: [sda] tag#18 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK Dec 3 02:35:54 server kernel: [6703851.044065] sd 0:2:0:0: [sda] tag#18 CDB: Write(10) 2a 00 31 20 31 00 00 01 00 00 Dec 3 02:35:54 server […]

Certbot renew error: Account at does not exist.

If you get this certbot error: – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Processing /etc/letsencrypt/renewal/www.website.com.conf – – – – – – – […]

Compress Word, Excel and PowerPoint Office Documents

Do you have a Microsoft Word file with large images that can’t be sent via email because its file is too big? You can compress Word files with a new online file compression service that is 100% free and very easy to use! It supports compression of Microsft Word (.doc, .docx), Excel (.xls, .xlsx), PowerPoint […]

Download OpenVPN 2.4.7 and TAP-Windows

From here you can download latest OpenVPN version: https://openvpn.net/community-downloads/ And from here you can download all latest stable versions: https://build.openvpn.net/downloads/releases/latest/ It includes also TAP-Windows versions.