pkgadd, pkginfo, ssh not working


 
Thread Tools Search this Thread
Operating Systems Solaris pkgadd, pkginfo, ssh not working
# 1  
Old 08-31-2012
pkgadd, pkginfo, ssh not working

Got a feeling someone has been fiddling around or something has got corrupt but I'm getting the following errors now:-

-bash-3.00# pkginfo
ld.so.1: pkginfo: fatal: libssl.so.0.9.7: open failed: No such file or directory
Killed
-bash-3.00#

and also ssh:-

-bash-3.00# ssh
ld.so.1: ssh: fatal: libcrypto.so.0.9.7: open failed: No such file or directory
Killed
-bash-3.00#

maybe openssl or something? Trouble is I cant reinstall because pkgadd doesnt work. Any ideas?
# 2  
Old 08-31-2012
What's up
Do this as root:
Code:
ldd /usr/bin/pkginfo

or
Code:
ldd /usr/bin/pkginfo | grep ssl

File should be link as it is below. If the file is not linked, you need to relink them.
Eample:
libssl.so.0.9.7 => /usr/sfw/lib/libssl.so.0.9.7
libssl_extra.so.0.9.7 => /usr/sfw/lib/libssl_extra.so.0.9.7


Also check the file permissions.
/usr/bin/pkginfo
/usr/sbin/pkgadd
/usr/bin/ssh

I hope this helps.
# 3  
Old 08-31-2012
You might have LD_LIBRARY_PATH, LD_PRELOAD or crle set to an incompatible directory.
# 4  
Old 09-03-2012
Quote:
Originally Posted by bitlord
What's up
Do this as root:
Code:
ldd /usr/bin/pkginfo

or
Code:
ldd /usr/bin/pkginfo | grep ssl

File should be link as it is below. If the file is not linked, you need to relink them.
Eample:
libssl.so.0.9.7 => /usr/sfw/lib/libssl.so.0.9.7
libssl_extra.so.0.9.7 => /usr/sfw/lib/libssl_extra.so.0.9.7


Also check the file permissions.
/usr/bin/pkginfo
/usr/sbin/pkgadd
/usr/bin/ssh

I hope this helps.
The above files weren't there in /usr/sfw/lib. Looks like someone had removed the package.

In the end, what I did was to copy these filed back manually from another system. This enabled me to get pkgadd to work so I then manaually re-installed openssl 0.9.7 which seemed to fix things.
This User Gave Thanks to psychocandy For This Post:
# 5  
Old 09-04-2012
once remove openssl package and reinstall proper X86 or sparc package ..
# 6  
Old 09-04-2012
I glade you found a fix and then posted it here. This way if anyone has this issue in the future they can be helped.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Non-interactive pkgadd not working.

Inorder to make the pkgadd non-interactive i tried couple of things but both failed. 1. sudo pkgadd -n /u/mont/admin -d /u/mont/dbprd.pkg pkgadd: ERROR: no packages were found in </var/spool/pkg> 2. yes all | sudo pkgadd -a /u/mont/admin -d /u/mont/dbprd.pkg ... (0 Replies)
Discussion started by: mohtashims
0 Replies

2. Solaris

Host name in front of pkginfo output

hello all I am trying to create a comma seperated file of the pkginfo command. The follwoing works pretty well. pkginfo -l | egrep '(BASEDIR|NAME|VERSION)' | awk '{print}' ORS=', ' however, there are two issues. 1, For some reason it does not load into excel properly. It loads as... (7 Replies)
Discussion started by: busi386
7 Replies

3. Red Hat

SSH not working

Hi, I have a server running RHEL 6.0. While logging in through root ,I can login.But if I try to login through "integ" user,I am unable to login. /var/log/secure messages::: May 20 15:25:23 punsyncserv su: pam_unix(su-l:session): session opened for user integ by root(uid=0) May 20 15:29:44... (4 Replies)
Discussion started by: nowornever
4 Replies

4. UNIX for Dummies Questions & Answers

SSH tunnel working for ssh but not for sshfs

I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible. my actions: work-machine$ ssh -L 1234:tar-machine:22 hop-machine work-machine$ ssh -p 1234 user@127.0.0.1 - shh access on... (1 Reply)
Discussion started by: Vathau
1 Replies

5. Solaris

SSH: internal working but external not working

Hi, This is a strange issue: We have an sftp server. Users can ssh to it from internal LAN without any issue, but they can not ssh to it externally via firewall. Here is what I got: OS is Solaris 9. No hosts.allow and hosts.deny files. Please help. Thank you in advance! (7 Replies)
Discussion started by: aixlover
7 Replies

6. Solaris

grep help with pkginfo

im looking for a way to eliminate the packages from SUN when i do a pkginfo. thought this would work, but no luck. pkginfo | grep what am i doing wrong? Thanks (2 Replies)
Discussion started by: jrich523
2 Replies

7. UNIX for Advanced & Expert Users

rpm and pkginfo question

Can the root hide some of the results of the above commands from a regular user? i.e. $>rpm and $>sudo rpm will give different results (1 Reply)
Discussion started by: noam128
1 Replies

8. AIX

ssh is not working !

Guy's I have AIX 6.1 SSH in it is not working but is up and Active ..... server1/etc>lssrc -s sshd Subsystem Group PID Status sshd ssh 450686 active from my PC can I login by SSH but SSH from Server1 to Server2 is not accepting it's giving me this message server1/etc>ssh sever2... (4 Replies)
Discussion started by: ITHelper
4 Replies

9. Solaris

difference between pkginfo and pkgchk command

can anyone explain me the difference between pkginfo and pkgchk command in solaris. Both are used to display the package details, then what is the difference between both. (5 Replies)
Discussion started by: rogerben
5 Replies

10. UNIX for Dummies Questions & Answers

format and pkginfo -l question

I have a Solaris 2.6 box flagging an "Error block: 308918" in the messages file when I execute a pkginfo -l. pkginfo with no flags returns no errors. I think I need to use format to mark this block and then restore the database used by pkginfo for backup. Any advice/input welcome. Thanks (4 Replies)
Discussion started by: 98_1LE
4 Replies
Login or Register to Ask a Question