After first reboot I have no access in the server
Hi
I Just installed cPanel in a Centos 7.5 VM Server. When I installed centos 7.5 I set up the public IP, Netmask, gateway everything. Ones the OS installed in the VM I remotely SSH to the public IP and installed cpanel on it, That time everything was working fine. So when the cpanel installation done I login to the WHM panel and set up some basic settings that Security advisor recommend me like Enable Jailed Apache, restricted Outbound SMTP connections, install ClamAV and then I reboot the server. That's it, After that there is no Access to the server and I can't ping the server.
then I log in to Vmware Console for that server and try to ping google, it's not working either. I try to restart the network with
and this gives me following Error:
then i did
and found the following error:
Then I search google and try many things, none of it working for me, which include disabling dhclient, add BOOTPROTO=none to BOOTPROTO=static etc. Nothing working for me! So I got disappointed and delete that VM from VMware ESXi and install again everything the OS the cpanel everything! And guess what the Same thing happening again the exact same thing. Can anybody tell me what I am doing wrong? FYI in this ESXi I already have other VM with Cpanel installed and those are working just fine. So it's not a Vmware issue I guess.
systemctl restart networkand this gives me following Error:
job for network.service failed because the control process exited with error code. see "systemctl status networking.service" and "journalctl -xe" for detailsthen i did
systemctl status networking.serviceand found the following error:
failed to start lsb bring up/down networkingThen I search google and try many things, none of it working for me, which include disabling dhclient, add BOOTPROTO=none to BOOTPROTO=static etc. Nothing working for me! So I got disappointed and delete that VM from VMware ESXi and install again everything the OS the cpanel everything! And guess what the Same thing happening again the exact same thing. Can anybody tell me what I am doing wrong? FYI in this ESXi I already have other VM with Cpanel installed and those are working just fine. So it's not a Vmware issue I guess.
-
run journalctl -xe what does it say when it fails did you disable network manager ? My suggestion would be to either copy the network scripts for the virtual nics from from the working cpanel servers or just make the eth?? devices with the most minimum info like below of course replacing x's with your info and restarting your network DEVICE=ethX BOOTPROTO=static ONBOOT=yes IPADDR=XXX.XXX.XXX.XX NETMASK=XXX.XXX.XXX.X GATEWAY=XXX.XXX.XXX.1 0 -
Hi @bdariyes I would definitely go with the advice noted above and should that not provide any solutions - but ultimately this does sound like a networking issue and would be best handled by a qualified system administrator. If you don't have one you might find one here: System Administration Services | cPanel Forums Thanks! 0
Please sign in to leave a comment.
Comments
2 comments