LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-20-2013, 05:44 AM   #1
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 21

Rep: Reputation: 0
unable to install ipwatchd on centos 5.8


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
 
Old 02-20-2013, 10:35 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Find out where it resides by checking if it's part of the package:
Code:
rpm -ql $(rpm -qf /etc/init.d/ipwatchd)|grep vars.sh
 
Old 02-20-2013, 11:39 PM   #3
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 21

Original Poster
Rep: Reputation: 0
Their is no o/p for the command, you mentioned.

[oracle@orahostfzr ~]$ rpm -ql $(rpm -qf /etc/init.d/ipwatchd)|grep vars.sh
[oracle@orahostfzr ~]$

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.
 
Old 02-21-2013, 06:43 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by nileshkumar View Post
Their is no o/p for the command, you mentioned.
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 View Post
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.
 
Old 02-21-2013, 11:12 PM   #5
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 21

Original Poster
Rep: Reputation: 0
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.
 
Old 02-22-2013, 05:55 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by nileshkumar View Post
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 View Post
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 View Post
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.
 
  


Reply

Tags
centos



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install CentOS 6.3 using LiveDVD linux_walker Linux - Newbie 17 02-19-2013 01:31 PM
[SOLVED] Unable to install CentOS 6.2 in Text mode rohitkanojia Linux - Newbie 2 05-13-2012 12:55 AM
Unable to Install LibreOffice in CentOs 6.2 gemmajid Linux - Newbie 6 04-02-2012 10:04 PM
Unable to install Memcached with PHP 5.2 on CentOS samarudge Linux - Server 1 11-19-2010 12:43 PM
Unable to install linux kernel 2.6.23.1 on CentOS 4 gdkool Linux - General 7 11-12-2007 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration