The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problems de-installing NetConnect i_am_homer SUN Solaris 2 04-18-2007 09:46 AM
Problems Installing Top KenLynch SUN Solaris 2 01-29-2007 11:36 AM
Problems installing AIX on vio Morella AIX 0 08-15-2006 08:27 PM
Problems installing perl5 irasela UNIX for Dummies Questions & Answers 0 03-03-2006 08:06 PM
problems about installing Solaris 8 on PC samprax UNIX for Dummies Questions & Answers 2 07-05-2002 04:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-23-2008
celotibau celotibau is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 4
Problems installing SSH on AIX 5.2

Hi all. I'm a newbie around here and starting an "adventure" through AIX OS's.

I'm having a few troubles when i try to install OpenSSH 4.7.0.5201 through smitty installp. I have all prerequisites already installed on my server.

As you can see below, my problem is only with the SSH Server. All the documentation (openssh-doc-*) the client and the licenses were applyed successfully, but i wasn't able to isntall the openssh.base.server

Could you guys please give me a little help?

Server is an IBM p520 - AIX 5.2.0.0

Ty all.

Installing Software...
+-----------------------------------------------------------------------------+
installp: APPLYING software for:
openssh.base.server 4.7.0.5201
RSA key generation failed
instal: Failed while executing the ./openssh.base.server.post_i script.

0503-464 installp: The installation has FAILED for the "root" part
of the following filesets:
openssh.base.server 4.7.0.5201
installp: Cleaning up software for:
openssh.base.server 4.7.0.5201
Finished processing all filesets. (Total time: 0 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
openssh.base.server 4.7.0.5201 ROOT APPLY FAILED
  #2 (permalink)  
Old 10-23-2008
shockneck's Avatar
shockneck shockneck is offline Forum Advisor  
No RISC - No Fun
  
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 355
Quote:
Originally Posted by celotibau View Post
Hi all. I'm a newbie around here and starting an "adventure" through AIX OS's.[...]
Welcome to the club. AIX is a very powerfull and robust Unix that is also nice to administrate.

Quote:
Originally Posted by celotibau View Post
Server is an IBM p520 - AIX 5.2.0.0
[...]
Installing Software...
+-----------------------------------------------------------------------------+
installp: APPLYING software for:
openssh.base.server 4.7.0.5201
RSA key generation failed
instal: Failed while executing the ./openssh.base.server.post_i script.
[...]
Which oslevel do you use?
# oslevel -r
IIRC there used to be a problem with the early oslevels of 5.2 when one needed the prng RPM package from the IBM Linux Toolbox for Open SSH.
IBM AIX Toolbox download information
Choose "Alphabetically" from the right column and find the prng package in the list. However, in case you really use such an early 5.2 level you'd be better of if you update to the latest ML in which case the current OpenSSH / OpenSSL versions should install like a charm.
IBM Support: Fix Central
  #3 (permalink)  
Old 10-23-2008
celotibau celotibau is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 4
First of all thanks for the orientations, but i looked at the links that you recomended and i think that i have the last versions of the prerequisites to install ssh. See below

# oslevel -r = 5200-10

prngd 0.9.29-1
zlib-1.2.3-3
openssl-0.9.8.600

I think that those above were the prerequisites to install the OpenSSH 4.7.

When i first ran the smitty install, i had no problems during the installation of the base client, license application and documentation of the OpenSSH, but i'm having problems with the server and i couln't identify what is all about.

How can i uninstall an open*.base ? Like the OpenSSL or the OpenSSH files that are already installed?

Do i have to use rpm, geninstall, installp, smitty install commands?

BTW thanks...
  #4 (permalink)  
Old 10-23-2008
shockneck's Avatar
shockneck shockneck is offline Forum Advisor  
No RISC - No Fun
  
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 355
Hm... I thought I did not need prngd from at least medium levels of 5.2 on... but I don't have a 5.2 system here to verify when that changed. So you have prngd installed - but is it also running?

To a beginner I'd always suggest to use System's Management Interface Tool SMIT. It knows the correct command syntax and tells you what it did when you look at the smit.script file or press F6 in the panel. Therefore it is a great tool to learn AIX.

AIX supports several installers but you'd use RPM for RPM packages and installp for BFF packages. SMIT will use either under the hood or geninstall which is some sort of wrapper for the former. Uninstalling the SSH package should look like this, the SMIT line might vary:
# installp -ugx openssh.base.server

Btw. as the USR part worked and the ROOT part failed: you did install as root did'nt you?
  #5 (permalink)  
Old 10-23-2008
celotibau celotibau is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 4
Sorry, but how can i check if the prngd is running as should be?

The installp -ugx command worked fine, i uninstalled all the .base files and tryed to reinstall them all with no success. I got exactly the same error.

Answering your question, all the installations that i did, i did as ROOT.

As you said, the USR part worked fine, but the ROOT one, didn't.
  #6 (permalink)  
Old 10-24-2008
shockneck's Avatar
shockneck shockneck is offline Forum Advisor  
No RISC - No Fun
  
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 355
Quote:
Originally Posted by celotibau View Post
[...]

prngd 0.9.29-1
[...]

I think that those above were the prerequisites to install the OpenSSH 4.7.

[...]
I do not know where you got that information from. I checked with both a 5.2 ML 10 server and the IBM Redbooks | AIX 5L Differences Guide Version 5.2 Edition and found you should not need the separate prngd package to use OpenSSH/OpenSSL. Reason is that AIX comes with its own cryptographically secure prng from version 5.2 on (and as I recalled it that just did not work correctly till about ML2 - that is not mentioned in the diff guide). Hence I'd suggest you uninstall the prngd rpm package and then try to install OpenSSH again.
  #7 (permalink)  
Old 10-24-2008
netxjman netxjman is offline
Registered User
  
 

Join Date: Dec 2001
Posts: 4
Dear,

you need install openssl*.ppc.rpm(openSSL -- Cryptographic Libraries) befor your install openssh.base*.
Closed Thread

Bookmarks

Tags
linux download, unix download

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0