Issues installing inotify-tools on RedHat Linux


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Issues installing inotify-tools on RedHat Linux
# 1  
Issues installing inotify-tools on RedHat Linux

I wish to install inotify-tools-3.20.1-2.4.x86_64.rpm on Linux and fire inotifywait command.

Initially i was looking for "inotify-tools-3.xx.tar.gz" as instructed here http://jensd.be/248/linux/use-inotify-tools-on-centos-7-or-rhel-7-to-watch-files-and-directories-for-events

I have restrictions for download that package and hence I got the rpm from RPM resource inotify-tools

Quote:
inotify-tools-3.20.1-2.4.x86_64.html Tools for inotify OpenSuSE Tumbleweed for x86_64 inotify-tools-3.20.1-2.4.x86_64.rpm
I understand that this is for Suse Linux and not RedHat as was looking for 3.2x version or above.

Installation give me the below error:

Code:
yum install inotify-tools-3.20.1-2.4.x86_64.rpm
Loaded plugins: langpacks
Examining inotify-tools-3.20.1-2.4.x86_64.rpm: inotify-tools-3.20.1-2.4.x86_64
Marking inotify-tools-3.20.1-2.4.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package inotify-tools.x86_64 0:3.20.1-2.4 will be installed
--> Processing Dependency: libinotifytools.so.0()(64bit) for package: inotify-tools-3.20.1-2.4.x86_64
--> Finished Dependency Resolution
Error: Package: inotify-tools-3.20.1-2.4.x86_64 (/inotify-tools-3.20.1-2.4.x86_64)
           Requires: libinotifytools.so.0()(64bit)
           Available: inotify-tools-3.14-8.el7.x86_64 (oel-7-latest)
               libinotifytools.so.0()(64bit)
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
2:microcode_ctl-2.1-47.5.0.3.el7_6.x86_64 has missing requires of kernel

Code:
uname -a
Linux mymach 4.14.35-1844.4.5.el7uek.x86_64 #2 SMP Tue Apr 9 00:29:47 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux

Below is what i did to try to resolve the error but it did not help.

Code:
yum clean all
yum reinstall glibc glibc-common libgcc
yum upgrade

And then:

Code:
yum install yum-utils
package-cleanup --problems
package-cleanup --dupes

Can you please suggest any solution to the problem ?

Last edited by mohtashims; 08-05-2019 at 04:30 AM..
# 2  
Can you just download the source from https://github.com/rvoicilas/inotify...e/v3.14.tar.gz and build it yourself?
# 3  
This worked fine for me:

Code:
cd /tmp
git clone https://github.com/rvoicilas/inotify-tools.git
cd inotify-tools
./autogen.sh
./configure && make && make install

# 4  
Quote:
Originally Posted by Neo
This worked fine for me:

Code:
cd /tmp
git clone https://github.com/rvoicilas/inotify-tools.git
cd inotify-tools
./autogen.sh
./configure && make && make install

Don't have priviledges. I got to do this in offline mode. Please suggest.
# 5  
Quote:
Originally Posted by mohtashims
Don't have priviledges. I got to do this in offline mode. Please suggest.
No, I have no suggestions or work-a-rounds for anyone who does not have access rights to do things.

You should discuss that (security and access rights) with your boss at work.
# 6  
I have root access however, mostly banks are not open to github (external URLs) for security reasons. I will discuss with the security if that is not a NORM.
# 7  
Are you trying to install centos / redhat packages on oracle enterprise linux ?
I see UEK kernel and oel packages, while you are following centos / redhat tutorial ?

If you are in offline mode, you can always install the exact same version of distribution in virtualbox on your PC.
Download the packages and dependencies via yum.
Copy and install them on the server in question.

Other then that a simple squid proxy for couple of minutes should not be a security breach of any kind.
You can turn off the squid proxy and power off it after the action is completed.
There is also an option to tunnel via ssh.

Hope that helps
Regards
Peasant.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #791
Difficulty: Easy
Logic gates cannot be used to store data.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Hotfolder with inotify-tools, loop FOR not working

I can not understand why this little script with a loop processes only one file. At boot in /etc/rc.local i wrote: /usr/local/bin/./myscript & This is myscript: #!/bin/bash while inotifywait -e create /HOTFOLDER/ ; do for fullname in /HOTFOLDER/*.xlsx; do if !... (22 Replies)
Discussion started by: pasaico
22 Replies

2. Shell Programming and Scripting

Issues installing RubyGems on Linux

Hi, I am getting error installing rubygems as shown below: $ pwd /ticket/tools/binaries/rubygems-2.6.12 $ sudo ruby setup.rb password for redmine: <internal:gem_prelude>:4:in `require': cannot load such file -- rubygems.rb (LoadError) from <internal:gem_prelude>:4:in... (0 Replies)
Discussion started by: mohtashims
0 Replies

3. Red Hat

Installing PHP tools using RPM in Redhat Linux

Hi there, I am trying to install few PHP tools in my Linux server by creating RPMs from source ( tar.gz) files. The issue here is that the tar.gz files does not have a configure file and so I am not able to do ./configure make install opertations. I tried downloading src.rpms of these tools,... (0 Replies)
Discussion started by: Vicky81
0 Replies

4. Red Hat

RedHat Linux GUI Issues

hi all i have installed Windows 7 first. then i installed linux on dual partations... i am booting both of them through dual boot... but when i start linux its only working well with CUI, when i used commands like startx or changed the initd to 5 then its loading the GUI interface of RedHat... (9 Replies)
Discussion started by: Nikhil Dethe
9 Replies

5. Red Hat

How to install expect after installing tcl on Redhat Linux

Hi, I have install tcl and then expect but I am getting below ouput while trying which expect which expect /usr/bin/which: no expect in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) I have copied both in... (6 Replies)
Discussion started by: manish_1678
6 Replies

6. Emergency UNIX and Linux Support

Installing packages on Redhat 5.5: rpmlib issues

Hi there I'm having trouble with a remote Red Hat server. We are busy with an Oracle 11g installation on this box and going through the list of required packages, etc. The installation required elfutils-libelf-devel-0.148. When I try to install that I get the following error; rpm -i... (6 Replies)
Discussion started by: notreallyhere
6 Replies

7. Ubuntu

Linux Redhat ES 4.0 - DNS Config Issues

Hello all, I've a very strange thing hapenning in my Sys, I've configured the IP, DNS eveything for my internat connection, but Im only able to browse Redhat.com websites. I cant open anyother site!!! :eek: Im sure the internet is configured 'coz it displays the list of avail updates for... (11 Replies)
Discussion started by: AbhijithS
11 Replies

8. UNIX for Dummies Questions & Answers

Installing driver in linux redhat... what am I doing wrong?

I am trying to install this driver: http://www.asus.com/support/download/selectftp.aspx?l1_id=1&l2_id=15&l3_id=15&m_id=1&f_name=5702_558.zip~zaqwedc hoping it will correct my problem with my ethernet card. I am following the instructions in the text file that came with download... it says to... (7 Replies)
Discussion started by: Minnesota Red
7 Replies

9. UNIX for Dummies Questions & Answers

Installing RedHat Linux 7

Hey everybody. Its been awhile since I last posted but in short I am now in posession of RedHat Linux 7.0 which I got from a book called the RedHat 7 Bible. As this is not an official distribution I cannot get product support from RedHat so I decided to try here. I have three computers. I... (2 Replies)
Discussion started by: TheGoof
2 Replies

Featured Tech Videos