Tuesday, June 12, 2018

[warn] _default_ VirtualHost overlap on port 443 & port 80, the first has precedence





Virtual hosts overlap on 443/80, the first has precedence


Apache2 LogoToday I got strange error on my AWS production server when I tried to enable SSL on two domains. I'm using Apache/2.2.34 (Unix) version. This has happened in AWS cutomized OS and it has not affect the RHEL or CentOS template on AWS.
The root cuase for the above warning message, it has not enabel the virtual host parameter in both httpd.conf and ssl.conf. Perform the following changes in order to resolve the issue. 
If you look at /etc/httpd/conf/httpd.conf  file, you will see:
Update /etc/httpd/conf.d/ssl.conf as follows to make it work:
Make sure to restart Apache and it will work fine.

Thursday, April 12, 2018

Arch Linux - Warning: /lib/modules/4.10.8-1-ARCH/modules.devname not found - ignoring - Root file system not found

Once I run the update on my Arch linux system it failed to boot up the machine. Below type of similar error I have received.

  Warning: /lib/modules/4.10.8-1-ARCH/modules.devname not found - ignoring
  starting version 232
  Waiting 10 seconds for device /dev/sda11 ...
  ERROR: device '/dev/sda11' not found. Skipping fsck.
  mount: you must specify the filesystem type
  You are now being dropped into an emergency shell. 

I have searched through the internet for solution and best article found to resolve issue. Please refer the below link for resolution.

https://www.soimort.org/notes/170407/