Discuss problems with AIX TELNET

Source: Internet
Author: User

Aix telnet seems to be rarely used. There are not many articles. Here we have gained some experiences from a Web user. The main content is the Fault Analysis of aix telnet. The specific content is as follows: This is recorded in this article: Today, the user reports an AIX instance, which can be FTP, but cannot be TELNET. The aix telnet error prompt is:

 
 
  1. telnet (myaix)  
  2. telnetd: /bin/login: A file descrīptor does not refer to an open file. 

This error message is strange. No precedent can be found on the Internet. Fortunately, the monitor can be connected and the machine can log on. It is found that the root user executes rm * under/, so a link in/bin is absent. The above error is reported during telnet.

Knowing the cause is easy to solve. After ln-s/usr/bin, telnet back to the office location, because there are still some things not done.

On the Internet, I found an article titled "how to restore the system by executing rm * in the root directory:

To solve the problem of aix telnet, re-create the deleted files and directories.

 
 
  1. # Cd/mnt
  2. # Ln-s/usr/bin
  3. # Ln-s/usr/lib/boot/unix_up unix or # ln-s/usr/lib/boot/unix_mp unix
  4. # Ln-s/usr/lib
  5. # Ln-s/home u

In this article, "# ln-s/usr/lib/boot/unix_up unix or # ln-s/usr/lib/boot/unix_mp unix" is a problem, probably the author has no 64-bit Kernel Operating System at the time of writing articles.

Prtconf can find out that my system kernel is 64-bit, so we cannot copy the original article. Finally, I changed it to the following:

 
 
  1. myaix#/> prtconf |grep Kernel  
  2. Kernel Type: 64-bit  
  3. You have mail in /usr/spool/mail/root  
  4. myaix#/> ls -l |grep ^l  
  5. lrwxrwxrwx   1 root system8 Nov 15 11:55 bin@ -> /usr/bin/  
  6. lrwxrwxrwx   1 root system8 Nov 15 12:05 lib@ -> /usr/lib/  
  7. lrwxrwxrwx   1 root system5 Nov 15 12:06 u@ -> /home/  
  8. lrwxrwxrwx   1 root system   21 Nov 15 12:12 unix@ -> /usr/lib/boot/unix_64*  
  9. myaix#/> 

The differences between the three methods are as follows:

 
 
  1. /unix -> /usr/lib/boot/unix_up # 32 bit uniprocessor kernel  
  2. /unix -> /usr/lib/boot/unix_mp # 32 bit multiprocessor kernel  
  3. /unix -> /usr/lib/boot/unix_64 # 64 bit multiprocessor kernel 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.