Rpm Not Working

Hi All,

I am having RHEL 5.4 64-bit OS. When I run the command "rpm --help" I get the following error. Please help:

rpm: /usr/lib64/libpopt.so.0: no version information available (required by rpm)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmbuild.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpm.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmio.so.1)
rpm: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib64/liblua-5.1.so)
rpm: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib64/liblua-5.1.so)

Thanks in advance.


Similar Content



KDEInit Could Not Launch '/usr/lib64/firefox-24.2.0/firefox On Slackware Error.

When i doble click on some html file it gives me that error

KDEInit could not launch '/usr/lib64/firefox-24.2.0/firefox.

I can open it with right click and use "open with" option, but than i have 4 positions of firefox in context menu. How can solve this ? I currently use firefox 34.1 , installed it slackpkg.

Unable To Kde Login

I have SLES 11.3 (x86_64).
When I try to connect to this server via ssh or console without kde everything is OK.
But when I try to connect to this server through kde, in /var/log/messages I can see:

Mar 25 10:03:04 server1 kdm: :0[6560]: Cannot open ConsoleKit session: Unable to open session: Failed to execute program /lib64/dbus-1/dbus-daemon-launch-helper: Success
Mar 25 10:03:04 server1 kdm: :0[6560]: Client start failed
Mar 25 10:03:04 server1 kdm: :0[6560]: Cannot close ConsoleKit session: Unable to close session: no session open

# ls -l /lib64/dbus-1/dbus-daemon-launch-helper
-rwsr-x--- 1 root messagebus 47912 Oct 15 2012 /lib64/dbus-1/dbus-daemon-launch-helper

Can you help me to resolve my problem?

Hp Xw4300 Workstation Linux Version Advice

I have a hp xw4300 workstation with a Pentium D 64bit processor. It has Win XP Pro 32 bit on it now. HP no longer provides linux drivers and the linux required official version required is RHEL WS 4. I want to use this as a home file server. Is there any free version that supports this hardware?
http://h20564.www2.hp.com/hpsc/doc/p...r_na-c00384617

Pentium D
4 GB RAM
4 x 1 TB HDs

TIA for any suggestions.

Circular Dependencies When Trying To Install Glibc, Glibc-common And Others

Any tips/tricks on how and what order I should be installing the RHEL6 packages so that I don't get dependency errors would be much appreciated.

I have sudo access (unrestricted I think) to a Linux VM running RHEL 6.3. I am trying to install an IBM product which requires KSH along with a bunch of Linux packages (both 32-bit and 64-bit versions) before it can install properly. Minimal documentation for installing on a Linux environment from IBM.

Many of the packages I am trying to install gives me a dependency failu

rpm -ivh nss-softokn-freebl-3.14.3-22.el6_6.i686.rpm
error: Failed dependencies:
libc.so.6 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.7) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686

When I try to install GLIBC I get the following dependency failu

glibc-common = 2.12-1.149.el6_6.9 is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.149.el6_6.9.i686

And another dependency failure when installing glibc-common:
glibc = 2.12-1.149.el6_6.9 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.10) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.2) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libcap.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686

Should I be downloading earlier versions of glibc from the Red Hat site? Please note, I installed the x86_64-bit versions of the required packages with no issues... just getting stuck on the 32-bit components.

Also, this system is internal facing and has no route out to RHN so yum installs automatically return errors, which is why I am stuck using rpm.

Thanks in advance!

NIS Related Issue

Hi Everyone,

I world like to know something about NIS server.

Recently i have configured NIS MASTER and SALVE in our environment. I have created users on NIS master and able to login on NIS master and NIS client but not on NIS SALVE(Already updated database /usr/lib64/yp/ypinit -s NISMASTERSERVERNAME).

Second thing i would like to know, if Master NIS will be down then can i reset users password from NIS SALVE server.

Thanks
Vinay Charles

On Linux , Running Eclipse Crash My Program.

Hello,
I have a program running on my Linux server , working fine ,
but when I launch Eclipse by typing :eclipse & , memory crash happened , in other word ,core dump on my program.

if I launch Eclipse using other way, java -jar /usr/lib64/eclipse/plugins/org.eclipse.equinox,launcher_1.1.0.v20100507.jar -clean -showSplash my_code_folder -vmargs -Xms384m -Xmx1024m &
my code and eclipse work fine .

I am new with Eclipse, anybody has any idea about this?

Thanks in advance.

Ray

Configu Error: Can't Find Xm (motif) Library

I'm trying to configure (install and run) a program on Red Hat Enterprise Linux WS release 4 (Nahant Update 7). The last section in my failing configure log file is:

checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for X11/Intrinsic.h... (cached) yes
checking Xm/Xm.h usability... yes
checking Xm/Xm.h presence... yes
checking for Xm/Xm.h... yes
checking for Xm/Xm.h... (cached) yes
checking if Xm.h defines XmSCROLL_HOR... yes
checking if GL/GLwDrawA.h can be found... yes
checking if GLw/GLwDrawA.h can be found... no
checking if X11/GLw/GLwDrawA.h can be found... no
checking for main in -lX11... yes
checking for main in -lXt... yes
checking for main in -lXmu... yes
checking for library containing _XmStrings... no
configu error: can't find Xm (motif) library

Any suggestions on how best to proceed would be greatly appreciated. Thanks.

Space Disk "used" In Df Is Nowhere To Be Found With Du

Hello,

I am facing an issue with a filesystem (/dev/sda3); I see space used on it (around 365GB) when I am looking at the host with "df -h" command.

Code:
[root@srv_omega /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             443G  365G   56G  87% /
tmpfs                  95G   56K   95G   1% /dev/shm
/dev/sda1             484M   39M  421M   9% /boot
/dev/sdb1             3.6T  1.3T  2.2T  36% /hadoop/disk1
/dev/sdc1             3.6T  1.3T  2.2T  37% /hadoop/disk2
/dev/sdd1             3.6T  1.3T  2.2T  36% /hadoop/disk3
/dev/sde1             3.6T  1.3T  2.2T  37% /hadoop/disk4
/dev/sdf1             3.6T  1.3T  2.2T  36% /hadoop/disk5
/dev/sdg1             3.6T  1.3T  2.2T  36% /hadoop/disk6
/dev/sdh1             3.6T  1.3T  2.2T  36% /hadoop/disk7
/dev/sdi1             3.6T  1.3T  2.2T  36% /hadoop/disk8
/dev/sdj1             3.6T  1.3T  2.2T  36% /hadoop/disk9
/dev/sdk1             3.6T  1.3T  2.2T  36% /hadoop/disk10
/dev/sdl1             3.6T  1.2T  2.3T  36% /hadoop/disk11
/dev/sdm1             3.6T  1.3T  2.2T  36% /hadoop/disk12
/dev/sdn1             3.6T  1.3T  2.2T  36% /hadoop/disk13
/dev/sdo1             3.6T  1.3T  2.2T  37% /hadoop/disk14
/dev/sdp1             3.6T  1.1T  2.4T  30% /hadoop/disk15
cm_processes           95G  8.2M   95G   1% /var/run/cloudera-scm-agent/process

I have looked if any hidden file might cause the issue, no joy.

Code:
[root@srv_omega /]# pwd
/
[root@srv_omega /]#  ls -lrtha
total 121K
drwxr-xr-x    2 root root 4.0K Jun 28  2011 srv
drwxr-xr-x    2 root root 4.0K Jun 28  2011 mnt
drwxr-xr-x    2 root root 4.0K Jun 28  2011 media
drwxr-xr-x    2 root root 4.0K Dec 20  2012 cgroup
drwx------    2 root root  16K Jun  2  2014 lost+found
drwxr-xr-x    2 root root 4.0K Jun  2  2014 selinux
-rw-r--r--    1 root root    0 Jun  3  2014 .autorelabel
drwxr-xr-x   18 root root 4.0K Jun  5  2014 hadoop
drwxr-xr-x   21 root root 4.0K Jun  5  2014 var
dr-xr-xr-x    9 root root  12K Jun 20  2014 lib64
dr-xr-xr-x    2 root root  12K Jun 21  2014 sbin
dr-xr-xr-x    2 root root 4.0K Jun 21  2014 bin
dr-xr-xr-x    5 root root 1.0K Jun 22  2014 boot
dr-xr-x---    5 root root 4.0K Jun 22  2014 root
drwxr-xr-x    6 root root 4.0K Jun 22  2014 opt
drwxr-xr-x    3 root root 4.0K Dec 10 19:11 home
dr-xr-xr-x   13 root root 4.0K Dec 12 16:18 lib
dr-xr-xr-x 1140 root root    0 Apr 30 15:11 proc
drwxr-xr-x   13 root root    0 Apr 30 15:11 sys
-rw-r--r--    1 root root    0 Apr 30 15:11 .autofsck
drwxr-xr-x    2 root root    0 Apr 30 15:11 misc
drwxr-xr-x    2 root root    0 Apr 30 15:11 net
drwxr-xr-x   15 root root 4.0K Apr 30 15:12 usr
drwxr-xr-x   19 root root 4.6K Apr 30 15:12 dev
dr-xr-xr-x   27 root root 4.0K Apr 30 15:12 ..
dr-xr-xr-x   27 root root 4.0K Apr 30 15:12 .
drwxr-xr-x  122 root root  12K May  4 03:33 etc
drwxrwxrwt   16 root root 4.0K May  7 06:14 tmp

So I try to find where the space is used with a "du -sh" command

Code:
[root@srv_omega /]# pwd
/
[root@srv_omega /]# du -sh *
7.8M    bin
29M     boot
4.0K    cgroup
280K    dev
26M     etc
19T     hadoop
124K    home
144M    lib
26M     lib64
16K     lost+found
4.0K    media
0       misc
4.0K    mnt
0       net
7.9G    opt
du: cannot access `proc/9170/task/27326/fdinfo/538': No such file or directory
du: cannot access `proc/45119/task/45119/fd/4': No such file or directory
du: cannot access `proc/45119/task/45119/fdinfo/4': No such file or directory
du: cannot access `proc/45119/fd/4': No such file or directory
du: cannot access `proc/45119/fdinfo/4': No such file or directory
du: cannot access `proc/45160': No such file or directory
0       proc
3.8M    root
17M     sbin
4.0K    selinux
4.0K    srv
0       sys
3.9M    tmp
2.6G    usr
16G     var

So as far as I understand, only /hadoop is a suitable suspect (as cumulative size of all the other folders on "/" are well below the 365GB)

Code:
[root@srv_omega hadoop]# cd /
[root@srv_omega /]# cd /hadoop
[root@srv_omega hadoop]# ls -lrtha
total 72K
drwxr-xr-x  2 root root 4.0K Jun  5  2014 disk16
drwxr-xr-x 18 root root 4.0K Jun  5  2014 .
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk1
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk11
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk10
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk13
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk12
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk14
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk2
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk4
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk3
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk6
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk5
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk8
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk7
drwxr-xr-x  4 root root 4.0K Jun 22  2014 disk9
drwxr-xr-x  5 root root 4.0K Nov 19 20:02 disk15
dr-xr-xr-x 27 root root 4.0K Apr 30 15:12 ..

All folders from 1 to 15 are on different filesystems, so the folder disk16 seems to be the only option but there is nothing in it.

Code:
[root@srv_omega hadoop]# cd disk16/
[root@srv_omega disk16]# ls -lrtha
total 8.0K
drwxr-xr-x 18 root root 4.0K Jun  5  2014 ..
drwxr-xr-x  2 root root 4.0K Jun  5  2014 .
[root@srv_omega disk16]#

I just don't get it; no folder seems responsible for the "365Gb"...

Any idea on how I could try to find out where those "365GB" are ?

Contents Fo Executable Files

Hi All,

Is there a way to look into the contents of cmds under /bin (touch, usermod, cp) which we are executing for administration tasks. If yes, how ?

FYR: Attached the same when i ve tried for the same.


[root@localhost arun]# head -5 /usr/sbin/usermod
ELF>°'@ñêÓï2Ä÷³¢÷ý%%k${%ú*µ 4õ*9~E²l¯%ÉÑ7 Zîõí,[ñç:ñ`)³ÓÕ#àæàæ@àæ@44Qåt/lib64/ld-linux-x86-64.so.2GNU wÅ¡ADL{~ûn/tºã|CEÕ ¥Ê*¥%T%òU
Ï3c)r@õBITfÚð%é2òéK%À2%¸QA=Ãl¶
%~c»ÈâãÂ%F* ] ÅóÖ%IëäÚ¼¤.%7'ù*ü%ªeÂ]ÛnJ[¨¢*SJØQC¼BY¬¸1!u)õÜ%e*Ï7©| ±~¦Kl*;\
%ûµ%æîþh"@$@:~ñÿ¥akñÿxarñÿxah
ti=ÿÿÿuiÿÿU7=*ÿÿ£èaaaaaa a(a0a8a@HaaèUPaaU7=ÄÿÿÿÿÿÿÿPU7=xÿÿÿÿÿÿÿ`U7=Èÿÿÿÿÿÿÿ¨U7=ÿÿÿÿÿÿÿØU7=aà³Ã8=a°¿7=°M'7=¸¿7=K'7=À¿7=*G'XaÈ ¿7=*P'7=п7=ð&'7=äii
`a
paxaaaaa*a¨a°a¸aÀaÈaaØaàaèaða øa!aa#a$aw a%(a&0a'8a(@a)Ha*Pa+Xa,`a-ha.pa/xa0a1a2a3a4*a5¨a6°a7¸a8Àa9Èa:Ða;Øa<àa=èa>ðaxøa?aaAaBaC aD(aE0aF8aG@aHHaIPaJXaK`aLhaMpaNxaOaPaQaRaS*aT¨aU°aV¸aWÀaXÈaYÐHÃÿ5ºá ÿ%¼á @ÿ%ºá héàÿÿÿÿ%²á héÐÿÿÿÿ%ªá héÀÿÿÿÿ%¢á hé°ÿÿÿÿ%á hé*ÿÿÿÿ%á héÿÿÿÿ%á héÿÿÿÿ%á hépÿÿÿÿ%zá é`ÿÿÿÿ%rá hTTY°avHéPÿÿÿÿ%já h
é@ÿÿÿÿ%bá h
é0ÿÿÿÿ%Zá h
éÿÿÿÿ%Já héÿÿÿÿ%Bá héðþÿÿÿ%:á héàþÿÿÿ%2á héÐþÿÿÿ%*á héÀþÿÿÿ%"á hé°þÿÿÿ%á hé*þÿÿÿ%á héþÿÿÿ%
á héþÿÿÿ%á hépþÿÿÿ%úà hé`þÿÿÿ%òà héPþÿÿÿ%êà hé@þÿÿÿ%âà h0þÿÿÿ%Úà hé þÿÿÿ%Òà héþÿÿÿ%Êà héþÿÿÿ%Âà héðýÿÿÿ%ºà h éàýÿÿÿ%²à h!éÐýÿÿÿ%ªà h"éÀýÿÿÿ%¢à h#é°ýÿÿÿ%à h$é*ýÿÿÿ%à h%éýÿÿÿ%à h&éýÿÿÿ%à h'épýÿÿÿ%zà h(é`ýÿÿÿ%rà h)éPýÿÿÿ%jà h*é@ýÿÿÿ%bà h+é0ýÿÿÿ%Zà h,é ýÿÿÿ%Rà h-éýÿÿÿ%Jà h.éýÿÿÿ%Bà h/éðüÿÿÿ%:à h0éàüÿÿÿ%2à h1éÐüÿÿÿ%*à h2éÀüÿÿÿ%"à h3é°üÿÿÿ%à h4é*üÿÿÿ%à h5éüÿÿÿ%
PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY PuTTYPuTTYPuTTYPuTTY[rYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuT TYPuTTYPuTTYPuTTYPuTT
bash: PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY: command not found
[root@localhost arun]#

How To Determine If Syntax Array=( Str1 Str2 Str3 ) To Declare Array Is Valid

Hi, I am creating a Korn shell script and need to create an array where each element corresponds to one line of an input file. Being able to do the following would be awesome: Code:
array=( $(cat file.txt) )

However, I'm finding that not all of my development boxes allow this. Some return this: Code:
ksh: syntax error: `(' unexpected

I suspect this has something to do with the Korn shell version. Does anyone know how I can find out what version is required in order to be able to declare arrays, as above? Or is this an OS version issue?

I would really appreciate any tips on how I can find out the minimum requirements for this syntax to be valid.

Thanks.