IP get remove after server reboot

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
368
Location
Malaysia
Hi,

I have add a fews IPs inside DA.

Once server restarted all my IPs is disappered in "ifconfig" but still remain in DA IP Admin.

I'm running CentOS 4.1 (2.6.11.12)
 
Hello,

Try running:

service startips start

If that works, then either the startips command is not being called after the bootup, or the "service network restart" is being called *after* startips starts up. If this is the case, then change the startips script (/etc/init.d/startips), 3rd line:

# chkconfig: 2345 11 50

to

# chkconfig: 2345 86 50

Then type:

/sbin/chkconfig startips reset

John
 
in one of our servers, even I have changed as above, after rebooting, the addon IPs are disappeared. Is there any idea?
the box is running CentOS 4.1

thanks
 
What happens when you run the startips script the way John suggested? What happens when you run it manually (it's in the /usr/local/directadmin/scripts/ subdirectory)?

Jeff
 
John's response was for running startips automatically on RH based distributions. What distribution do you run?

You can probably add the startips script path to whatever method your server uses for startup scripts.

Jeff
 
posted above: the box is running CentOS :) but the tip doesnt do its job :( I might need to edit manually now

thanks
 
Hello,

You may install the wrong distribution. I have license CentOS 3.x but my actual OS is CentOS 4.x.

After I change the license to CentOS4.x and reinstall my server OS, everything back to normal.

Before I reload my server, i add this line to my /etc/rc.local

Code:
/etc/rc.d/init.d/startips
 
Danny's suggestion will work. But so does mine; I tested it yesterday and it does work on CentOS machines, if they're set up with the right license originally.

Can you tell us the response to this command:

# ls -al /etc/rc.d/rc3.d/S*startips

???

Jeff
 
Back
Top