Problems installing SSH on AIX 5.2


 
Thread Tools Search this Thread
Operating Systems AIX Problems installing SSH on AIX 5.2
# 1  
Old 10-23-2008
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  
Old 10-23-2008
Quote:
Originally Posted by celotibau
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. Smilie

Quote:
Originally Posted by celotibau
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  
Old 10-23-2008
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  
Old 10-23-2008
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  
Old 10-23-2008
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  
Old 10-24-2008
Quote:
Originally Posted by celotibau
[...]

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  
Old 10-24-2008
Dear,

you need install openssl*.ppc.rpm(openSSL -- Cryptographic Libraries) befor your install openssh.base*.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

New to AIX need help Installing/Upgrading Samba on AIX 7.1?

Hello, I am trying to update Samba on my AIX 7.1 system as there is an issues with it, the smbd process coredumps and I have had no luck figuring it out why. My approach is to try to re-install a newer samba and I have found the latest 3.x package for samba in ppc.rpm format at perlz.org ... (6 Replies)
Discussion started by: c3rb3rus
6 Replies

2. AIX

Installing SAMBA problems

I have created an LPAR and the next step is to get SAMBA installed, I have mounted our NIM server up and copied over the SAMBA binaries .bff files. How do i install these? i tried doing this through SMIT but had no luck..? Any help would be greatly appreciated. AIX OS 6.1 (2 Replies)
Discussion started by: audis$
2 Replies

3. UNIX for Dummies Questions & Answers

Installing Java Problems

Hello, When i attempt to install Java. I get this error code Can someone tell me what im doing wrong. (2 Replies)
Discussion started by: Fob Upset
2 Replies

4. AIX

Problems with SSH/SFTP between AIX and Mainframe

Hi, I'm not sure if this has been solved in this forum already but please do help me out if possible. Basically, I've already setup a passwordless SSH connection between 2 AIX IDs (say ID-1 and ID-2) with a Mainframe server ID (say MVSID). I'm able to successfully do an SSH from the AIX server to... (1 Reply)
Discussion started by: sambeet
1 Replies

5. Solaris

Problems installing Solaris 10

I just built my new computer with a q6600 quad core, 4 gig ram, Nvidia vidoo card but when I try to install the latest Solaris 10 on it the keyboard is not being detected when the installation starts so I'm unable to go complete the installation. First I tried a USB keyboard and it didn't work,... (2 Replies)
Discussion started by: isomorphic
2 Replies

6. SCO

problems installing 5.0.7 on HP DL 380G5

hi there, i have a hp DL380G5 with hpsas array controller P400. when installing, i use bootstring as following; defbootstr link=hpsas hd=Sdsk Sdsk=hpsas(0,0,0,0) Srom=wd(0,0,0) then BTLD disk boots ok and looks like the drivers are loaded, all devices show up in boot screen, giving me a... (1 Reply)
Discussion started by: jose_antonio
1 Replies

7. Solaris

Problems de-installing NetConnect

I have run into a problem while attempting to de-install netconnect from a Sol8 box. We got an error during the un-install script when it tries to remove SUNWsrsrp. It can't find the srsuser. We have no idea what user was specified initially. I have tried to remove the package on its own, to no... (2 Replies)
Discussion started by: i_am_homer
2 Replies

8. Solaris

Problems Installing Top

I've been trying to install Top on our Solaris box but it's giving me some trouble. The uname -a command shows SunOS servername 5.9 Generic sun4u sparc SUNW,Ultra-250 I downloaded Top form www.unixtop.com. On the initial install I got errors because I didn't have a C compiler installed.... (2 Replies)
Discussion started by: KenLynch
2 Replies

9. AIX

Problems installing AIX on vio

I've been trying to get AIX 5.3 installed on a vio partition. I tried one partition that I created, and another one that already had AIX 5.3 on it. In both cases, the install seems to be successful, but when it tries to reboot, it gets to the kernel starting phase, I can see the kernel size, and... (0 Replies)
Discussion started by: Morella
0 Replies

10. UNIX for Dummies Questions & Answers

Problems installing perl5

Hi!! I have problems installing perl5 in a Tru64 4.0F enviroment, and i need it to install OpenSSL and OpenSSH to establis a SFTP... I'm installing perl 5.8.8 but an error occurr during make test, i ran ./perl harness and the result is the problem is on op/filetest.t I didn't know what to... (0 Replies)
Discussion started by: irasela
0 Replies
Login or Register to Ask a Question