1837007 Members
2146 Online
110111 Solutions
New Discussion

Login Problem

 
SOLVED
Go to solution
Brian butler
Frequent Advisor

Login Problem

.

HP-UX HPUX11I B.11.11 U 9000/778 (tb)

telnetd: /usr/bin/login: No such file or directory

Ok im currently logged into the machine and dont plan on logging out i found this out when i went to open another session on the box and was prompted with the above, i do not have a backup of the machine can anyone suggest anything




Reboot and give me twenty....
22 REPLIES 22
Animesh Chakraborty
Honored Contributor
Solution

Re: Login Problem

Hi,
What it shows ?
#ll /usr/bin/login
Did you take a backup?
Brian butler
Frequent Advisor

Re: Login Problem

# ll /usr/bin/login
/usr/bin/login not found
Reboot and give me twenty....
Deepak Extross
Honored Contributor

Re: Login Problem

Looks like someone has recently messed up your /usr/bin/login file.

What does
"ll -t /usr/bin | more"
show?
Brian butler
Frequent Advisor

Re: Login Problem

# cd usr/bin
# ll log*
-r-xr-xr-x 1 bin bin 16384 Nov 14 2000 logger
-r-xr-xr-x 1 bin bin 12288 Nov 14 2000 logname
Reboot and give me twenty....
Animesh Chakraborty
Honored Contributor

Re: Login Problem

Hi,
File is missing and no backup?
Do you have another simmilar type of server(11.11)?

Did you take a backup?
Deepak Extross
Honored Contributor

Re: Login Problem

And whatever you do, don't logout from that session you already have on the machine!
Brian butler
Frequent Advisor

Re: Login Problem

Nope... its not that high priority just wondering if i could recover this machine without having to wipe it out, i can still login to the CDE vi reflection but i do not prefer to do that....
Reboot and give me twenty....
Brian butler
Frequent Advisor

Re: Login Problem

Is there any way to recreate that file. im guessing not....
Reboot and give me twenty....
Deepak Extross
Honored Contributor

Re: Login Problem

A few things possibilities, off the top of my head:

1. Maybe someone moved the file. Run "find / -name login 2>/dev/null". If you find it, move it back to /usr/bin.

2. Maybe the file is deleted accidentally. Ftp it in from another HP-11 machine.

3. Maybe the file is renamed by mistake. See if you find any new, unexplained files at the top of the listing of "ll -t /usr/bin | more"

Good Luck!
Brian butler
Frequent Advisor

Re: Login Problem

# find / -name login 2>/dev/null
/usr/lib/builtins/login
# find . -name login
./usr/lib/builtins/login


i looked for recently modified files and nothing seems to be touched it seems to be unexplained does anyone out there have any hp ux 11 box....
Reboot and give me twenty....
Kenny Chau
Trusted Contributor

Re: Login Problem

I guess you can re-create the file unless recover from the tape backup or ignite.

Which version of HP-UX you are using? 11.00? 11i or others?

Hope this helps.
Kenny.
Kenny
Brian butler
Frequent Advisor

Re: Login Problem

HP-UX HPUX11I B.11.11 U 9000/778 (tb
Reboot and give me twenty....
Kenny Chau
Trusted Contributor

Re: Login Problem

Sorry that I am using 11.00 but I still attach mine for you. Not sure that will suit you or not.

Hope this helps.
Kenny.
Kenny
Michael Tully
Honored Contributor

Re: Login Problem

Do you have a backup that the file maybe on, or another HPUX11.11 server that you could coipy the binary from?
Anyone for a Mutiny ?
Brian butler
Frequent Advisor

Re: Login Problem

when i clicked on the attachment it said that it was not there if you could please email me with that attachment that would be great
bbutler3295@hotmail.com
much appreciated for everyones help
Reboot and give me twenty....
Brian butler
Frequent Advisor

Re: Login Problem

No other servers that are running anything close to 11.11
Reboot and give me twenty....
Kenny Chau
Trusted Contributor

Re: Login Problem

File "login" had been sent to your hotmail account. Please check your mailbox.

Regards,
Kenny.
Kenny
Brian butler
Frequent Advisor

Re: Login Problem

Thanks you saved me that file worked perfict i just had to change the permissions on it and it worked fine, thanks to everyone who helped and especilay to chau
Reboot and give me twenty....
Kenny Chau
Trusted Contributor

Re: Login Problem

You are welcome, Brian, I am glad that the file works for you.

Regards,
Kenny.
Kenny
Animesh Chakraborty
Honored Contributor

Re: Login Problem

Hi,
the permission should be
-r-sr-xr-x 1 root bin 49152 Nov 7 1997 /usr/bin/login

You made kenny Chau professional to graduate :)
Congrats Kenny!!
Regars
Animesh
Did you take a backup?
Kenny Chau
Trusted Contributor

Re: Login Problem

Thanks Animesh.

Regards,
Kenny.
Kenny
Brian butler
Frequent Advisor

Re: Login Problem

Again thanks for everyones help
Reboot and give me twenty....