LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 06:44 AM   #1
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 18

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, 11:35 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,675
Blog Entries: 54

Rep: Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954
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-21-2013, 12:39 AM   #3
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 18

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, 07:43 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,675
Blog Entries: 54

Rep: Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954
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-22-2013, 12:12 AM   #5
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 18

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, 06:55 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,675
Blog Entries: 54

Rep: Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:31 PM
[SOLVED] Unable to install CentOS 6.2 in Text mode rohitkanojia Linux - Newbie 2 05-13-2012 01:55 AM
Unable to Install LibreOffice in CentOs 6.2 gemmajid Linux - Newbie 6 04-02-2012 11:04 PM
Unable to install Memcached with PHP 5.2 on CentOS samarudge Linux - Server 1 11-19-2010 01:43 PM
Unable to install linux kernel 2.6.23.1 on CentOS 4 gdkool Linux - General 7 11-12-2007 11:31 PM


All times are GMT -5. The time now is 09:53 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration