Re: [CentOS] Apache (httpd) fails to start at boot - Centos 8.1

2020-06-15 Thread Alan McRae via CentOS
I have always had exactly the same problem. I had to write a script and run it at boot time: sleep 10 /usr/bin/systemctl start httpd Must be some timing problem with the interface addresses not being set up in time. Alan On 16/06/2020 14:06, Jay Hart wrote: If I do 'systemctl start httpd',

Re: [CentOS] Apache (httpd) fails to start at boot - Centos 8.1

2020-06-16 Thread Alan McRae via CentOS
Thank you Gordon. That works for me. 8.2 needs the same fix. Alan On 16/06/2020 16:21, Gordon Messmer wrote: On 6/15/20 7:06 PM, Jay Hart wrote: If I do 'systemctl start httpd', apache will start right up.  But during boot, it doesn't and I get the resulting errors below. Jun 15 21:17:28 dre

[CentOS] 8.2.2004 Latest yum update renders machine unbootable

2020-07-31 Thread Alan McRae via CentOS
I am running an Intel x64 machine using UEFI to boot an SSD. Installing the latest yum update which includes grub2 and kernel 4.18.0-193.14.2.el8_2.x86_64 renders the machine unbootable, blank screen where grub should be, no error messages, just hangs. After some hours I managed to modify ano

[CentOS] 8.2.2004 Quick recovery and fix for unbootable machines

2020-08-01 Thread Alan McRae via CentOS
This is a quick recovery and fix for the machines rendered unbootable after the grub2/shim yum update. It is written for CentOS 8.2.2004 but similar should work for any CentOS 8 or 7 as long as you get the correct shim file, that is, the one from the latest installation media. I am running on

[CentOS] Upgrade to 8.4 .2105 Problems

2021-06-04 Thread Alan McRae via CentOS
The yum upgrade from 8.3 to 8.4 on my main machine  looked as if it was working fine so I went to have a coffee. When I came back the screens were blank so I don't know what happened. On rebooting the screens are still blank. I have two graphics cards running three displays. I have a "rescue

Re: [CentOS] Upgrade to 8.4 .2105 Problems

2021-06-04 Thread Alan McRae via CentOS
What could cause 'yum upgrade' to say 'Nothing to do' and not install the latest 305 kernel? Alan -- Alan McRae On 05/06/2021 15:30, Alan McRae via CentOS wrote: The yum upgrade from 8.3 to 8.4 on my main machine  looked as if it was working fine so I went to have a coffee.

Re: [CentOS] Upgrade to 8.4 .2105 Problems

2021-06-05 Thread Alan McRae via CentOS
have them all. Alan -- Alan McRae On 05/06/2021 21:32, Simon Matter wrote: On Sat, Jun 05, 2021 at 04:32:30PM +1200, Alan McRae via CentOS wrote: I noticed in journalctl that gnome-shell was core dumping. yum reinstall gnome-shell fixed my displays problem. So I am back to my first premise

Re: [CentOS] CentOS 8: two external network adapters, two ISPs - routing problems

2021-08-02 Thread Alan McRae via CentOS
You need to SNAT the outbound traffic on eth0 and eth2 to use the interface address that the packets leave from. On 31/07/2021 02:27, Konstantin Boyandin via CentOS wrote: Hello! Given: a CentOS 8-powered computer with three network adapters. eth0, eth2: external, connected to two different I

Re: [CentOS] qeum on centos 8 with nvme disk

2019-10-12 Thread Alan McRae via CentOS
I have CentOS 8 install solely on one nvme drive and it works fine and relatively quickly. /dev/nvme0n1p4  218G   50G  168G  23% / /dev/nvme0n1p2  2.0G  235M  1.6G  13% /boot /dev/nvme0n1p1  200M  6.8M  194M   4% /boot/efi You might want to partition the device (p3 is sw

Re: [CentOS] CentO 8 and nftables default policy

2020-04-18 Thread Alan McRae via CentOS
I had the same problem. If you are not using virtual machines then # systemctl disable libvirtd works and is easily reversible. Alan On 18/04/2020 23:03, Alessandro Baggi wrote: Il 17/04/20 11:01, Alessandro Baggi ha scritto: Hi list, I'm studying nftables. I'm using CentOS 8.1 (Gnome)

Re: [CentOS] Diagnosing IPv6 routing

2020-04-28 Thread Alan McRae via CentOS
I struggled with this under CentOS 7. I think there is a bug. You can run /usr/sbin/radvdump to print out RAs. Leave it running for some minutes. I had this in my /etc/sysctl.d/50-net6.conf (on C7): # # IPv6 Forwarding # net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.default.forwarding = 1 ne