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 > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Login error karthikn7974 Post Here to Contact Site Administrators and Moderators 2 05-01-2008 05:40 AM
login error as root gini SUN Solaris 1 12-16-2006 10:26 AM
Login Error 3004-304 dino_bekas AIX 0 03-14-2005 11:57 PM
login error after sys-unconfig, errno = 13 roing UNIX for Dummies Questions & Answers 14 02-08-2004 11:25 AM
login error(can not set process env.) amit UNIX for Advanced & Expert Users 5 12-23-2001 04:39 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-29-2005
frankkahle frankkahle is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 89
Login error....

We have a situation where one of my users log's into my Solaris box and gets the followin error.....
rsh marvin
Last login: Tue Jun 28 07:28:18 from lvie450
ld.so.1: whoami: fatal: libgen.so.1: can't open file: errno=2 Killed /home/username @marvin>


Anyone have any idea?

Frank
  #2 (permalink)  
Old 06-29-2005
zylwyz's Avatar
zylwyz zylwyz is offline
Registered User
  
 

Join Date: Jun 2005
Location: I'm living in Unix :)
Posts: 53
maybe...

Maybe the better reason is to reinstall syslog.
Or just use other OS, like Linux, FreeBSD, OpenBSD
  #3 (permalink)  
Old 06-30-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Is it just the one user that is facing problems? From the error it seems that the whoami command is trying to access either the ld.so.1 or the libgen.so.1 library and not finding them. (errno=2 is ENOENT -> file not found).

You can provide a program with library information using the LD_LIBRARY_PATH environment variable. Get the locations of both these libraries using the find command and add the following lines in the user's login files:

if using sh/ksh/bash, in $HOME/.profile
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<put in the directories where you found the library files in a ':' seperated fashion>
export LD_LIBRARY_PATH

if using csh/tcsh, in $HOME/.login
setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH:<put in the directories where you found the library files in a ':' seperated fashion>"

Hope this helps! Cheers!

P.S. Just found a site. Some info about LD_LIBRARY_PATH: go here .

Last edited by blowtorch; 06-30-2005 at 12:36 PM..
Closed Thread

Bookmarks

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:46 AM.


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