Login error....


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Login error....
# 1  
Old 06-29-2005
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  
Old 06-29-2005
maybe...

Maybe the better reason is to reinstall syslog.
Or just use other OS, like Linux, FreeBSD, OpenBSD
# 3  
Old 06-30-2005
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 01:36 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Error while login into the server

Hello, Whenever i login into one of my solaris machine i get below message, Usage: basename ] if: Expression syntax Profile or environment of my user is not properly getting loaded. Can somebody help why this is coming and solution to it? (1 Reply)
Discussion started by: varunksharma87
1 Replies

2. Shell Programming and Scripting

FTP Login Error check

How can I add a check right after the FTP to see if the login id failed or not and echo an error description indicating login failed? Here is my script: ftp $HOST1 <<END_SCRIPT>>$TARGETLOGS/$LOGFILE #ftp $HOST1 <<END_SCRIPT> cd idx prompt mget $PICKUPFILE*.txt !cp $PICKUPFILE*... (17 Replies)
Discussion started by: mrn6430
17 Replies

3. Shell Programming and Scripting

error in .login file

I have one server (consider A) .While logining into server A using username as u1 .I am not getting any command not found error but while I am loging into that server A using username as u2 , I am getting this below error while login... (5 Replies)
Discussion started by: maitree
5 Replies

4. Solaris

A DT Message error on login... other symptoms

First let me apologize for joining and posting... but this thing is killing me. I can usually solve these problems myself but I am reaching for help now. I have about 2 years Unix 8 experience but I am by no means an expert but not a newb either. A little background. My system runs a... (8 Replies)
Discussion started by: mpb218
8 Replies

5. Solaris

error message rmclomv ... SC Login Failure for user Please login:

Hello World ~ HW : SUN Fire V240 OS : Solaris 8 Error message prompts 'rmclomv ... SC login failure ...' on terminal. and Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S) The System is in normal operation, though In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies

6. Shell Programming and Scripting

login error because of indentation isql

The below works/usr/sybase/bin/isql -S${SERVER} -D${DB} -U${ID} -P${PASSWD} -w 250 -n <<EOF > output The below is indented but doesnt work when /usr/sybase/bin/isql -S ${SERVER} \ -D ${DB} \ -U ${ID} \ -P ${PASSWD} \ -w 250 \ -n ... (1 Reply)
Discussion started by: pinnacle
1 Replies

7. UNIX for Advanced & Expert Users

VSI-FAX error - Cannot login to server and Connecto error to host

I encounters a VSIFAX related error: vfxstat: Cannot login to server on rsac3: Connect error to host 172.16.1.45: Invalid argument It started happening last night with a core dump. Then we can't start VSIFAX again. I am runing VSI-FAX 4.2 on AIX box (0 Replies)
Discussion started by: b_jin
0 Replies

8. Post Here to Contact Site Administrators and Moderators

Login error

Hi There, Good day, Few minutes before i made a donation thru your url provided. its a secured web page, but made process very slow. i am not sure whether it was transacted properly or not. Also i am not able to login after this system hang action. for each and every click events it... (2 Replies)
Discussion started by: karthikn7974
2 Replies

9. HP-UX

error occurs while some users login

hi all, i have a problem that while some of the users trying to login the following error occurs and the session is automatically closed. ssl error: RAND_status reported there wasn't enough randomness for the PRNG. ssl error: You need to specify RandomFile or EGDFile to obtain the randomness.... (0 Replies)
Discussion started by: rrlog
0 Replies

10. Solaris

login error as root

Hi i am using sun netra20 server ruuning solaris 9 and while i trying to login as root its showing error as shown below. SunOS 5.9 login:root password: Not on system console Connection to system closed by foreign host But i can login as scadm and su to root...then it is goin to root... (1 Reply)
Discussion started by: gini
1 Replies
Login or Register to Ask a Question