Avatar of LinuxDuke
LinuxDukeFlag for South Africa asked on

XianServer-3.1.727.5-727.i386.rpm from Jalasoft - A Monitoring deamon having unresolved dependences when installing on Redhat versions

Hi Everyone,

Please assist me with a problem I have when installing XianServer-3.1.727.5-727.i386.rpm from Jalasoft a monitoring deamon on linux redhat. When installing this rpm on RHEL 4 & 5 it works fine try CentOS 4 & 5, Redhat 7.3, 8.0 and I get these unresolved dependencies below. This should work fine on CentOS 4 & 5 as the are the same as RHEL 4 & 5.

[root@server1 root]# rpm -ivh XianServer-3.1.727.5-727.i386.rpm
error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GCC_3.0)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GLIBC_2.0)   is needed by XianServer-3.1.727.5-727
        libpthread.so.0(GLIBC_2.3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(CXXABI_1.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2.2)   is needed by XianServer-3.1.727.5-727
[root@server1 root]#



[root@server2 ~]# rpm -ivh XianServer-3.1.727.5-727.i386.rpm
error: Failed dependencies:
        libstdc++.so.5 is needed by XianServer-3.1.727.5-727.i386
        libstdc++.so.5(CXXABI_1.2) is needed by XianServer-3.1.727.5-727.i386
        libstdc++.so.5(GLIBCPP_3.2) is needed by XianServer-3.1.727.5-727.i386
        libstdc++.so.5(GLIBCPP_3.2.2) is needed by XianServer-3.1.727.5-727.i386
[root@server2 ~]#


[root@server3 root]# rpm -ivh XianServer-3.1.727.5-727.i386.rpm
error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GCC_3.0)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GLIBC_2.0)   is needed by XianServer-3.1.727.5-727
        libpthread.so.0(GLIBC_2.3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(CXXABI_1.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2.2)   is needed by XianServer-3.1.727.5-727
[root@server3 root]#


[root@server4 root]# rpm -ivh XianServer-3.1.727.5-727.i386.rpm
error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GCC_3.0)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GLIBC_2.0)   is needed by XianServer-3.1.727.5-727
        libpthread.so.0(GLIBC_2.3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(CXXABI_1.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2.2)   is needed by XianServer-3.1.727.5-727
[root@server4 root]#


[root@server5 root]# rpm -ivh XianServer-3.1.727.5-727.i386.rpm
error: Failed dependencies:
        libstdc++.so.5(GLIBCPP_3.2.2) is needed by XianServer-3.1.727.5-727
[root@server5 root]#


[root@server6 root]# rpm -ivh XianServer-3.1.727.5-727.i386.rpm
error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GCC_3.0)   is needed by XianServer-3.1.727.5-727
        libgcc_s.so.1(GLIBC_2.0)   is needed by XianServer-3.1.727.5-727
        libpthread.so.0(GLIBC_2.3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(CXXABI_1.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2)   is needed by XianServer-3.1.727.5-727
        libstdc++.so.5(GLIBCPP_3.2.2)   is needed by XianServer-3.1.727.5-727
[root@server6 root]#

Thanks
Linux

Avatar of undefined
Last Comment
rindi

8/22/2022 - Mon
rindi

Use yum to update your Centos versions so they are current.
ASKER
LinuxDuke

Hi rindi,

I is not working plus this machines are in a DMZ so they wont update anyway.
I have decided to install the rpm with the following comang rpm -ivh --nodeps and it actually worked on Red hat 8.0 but the following version of linux ES2.1 is giving me the below error any help please.

[root@server3 root]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 2.1 (Panama)
[root@server3 root]#

[root@server3 root]# /etc/init.d/xianserver restart
Usage: /etc/init.d/xianserver {start|stop|status}
[root@server3 root]# /etc/init.d/xianserver start
Copyright (c) Jalasoft Corp. 2007 - all rights reserved
Detected architecture is: Linux
Starting Jalasoft Xian Server: Xian Io Unix Daemon...
/usr/local/jalasoft/xian/bin/xuser: error while loading shared libraries: libstdc++.so.5: cannot open shared objec
t file: No such file or directory

Xian Io Unix Daemon could not be started on port 5723
Please check the log file (/var/log/xianserver) for possible causes
It is possible that the port is being used. Try executing "netstat -an" to verify the available ports and the port
s already in use.
Default Jalasoft Xian Server port is 8182. Check /etc/xianserver.conf file to verify and modify this port number.
[root@server3 root]#
 
rindi

Why wouldn't they update in a DMZ? A DMZ has normal and less secure internet access than non DMZ, and if the repositories for CentOS are properly setup, there should be no problem updating.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER
LinuxDuke

We have a local repository out side our DMZ all servers point to this repo for up dates. I had problems pointing the servers in my DMZ to the local repo that is why yum is not working.
Remember I have forced the rpm install as you can read above the problem is when starting this service as it moans about libstdc++.so.5 .

Thanks
rindi

You have to install those libraries. Yum normaly will get the newest that have been published for your distro. How about using the official repositories for the distro you are using?
ASKER
LinuxDuke

Ok I'll try that then provide you with feed back tomorrow.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
LinuxDuke

This is still a problem as some of these distros dont use yum. I'm still straggling with this one RHEL 2.1 as it has to have this installed . At least if some one can tell me on how to install that library with using yum as yum is not intalled.

[root@server1 root]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 2.1 (Panama)
[root@server1 root]# ls
anaconda-ks.cfg  dead.letter  fug.sh  mbox  openssh-3.8p1  openssh-3.8p1.tar.gz  XianServer-3.1.727.5-727.i386.rpm
[root@server1 root]# rpm -qa XianServer
[root@server1 root]# rpm -q1 Xian
-q1: unknown option
[root@server1 root]# rpm -qi Xian
package Xian is not installed
[root@server1 root]# rpm -ivh --nodeps XianServer-3.1.727.5-727.i386.rpm
Preparing...                ########################################### [100%]
   1:XianServer             ########################################### [100%]
Copyright (c) Jalasoft Corp. 2007 - all rights reserved
Detected architecture is: Linux
Starting Jalasoft Xian Server: Xian Io Unix Daemon...
/usr/local/jalasoft/xian/bin/xuser: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Xian Io Unix Daemon could not be started on port 8182
Please check the log file (/var/log/xianserver) for possible causes
It is possible that the port is being used. Try executing "netstat -an" to verify the available ports and the ports already in use.
Default Jalasoft Xian Server port is 8182. Check /etc/xianserver.conf file to verify and modify this port number.
[root@server1 root]#
I'm claiming my points as none of the expect could help me resolve this issue.
rindi

If you don't have yum installed you'll have to find each of those libraries that it says are needed on the internet (best is first to check your redhat repositories for them), then install them manually. Once you have them try installing xianserver again.
ASKER
LinuxDuke

Is the an easy way of installing yum on RHEL 2.1.

Thanks
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
rindi

ASKER
LinuxDuke

Thanks busy with it.
ASKER
LinuxDuke

Rindi,

I installed yum and this is what happens when executing yum install xianserver.rpm check below.
So yum is not working fine with RHEL2.1.

Installing Dag's GPG Key.txt  yum-1.0.3-0.1.el2.rf.noarch.rpm
mbox
[root@server1 root]# yum install XianServer-3.1.727.5-727.i386.rpm
Gathering package information from servers
Getting headers from: Dag RPM Repository for RHEL 2.1

Error getting file http://dag.linux.iastate.edu/dag/redhat/elNull/en/$ARCH/dag/h
eaders/header.info
[Errno 4] IOError: [Errno socket error] host not found
[root@server1 root]#
[root@server1 root]# yum check-update
Gathering package information from servers
Getting headers from: Dag RPM Repository for RHEL 2.1

Error getting file http://dag.linux.iastate.edu/dag/redhat/elNull/en/$ARCH/dag/headers/header.inf
o
[Errno 4] IOError: [Errno socket error] host not found
[root@server1 root]#
[root@server1 root]#

Config file for yum:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
[dag]
name=Dag RPM Repository for RHEL 2.1
baseurl=http://apt.sw.be/redhat/el2.1/en/i386/dag/RPMS/
gpgcheck=1
enabled=1

[dag]
name=Dag RPM Repository for RHEL 2.1
baseurl=http://dag.linux.iastate.edu/dag/redhat/el$releasever/en/$ARCH/dag
gpgcheck=1
enabled=1

[root@server1 etc]# /etc/init.d/yum staus
*** Usage: yum {start|stop|restart|condrestart|status}
[root@server1 etc]# /etc/init.d/yum restart
Disabling yum:                                             [  OK  ]
Enabling yum:                                              [  OK  ]
[root@server1 etc]#




Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
rindi

Probably your repositories aren't correct. Unfortunately I have no access to the redhat repos, so I don't know what would be correct.
ASKER
LinuxDuke

Hey now that really leaves me with problems cause I thought the RHEL 2.1 Dag repo will assist.
Ok now I'm not to sure how I can resolve these dependencies and you know whats funny the is a machine with the same spec RHEL 2.1 when I used a force it intalled the xian rpm.
rindi

Is yum installed on that server? did you check if the yum config is the same as on yours?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER
LinuxDuke

Ok will work on the server tomorrow and then post updates on what is going on.
Thanks for now go to go.
ASKER
LinuxDuke

I'm busy testing will give you feed back after comparing the two machines. I really need to get this going as I need to monitor this machine.
ASKER
LinuxDuke

My other servers has stopped working as well it's complaining about the library that is needed libgcc_s.so.1. Please guys who can tell me where to get this library libgcc_s.so.1 for RHEL 2.1 as this looks like my problem.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
rindi

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question