Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Internet access lost after cPanel installation

Comments

73 comments

  • Eminds
    well .. for this issue you will need to contact your server provider, as Cpanel installation does not make any changes to your resolver files and it looks like resolver issues, did you tried with restarting the networking service on the server ?
    0
  • SysSachin
    Hi, Have you installed/enable any firewall on your server ? If yes, then try to disable firewall through IPMI as might be your ISP IP or ports blocked by firewall.
    0
  • alfasoft
    Hello. I followed cpanel pre installation instructions to disable selinux and network manager, and to enable network. I have also stopped iptables and cleared the rules as per the same instructions. Then I installed cPanel, and after installation I rebooted the server. I had not rebooted it in the meanwhile, so I am unsure if the internet problem was caused by those changes. I have seen something strange when I type route -n: Destination | Gateway | Genmask | Flags | Metric | Ref | Use | Iface 169.254.0.0 | 0.0.0.0 | 255.255.0.0 | U | 1002 | 0 | 0 | enp2s0f0 Shouldn't I see my gateway here? I have tried adding it with `route add default gw 172.XXX.194.1 dev enp2s0f0` but I get an error: `SIOCADDRT: Network is unreachable` Any hints? I am able to ping a server that is in the same network (172.XXX.194.17).
    0
  • alfasoft
    Hello again. I have been able to solve the issue (at least apparently) by updating the configuration of my interface in /etc/sysconfig/network-scripts/ifcfg-enp2s0f0 I removed a few lines and added others, based on a configuration sample I found online, so I am unable to find the offending line. Nonetheless, since I made several changes, I am afraid that it might impact cpanel or any of its features. Is there anything I can do to test the server now? Any stress tests, any commands I can run from the terminal to see if services are operating correctly (mail, mysql, http, php and or others) and if the network is how it is supposed to be? Thank you.
    0
  • cPanelMichael
    Nonetheless, since I made several changes, I am afraid that it might impact cpanel or any of its features. Is there anything I can do to test the server now? Any stress tests, any commands I can run from the terminal to see if services are operating correctly (mail, mysql, http, php and or others) and if the network is how it is supposed to be?

    Hello, You can browse to the following option in Web Host Manager see the service status: "WHM Home " Server Status " Service Status" However, since it's a new installation with no accounts, and the previous trouble began when rebooting the system, you'd probably want to issue another reboot to make sure it works successfully this time. Thank you.
    0
  • ivan.g
    I doubt the thread should have been marked as RESOLVED, since no real solution is posted. I had the same issue, where fully working networking was lost after rebooting the server (to enable filesystem quotas). The solution to resolve it (CentOS 7) was (as advised by cPanel support): ==================================================== I had a second look at your network configuration, and noticed that your IPADDR, GATEWAY, and PREFIX had a '0' suffix. Under NetworkManager and Networking, this should not be the case. Please try the following steps: 1) Modify ifcfg-eth0's script file to remove the '0' suffix from those 3 lines. 2) After saving the file, restart "network" with "systemctl restart network" 3) Restart ipaliases with /scripts/restartsrv_ipaliases ===================================================== This solution resolved my problem, hopefully it could help somebody else.
    0
  • Benito
    Hello! I got exactly the same problem today. A brand new VPS with fresh CENTOS 8. Installed cPanel and lost connection with server after first boot. Ivan's fix works but after the next rebooth the 0's come back again. Im trying to figure how to permanent fix it.
    0
  • cPRex Jurassic Moderator
    @benito - it's unlikely to be the same issues as previously mentioned in this thread since the operating systems are different now. It would be best to speak with your hosting provider to determine what configuration changes are happening. We do mention this in our installation guide: "On systems that run CentOS 8, the cPanel & WHM installer will automatically disable the Network Manager service and enable the network.service service."
    0
  • Benito
    Hello! This server it's on Linode. I have to disable their "auto network configuration" feature who was rewriting the zeros in ifcfg-eth0 file on every reboot. Now the problem it's fixed. Thanks
    0
  • cPRex Jurassic Moderator
    Interesting - my personal server is in Linode and I don't recall having to perform that work on my end during my initial set up, although it's possible things could have changed and I only have one IP address on my machine.
    0
  • Benito
    Interesting - my personal server is in Linode and I don't recall having to perform that work on my end during my initial set up, although it's possible things could have changed and I only have one IP address on my machine.

    Yes, me too! Got several server before and no problem at all. This is the first time I see this option. Single IP too.
    0
  • 000
    I have SAME problem with my new server. I install more of 5 times CentOs 8 and ALWAYS after of install cPanel the server is unreachable: no putty, no http, ANY. I need intervention from DC for turn ON the server. One and other time I reinstall server changing hostname, etc... In installation number SIX I change to CentOs 7 and ALL RUN FINE, (I can connect to server after of restart). Then: where is the BUG ? in current cPanel or in CentOs 8? But most important: how fixed that? Yet I need install CentOs 8 !!!! Thanks
    0
  • cPRex Jurassic Moderator
    @benito - are you saying you need to turn that option off in order for things to work well? @000 - are those machines with issues also in a Linode environment?
    0
  • 000
    master @cPRex my server is with OTHER ISP. Please URGENT: instructions to install CentOs 8 + cPanel without LOST connection when we restart.
    0
  • cPRex Jurassic Moderator
    I don't have any specific instructions outside of what has been outlined in our installation procedures. You may need to work with that specific provider to see what is being disabled, or submit a ticket to our team so we can check the server.
    0
  • 000
    I don't have any specific instructions outside of what has been outlined in our installation procedures. You may need to work with that specific provider to see what is being disabled, or submit a ticket to our team so we can check the server.

    Thanks master, from
    0
  • cPRex Jurassic Moderator
    Just below that box on the same documentation page it says this: "On systems that run CentOS 8 or AlmaLinux 8, the cPanel & WHM installer will automatically disable the Network Manager service and enable the network.service service." so you do not need to perform any additional work in CentOS 8.
    0
  • 000
    ...you do not need to perform any additional work in CentOS 8.

    Master @cPRex really one and other and other time we lost the NetWork in our server AFTER of install cPanel, please see: New Thread - after of install cPanel my CentOs don't have /etc/sysconfig/network-scripts/ifcfg-eth0 is dangerous? this is VERY confuse to us. Again: unique "help" from DC/ISP is reinstall template of OS, they "not exists".
    0
  • cPRex Jurassic Moderator
    If the issue is happening repeatedly only after the cPanel installation, we'd likely need a ticket to investigate that. I haven't got to the new threads yet today, but if it's the same issue it might be best to just remove the new thread to avoid confusion.
    0
  • 000
    ... if it's the same issue it might be best to just remove the new thread to avoid confusion.

    this old topic is from 2016, the topic 2021 - after of install cPanel network = OFF is about cPanel v96.0.9 ( year 2021 )
    0
  • 000
    ...we'd likely need a ticket to investigate that.

    Master please check 94335417
    0
  • cPRex Jurassic Moderator
    Both the tickets I see right now are talking about license issues. If you reply to either one of those with the installation problem we can start working on that.
    0
  • 000
    Master I reply in ticket 94335417 with description
    0
  • cPRex Jurassic Moderator
    Thanks for that - I'm following along with that ticket now and have made sure it got moved over from Customer Service to our Technical Support team.
    0
  • 000
    oh god... Ticket #94335417 DELETED !!! when I try create NEW ticket: system DISABLED !!!! Please Master cPRex say to us how fixed problem about cPanel v96.0.9 + CentOs 8
    0
  • cPRex Jurassic Moderator
    There isn't a way to delete tickets in our system. I see that Aaron just replied to it a few minutes ago.
    0
  • 000
    There isn't a way to delete tickets in our system. I see that Aaron just replied to it a few minutes ago.

    your system or my PC is hacked??? see please result when I try open:
    0
  • cPRex Jurassic Moderator
    Neither system is hacked. Please start fresh from tickets.cpanel.net to re-access the ticket and it will be in your list.
    0
  • 000
    Neither system is hacked. Please start fresh from tickets.cpanel.net to re-access the ticket and it will be in your list.

    Many thanks by your time. I do click in [F5]: then I click over #94335417 and result is the same: and finally the same result:
    0
  • cPRex Jurassic Moderator
    I know there have been some issues with the ticket system log in today. Can you try logging out and logging back in to ensure you get a new session?
    0

Please sign in to leave a comment.