RE: P.S. - RE: updates pending question

"Constance Morris" <[email protected]>
Newsgroups gmane.linux.redhat.general
Message-ID <D82DF1C2744C6C43954D0E0E5E7697C801D965A222F6@DSCEXCHANGE1.daltonstate.local>
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alfred Hovdestad
Sent: Friday, May 10, 2013 4:48 PM
To: General Red Hat Linux discussion list
Subject: Re: P.S. - RE: [redhat-list] updates pending question

On 10/05/13 02:33 PM, Constance Morris wrote:
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of [email protected]
> Sent: Friday, May 10, 2013 4:17 PM
> To: General Red Hat Linux discussion list
> Subject: RE: P.S. - RE: [redhat-list] updates pending question
>
> Constance   Morris wrote:
>> [mailto:[email protected]] On Behalf Of Alfred Hovdestad
>> Sent: Friday, May 10, 2013 3:53 PM
>> On 10/05/13 12:06 PM, Constance Morris wrote:
> <SNIP>
>> Hey Alfred,
>> Yes, I'm running RHEL 5.9 (Tikanga)
>> How will I know which is the custom version of openssh to re-install?
>> And do I have to download it from a website first and then upload it 
>> to the server, or do I type in a command?
>
> Check places like /usr/local or /opt, unless they installed the source packages, in which case they'll be under /root/rpmbuild. If it was a tarball install, then to rebuild is easy:
> cd <dir>
> ./configure (check to see if there's any switches you need to set) 
> make make install
>>
>> When I enter the command:   yum install openssh      or       yum install
>> openssh-server
>> I get error messages either way saying :
>>
>> " Loaded plugins: rhnplugin, security Traceback (most recent call 
>> last):
>>    File "/usr/bin/yum", line 29, in ?
>>      yummain.user_main(sys.argv[1:], exit_code=True)
>>    File "/usr/share/yum-cli/yummain.py", line 309, in user_main
>>      errcode = main(args)
>>    File "/usr/share/yum-cli/yummain.py", line 161, in main
>>      return exFatal(e)
>>    File "/usr/share/yum-cli/yummain.py", line 64, in exFatal
>>      logger.critical('\n\n%s', to_unicode(e))
>>    File "/usr/lib/python2.4/logging/__init__.py", line 1019, in critical
>>      apply(self._log, (CRITICAL, msg, args), kwargs)
>>    File "/usr/lib/python2.4/logging/__init__.py", line 1078, in _log
>>      record = self.makeRecord(self.name, level, fn, lno, msg, args,
>> exc_info)
>>    File "/usr/lib/python2.4/logging/__init__.py", line 1064, in makeRecord
>>      return LogRecord(name, level, fn, lno, msg, args, exc_info)
>>    File "/usr/lib/python2.4/logging/__init__.py", line 226, in __init__
>>      if args and (len(args) == 1) and args[0] and (type(args[0]) ==
>> types.DictType):
>>   TypeError: 'NoneType' object is not callable"
>
> Oy, as they say, vey. Type yum clean all, then try again.
>
>       mark
> -----------
>
> Did the yum clean all and got " Loaded plugins: rhnplugin, security  Cleaning up Everything"
> So I afterwards I tried the ' yum install openssh ' and got the same error messages, so I tried the yum install openssh-server and also got the same error messages.
>
> Constance  :-(
>

Let's see what else has been changed on those packages.  Try:

rpm -V openssh-server
rpm -V openssh-clients

And while we are at it:

rpm -V yum

--
Alfred
-------------

Alfred,
The rpm -V openssh-server command shows:
S.5....T  c /etc/pam.d/sshd
S.5....T  c /etc/ssh/sshd_config

The rpm -V openssh-clients command shows:
S.5....T  c /etc/ssh/ssh_config

Constance

-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.