Skip to main content

Server forgets it is running IPv6

Comments

19 comments

  • SimpleSonic
    Prior to when the issue occurs, has the server been rebooted?
    0
  • karlemilnikka
    Prior to when the issue occurs, has the server been rebooted?

    Thanks for the reply. I reboot the server once or twice per month. I haven"t found any relations between the uptime and the issue. It is neither related to live-patching of the kernel.
    0
  • SimpleSonic
    Thanks for the reply. I reboot the server once or twice per month. I haven"t found any relations between the uptime and the issue. It is neither related to live-patching of the kernel.

    The reason I asked is, I've seen instances when the IPv6 range wasn't manually configured for the network adapter, after every reboot the configuration would be lost. So that may be something to look into if your IPv6 range(s) are not currently manually set.
    0
  • karlemilnikka
    The reason I asked is, I've seen instances when the IPv6 range wasn't manually configured for the network adapter, after every reboot the configuration would be lost. So that may be something to look into if your IPv6 range(s) are not currently manually set.

    Thanks. My situation is actually the opposite. Rebooting the server fixes the issue (temporarily)!
    0
  • SimpleSonic
    Thanks. My situation is actually the opposite. Rebooting the server fixes the issue (temporarily)!

    Ok, that's weird!
    0
  • vanessa
    I used to see this issue back in the day - when iPv6 stops working does this command resolve it? /scripts/restartsrv_cpipv6 Also perhaps check for any disruptions in /var/log/messages pertaining to network or ipv6, also check dmesd (before reboot)
    0
  • karlemilnikka
    I used to see this issue back in the day - when iPv6 stops working does this command resolve it? /scripts/restartsrv_cpipv6 Also perhaps check for any disruptions in /var/log/messages pertaining to network or ipv6, also check dmesd (before reboot)

    Thanks for the reply and for letting me know that I"m not the only one who"ve run into this issue. I haven"t found any disruptions in the logs. I can however confirm that running /scripts/restartsrv_cpipv6 solves this issue. Thank you very much. Now, I can at least automate the restarts while trying to find the cause.
    0
  • cPRex Jurassic Moderator
    I can't say that there's anything on the cPanel side that I've heard of that would cause this type of disruption.
    0
  • karlemilnikka
    I used to see this issue back in the day - when iPv6 stops working does this command resolve it? /scripts/restartsrv_cpipv6 Also perhaps check for any disruptions in /var/log/messages pertaining to network or ipv6, also check dmesd (before reboot)

    When you ran into this issue, do your remember if you ran Litespeed and/or Imunify360 on your server?
    0
  • vanessa
    [QUOTE] When you ran into this issue, do your remember if you ran Litespeed and/or Imunify360 on your server?
    No, it ran neither
    0
  • karlemilnikka
    No, it ran neither

    Thanks for the reply.
    0
  • vanessa
    When this happens, are your ipv6 addresses still bound to the server? You mentioned they don't show up in /proc/net/if_inet6., but if you run "ip a" do they show up there?
    0
  • karlemilnikka
    When this happens, are your ipv6 addresses still bound to the server? You mentioned they don't show up in /proc/net/if_inet6., but if you run "ip a" do they show up there?

    Good question. I"ll check that the next time it happens.
    0
  • vanessa
    I'm not aware of anything in cPanel that would cause this, but a few things to try: - Disable imunify temporarily just to rule it out as an issue - Check any iptables-based firewalls that might be blocking ipv6 - Check sysctl.conf for any entries related to ipv6 being disabled - Are the IPs statically assigned to the server? If you're relying on DHCP to assign these IPs to the server itself, maybe DHCP is the issue?
    0
  • karlemilnikka
    I'm not aware of anything in cPanel that would cause this, but a few things to try: - Disable imunify temporarily just to rule it out as an issue - Check any iptables-based firewalls that might be blocking ipv6 - Check sysctl.conf for any entries related to ipv6 being disabled - Are the IPs statically assigned to the server? If you're relying on DHCP to assign these IPs to the server itself, maybe DHCP is the issue?

    Thanks! I"ll do that one by one!
    0
  • karlemilnikka
    A week ago, I found what could be a syntax error in my 99-disable-network-config.cfg file. I corrected it to the following, and so far, I haven"t lost my IPv6 support. network: {config: disabled} If you don"t see any more updates from me in this thread, this was the solution.
    0
  • cPRex Jurassic Moderator
    I'm glad you found something!
    0
  • karlemilnikka
    A week ago, I found what could be a syntax error in my 99-disable-network-config.cfg file. I corrected it to the following, and so far, I haven"t lost my IPv6 support. network: {config: disabled} If you don"t see any more updates from me in this thread, this was the solution.

    The server has now run for a month without issues. My syntax error was the cause of the issue.
    0
  • vanessa
    Thank you for coming back and providing the solution!
    0

Please sign in to leave a comment.