Operating System - HP-UX
1833184 Members
3128 Online
110051 Solutions
New Discussion

Re: HP UX root login not possible

 

HP UX root login not possible

HP-UX hpux B.11.11 U 9000/800 (tc)

login: root
Password:
Last successful login for root: Wed Feb 4 14:46:36 IST-5:30 2009 on pts/th
Last unsuccessful login for root: Wed Feb 4 14:35:22 IST-5:30 2009 on pts/th
Please wait...checking for disk quotas
crt0: ERROR couldn't open dld.sl errno:000000002
i found this error while trying to login into our server.

I cant login into root via ftp also...

I cant login with su root...


my System Hardware is like as below.

Model: 9000/800/rp3410
Main Memory: 1022 MB
Processors: 2
OS mode: 64 bit
LAN hardware ID: 0x00306E4B3A23
Software ID: 4183773601
Keyboard Language: Not_Applicable

Please some one help me out in this issue.
13 REPLIES 13
Steven E. Protter
Exalted Contributor

Re: HP UX root login not possible

Shalom,

A console login with root will normally reset most of these problems.

If not:
boot with power from the console or another root user.

Intervene at the prompt

boot pri

Y on the interact question

hpux -is

reset root password and deal with missing auth files from that context.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Avinash20
Honored Contributor

Re: HP UX root login not possible

You again opened a new thread.
Please continue the old one..

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1310779
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: HP UX root login not possible

# ll -d /lib
lr-xr-xr-t 1 root sys 8 Apr 26 2007 /lib -> /usr/lib

## If not the above output then
ln -s /usr/lib /lib

Check if you are able to login then
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: HP UX root login not possible

I get the same error if /usr/lib was moved to some other name

Check if /usr/lib exist and /lib is soft link to /usr/lib
"Light travels faster than sound. That's why some people appear bright until you hear them speak."

Re: HP UX root login not possible

avinash,

i cant able to run your command

following error is coming.

$ ln -s /usr/lib /lib
ln: no permission for /lib

though i cant able to login into the server via root.

Avinash20
Honored Contributor

Re: HP UX root login not possible

Oh !!

$ ln -s /usr/lib /lib
ln: no permission for /lib

>> This occurs if the /lib is not present on the server

## This seems that the link file is not available.

## You need to reboot the server and login to single user mode to do these activities
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
cramkumar
Occasional Visitor

Re: HP UX root login not possible

Nor mally in vpars you can connect via console to change the password for root.
Second choice would be bootin sinlgle user mode hpux -is

Re: HP UX root login not possible

ok avinash,

but the thing that we dont have consol to login into the server for restart the server.
whether any other alternative for that to solve the issue.?
Dennis Handly
Acclaimed Contributor

Re: HP UX root login not possible

>ln: no permission for /lib
>though i cant able to login into the server via root.

Right, you must be root.

>we don't have console to login into the server. whether any other alternative for that to solve the issue?

How do you expect to admin the system without a console?

>Avinash: I get the same error if /usr/lib was moved to some other name

But we only care if we can duplicate it without the tlink.

Re: HP UX root login not possible

ok all,
let me arrange console application and the get back to you if any issue.

Re: HP UX root login not possible

now i am connecting with consol and also reached at hpux -is
now the problem is that i cant run the vi and cp command for copy the password file

please tell me someting into this issue.

Re: HP UX root login not possible

I login with the Console application and then i rename the passwd file in /etc folder and execute the following command.

mount-a
tlinstall

i solve the issue. thanks robert,avinash.
thanks very much.

Re: HP UX root login not possible

Problem gots resolve with the help of robert,avinash