Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 all,
I am using Centos 5.8. And the problem is if any other (Win/ Linux) is giving the same static IP given to this system, they are not getting any conflict msg, and i found a package IPwatchD which does this same thing. But i am not able to install IPwatchD package on my Centos 5.8 system.
The problem is, though i completed the installation procedure without any problem, but when running the service i am getting the error as here
[oracle@orahostfzr ~]$ sudo /etc/init.d/ipwatchd start
/etc/init.d/ipwatchd: line 34: /lib/init/vars.sh: No such file or directory
So if any one has the solution for this error, or a any other package which can give notification on second PC who are trying to use IP assigned to this PC.
Thanks for the help
Then either my RPM/grep-fu sucks or the file was never included. Assert the latter as apparently /lib/init/vars.sh is a Debian thing. So just comment that line out in your init script and move on.
Quote:
Originally Posted by nileshkumar
Also, i have gone through the Quick start page http://ipwatchd.sourceforge.net/quick_start, and after giving command /usr/sbin/ipwatchd -c /etc/ipwatchd.conf the service has started, but i am still not getting any conflict msg on other PCs.
That's a whole different question and we don't know what /etc/ipwatchd.conf contains and if there actually were any conflicts in the time frame you ran ipwatchd.
first , /lib/init/vars.sh is not an IPwatchD file, and so it might have not been listed. second, i have tried commenting out this line, but then after, if i restart the application, i am getting other errors. so i gues from the docs of IPwatchD,
/usr/sbin/ipwatchd -c /etc/ipwatchd.conf
is the right way to start the application, only thing is why am i not getting the conflict messages, have any body used the packages, and can you pl comment how it works.
first , /lib/init/vars.sh is not an IPwatchD file, and so it might have not been listed.
As I already said the file was never included because it only applies to Debian.
Quote:
Originally Posted by nileshkumar
second, i have tried commenting out this line, but then after, if i restart the application, i am getting other errors.
Saying "other errors" doesn't make sense, posting them does.
Quote:
Originally Posted by nileshkumar
why am i not getting the conflict messages,
If you don't post your /etc/ipwatchd.conf we don't know how you run it and if you don't have anything on the side to verify (Arphound, Arpwatch) you don't know if there actually were any conflicts when you ran ipwatchd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.