DDOS attack on WordPress site with “/?s=some-random-text”

One common way in which hackers launch a DDOS on a wordpress site is to set GET requests for a search term “/?s=some-random-text”. Each request is processed by the server by checking in the database and returning a 404 result. Hundreds and thousands of these requests every second overwhelms the server and it is unable to process any requests

Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page

Update: updating WordOps with the command wo update appears to have solved the problem. I did not update further with wo stack upgrade and wo maintenance as things are working OK and I don’t want to risk any incompatibilities arising out of the upgrades. …………………………………………………….. This problem started with the WordOps VPS whenever I uploaded

Read More

ERROR 1118 (42000) at line : Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

While migrating to the new server, I had the problem ERROR 1118 (42000) at line : Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. The work-around solution, according to mariadb.com, is to open the .sql file

Read More

To run Gsutil with Cron, full path is required

When Gsutil is run manually by the shell, the full path is not required. So, the command gsutil rsync /var/www/BACKUP gs://mybucket is sufficient. However, the cron requires the full path. The path can be located with the command gsutil version -l This yields the output root@server:/var/www# gsutil version -l gsutil version: 5.21 checksum: 74f2cab932617e89e1a88b1b346339f7 (OK)

Read More

SendMail: Connection refused by [127.0.0.1]

I followed the procedure to Integrate Amazon SES with Sendmail in Ubuntu as given in the guide. The error log at /var/log/mail.log shows this error: Apr 26 18:57:42 ABC sendmail[21040]: 33QDRMnm021040: to=demo@gmail.com, ct laddr=admin@demo.com (0/0), delay=00:00:20, xdelay=00:00:00, mailer=relay, pri=30060, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] This error was caused by the wrong placement

Read More

AUTH=client, available mechanisms do not fulfill requirements, Deferred: Temporary AUTH failure

I followed the procedure to Integrate Amazon SES with Sendmail in Ubuntu as given in the guide. The error log at /var/log/mail.log shows that “AUTH=client, available mechanisms do not fulfill requirements” and “Temporary AUTH failure“. However, it also showed “Message accepted for delivery“. Apr 26 19:35:46 ABC sm-mta[24892]: 33QE5jZl024892: AUTH=client, available mechanisms do not fulfill

Read More

Wordops

LEMP Script WordOps Guide

wordops is the best automated LEMP script at present. From the POV of ease of installation, it is much better than Centminmod and Easy Engine. The documentation and guides are also excellent. The site is https://wordops.net/ It requires Ubuntu Server 18.04/20.04/22.04 or Debian 10/11. (1) Install wordops wget -qO wo wops.cc && sudo bash wo

Read More