Page 1 of 1
Nagios 6.6
Posted: Mon May 06, 2019 1:09 pm
by lance.peterson
After trying upgrading to 6.6 after reboot it has an IP, shown on console, so no remote access. When booted up is says it is not 6.6 Final. From console, I am unable to run nmtui command. Says command not found. How do I salvage this server?
Re: Nagios 6.6
Posted: Mon May 06, 2019 2:56 pm
by npolovenko
Hello,
@lance.peterson. You can see the list of network interfaces using this command:
ip addr
Then you can edit the specific network interface settings without nmtui. You'll need to manually modify the corresponding interface config file located in:
/etc/sysconfig/network-scripts/
After you are done modifying the config, restart the network service with:
service network restart
Is the main issue that XI has overridden a custom static IP config that you set up? Or the IP address fails to get automatically assigned with DHCP?
Re: Nagios 6.6
Posted: Mon May 06, 2019 3:09 pm
by lance.peterson
If I enter "vi /etc/sysconfig/network-scripts/eth0" which is what it shows in the following screenshot that my adapter is it creates a new file, not a config file.
I had a static IP assigned. now at the top of the console I have nothing.
Re: Nagios 6.6
Posted: Mon May 06, 2019 5:00 pm
by npolovenko
@lance.peterson, Can you upload the /etc/sysconfig/network-scripts/ifcfg-eth1 file in this thread? Also, please run:
ls -l /etc/sysconfig/network-scripts/
And show me the output.
Re: Nagios 6.6
Posted: Tue May 07, 2019 9:04 am
by lance.peterson
See attachment
Re: Nagios 6.6
Posted: Tue May 07, 2019 4:34 pm
by npolovenko
@lance.peterson, What's the output of:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
If nagios overrode this config from static to DHCP, use this tutorial to set it to static again:
http://www.mustbegeek.com/configure-sta ... in-centos/
Then run:
service network restart