error

nginx 502 Bad Gateway

  • by

1.0 502 Bad Gateway

nginx 502 Bad Gateway

After the update of Linux on the web server, the website would not open in the browser. Instead the following error was displayed.

502 Bad Gateway
nginx/1.14.0

2.0 Solution

First we check the nginx server.

$ systemctl status nginx
● nginx.service
Read more

MCE hardware error cpu 0

  • by

1.0 Error

Error

While running Ubuntu 18.04.1 on a laptop, the following errors were observed.

mce: hardware error cpu 0 machine check 0 bank 6 ae0000000040110a
mce: hardware error tsc 0 addr ffb07540 misc 238a0000086
mce: hardware error processor 0:40651 time 1540082330 socket 0 Apic 0 microcode 24
ipmi dmi invalid offset 0

The system would stop in the single user mode.… Read more

Failed to fetch webpage, temporary failure resolving domain

  • by

1.0 Error

While configuring a Linux server, the error Failed to fetch webpage, temporary failure resolving domain was observed.

$ sudo apt-get update
Err:1 ... bionic InRelease
  Temporary failure resolving ...
Err:2 ... bionic-updates InRelease
  Temporary failure resolving ...
...
Reading package lists...
Read more

Composer Manager: Composer’s install command must be run

  • by

1.0 Error

After updating the Drupal 7 version in a website, the following error was observed in the configuration of the Composer Manager module.

Composer Manager: Composer's install command must be run to generate the autoloader and install the required packages.
Read more

Error while executing the dig command

  • by

1.0 Error

While executing the dig command, the sendmsg() failed: Operation not permitted error was printed.

$ dig example.com
../../../../lib/isc/unix/net.c:581: sendmsg() failed: Operation not permitted
../../../../lib/isc/unix/net.c:581: sendmsg() failed: Operation not permitted
...

2.0 Solution

The error was resolved after adding the following iptables rules.… Read more

nginx drupal sitemap 404 not found

  • by

1.0 Error

While trying to open sitemap.xml of a site served by nginx and built using Drupal CMS, the 404 Not Found error was received. The nginx log file, error.log gave the error as, 80 open() sitemap.xml failed (2: No such file or directory).… Read more