Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys. Have a RHEL server 2.6.18-164.9.1.el5xen that in /etc/sysconfig/network-scripts it has ONBOOT=yes. If I run a constant ping to the server while it's restarting, the interface comes up briefly (assuming when it initially up's eth0), then dies about the time the login prompt appears.
If I do a ifup eth0 that brings it up, but I'm not sure how to tell why the onboot isn't working/staying up.
Any ideas where I should start?
Here's the contents of ifcfg-eth0, with the personal info changed. does ONBOOT need to be higher in the file or something? or is there a command to run to have the system verify it's reading the file correctly?
NM_CONTROLLED=answer
where answer is one of the following:
yes — NetworkManager is permitted to configure this device. This is the default behavior and can be omitted.
no — NetworkManager is not permitted to configure this device.
add the
Code:
NM_CONTROLLED=no
in there. that way even if the network manager is running, it will be ignored for this device.
OK, I won't be able to reboot and test the server for a while, but I will try this next time I get a chance. is there like a chkconfig or something I should also look at to see if network manager runs or not?
rpm -qa | grep NetworkManager or grep -i networkmanager
will give you the installed details of this package. you can then remove it by "rpm -e [package name]". Before removing make sure no other program on your box depends on NM services.
EDIT:
you can check its status by
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.