xinetd package on centos 5.4

General support questions including new installations
macoy018
Posts: 6
Joined: 2012/01/10 08:54:17

xinetd package on centos 5.4

Post by macoy018 » 2012/01/10 09:03:39

Hi Guys,

Im configuring CENTOS machine for netbackup policy and schedule. this machine is in VM. if i configure this machine to VM backup, it successful though, otherwise failed with regards to system backup.

my question is. any pros and cons of installing xinetd packages as this one is pointing of with netbackup installation ( no xinetd daemons are running ).

other infos:
server is in VM
CENTOS 5.4 Final
Veritas netbackup 7.01
2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux

where can i download xinetd packages for CENTOS 5.4 so i can install it on my server?

thanks in advance,

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: xinetd package on centos 5.4

Post by TrevorH » 2012/01/10 09:49:10

[quote]
where can i download xinetd packages for CENTOS 5.4 so i can install it on my server?
[/quote]

Same way as everything else... `yum install xinetd`

[quote]
CENTOS 5.4 Final
[/quote]

Please consider running `yum update` to get your system up to date. 5.4 is about 2 years old at this point and there have been numerous bug fixes and enhancements made since then.

macoy018
Posts: 6
Joined: 2012/01/10 08:54:17

Re: xinetd package on centos 5.4

Post by macoy018 » 2012/01/10 10:00:19

Thanks TrevorH,

this is a PRODUCTION box, i need to ask for the applications team conscent on any changes on the server.
im not sure though that this server is connected to internet for yum install.

i can just simply install it right? any thing goes wrong i can just uninstall it? otherwise ( revert back to clone copy )

i'll try and let you know.

macoy018
Posts: 6
Joined: 2012/01/10 08:54:17

Re: xinetd package on centos 5.4

Post by macoy018 » 2012/01/10 10:03:00

when i execute yum list all, im getting this o/p.. anyone could explain the meaning of this?


]# yum list all
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 11677.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-updatesd-he
Memory : 15 M RSS ( 26 MB VSZ)
Started: Tue Jan 10 17:12:29 2012 - 48:31 ago
State : Sleeping, pid: 11677
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-updatesd-he
Memory : 15 M RSS ( 26 MB VSZ)
Started: Tue Jan 10 17:12:29 2012 - 48:33 ago
State : Sleeping, pid: 11677


run]# more yum.pid
11677
run]# ps -ef | grep -i 11677
root 11677 3077 0 17:12 ? 00:00:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus
root 15957 15707 0 18:03 pts/5 00:00:00 grep -i 11677
run]#

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: xinetd package on centos 5.4

Post by TrevorH » 2012/01/10 10:03:42

[quote]
this is a PRODUCTION box
[/quote]

All the more reason why it should be running the latest, most secure code then! :-)

macoy018
Posts: 6
Joined: 2012/01/10 08:54:17

Re: xinetd package on centos 5.4

Post by macoy018 » 2012/01/10 10:08:42

yeah, you're right :-D

can i safely delete/remove the running yum process??

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: xinetd package on centos 5.4

Post by TrevorH » 2012/01/10 10:49:30

That's coming from yum-updatesd and should be a transient lock (i.e wait and it'll go away). If it persists you could try just running `service yum-updatesd stop`

macoy018
Posts: 6
Joined: 2012/01/10 08:54:17

Re: xinetd package on centos 5.4

Post by macoy018 » 2012/01/11 01:32:18

i tried to stop the service, but still it has lock on this. is it because that my server is not connected to the internet and yum is waiting for connection?
i ping www.redhat.com and no response from my server, means i cannot do a yum install xinetd then ???


~]# service yum-updatesd stop
Stopping yum-updatesd: [ OK ]
[root@sinslnx02 ~]# yum list all
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 22028.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-updatesd-he
Memory : 15 M RSS ( 26 MB VSZ)
Started: Wed Jan 11 08:38:14 2012 - 48:58 ago
State : Sleeping, pid: 22028
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-updatesd-he
Memory : 15 M RSS ( 26 MB VSZ)
Started: Wed Jan 11 08:38:14 2012 - 49:00 ago
State : Sleeping, pid: 22028

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: xinetd package on centos 5.4

Post by TrevorH » 2012/01/11 01:40:55

[quote]
i ping www.redhat.com and no response from my server, means i cannot do a yum install xinetd then ???
[/quote]

I'm not sure if you have CentOS or RHEL now! They use different software repositories and you need a license to update RHEL.

It's possible that you cannot ping outside because you are behind a web proxy and may need to configure yum.conf to tell it how to access via the proxy. Running `man yum.conf` and searching for proxy will show you how. There are other reasons why you may not be able to ping - perhaps your nameserver setup is incorrect.

If you cannot get to the internet but you have access to the install DVD either as physical media or as an ISO file then you can still use yum to install new packages. There is a repo in /etc/yum.repos.d/CentOS-Media.repo which looks for copies of the DVD on up to 3 mount points by default so if you mount the physical media on one of those (or loopback mount the iso) then you can install from there by using something like

[code]
yum --disablerepo=\* --enablerepo=c5-media install xinetd
[/code]

As far as yum-updatesd goes, it may be that the stop command will take a while if it's blocked waiting for a response from an inaccessible internet site.

macoy018
Posts: 6
Joined: 2012/01/10 08:54:17

Re: xinetd package on centos 5.4

Post by macoy018 » 2012/01/11 01:47:36

Yep, im having CentOS, i thought its the same principles as Redhat :-)

checking the yum.conf file now and dig whatever i may find.

Thanks TrevorH..
have a nice day. :-D

Post Reply