Solved

telnet is not working

Posted on 2008-10-14
9
1,128 Views
Last Modified: 2013-11-17
We have AIX server 5.3 level TL 8 . Whenever we telnet this server getting following error message
and failing to telnet and ssh is working
telnetd: /bin/login: No such file or directory
.
Connection closed.
Could anybody help me
0
Comment
Question by:rammaghenthar
9 Comments
 
LVL 29

Expert Comment

by:Michael W
Comment Utility
Check to see under /etc/passwd for the user you are trying to login with if their shell is pointing to /bin/login. If so, change it to the basic shell (/bin/sh) and see if that corrects the problem.
0
 
LVL 2

Author Comment

by:rammaghenthar
Comment Utility
[130]# ls -l /bin/login
lrwxrwxrwx   1 root     security         13 Oct 13 21:36 /bin/login -> /usr/sbin/tsm
[1]# ls -l /usr/sbin/tsm
/usr/sbin/tsm not found
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 400 total points
Comment Utility
Hi,
check whether bos.rte.security is installed.
This package contains /usr/sbin/tsm.
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 400 total points
Comment Utility
There is also an apar concerning problems in bos.rte.security related to /usr/sbin/tsm:
IZ19034
bos.rte.security 5.3.8.1
Please check it here:
http://www-01.ibm.com/support/docview.wss?rs=111&context=SWG10&q1=bos.rte.security&q2=tsm&uid=isg1IZ19034&loc=en_US&cs=utf-8&lang=en
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 2

Accepted Solution

by:
rammaghenthar earned 0 total points
Comment Utility
[0]# lslpp -l bos.rte.security
  Fileset                      Level  State      Description
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.rte.security          5.3.0.53  COMMITTED  Base Security Function

Path: /etc/objrepos
  bos.rte.security          5.3.0.53  COMMITTED  Base Security Function

0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
Since /usr/sbin/tsm is part of bos.rte.security and tsm is not found, you'll have to reinstall the package  or recover tsm from backup.
Use 'overwrite same or newer versions: yes' when reinstalling via smit.
I hope reinstall will work, because bos.rte.security is tightly coupled with bos.rte.
Try 'preview only: yes' first!
0
 
LVL 2

Author Comment

by:rammaghenthar
Comment Utility
Hi  woolmilkporc ji
           I believe you mean is bos.rte.securtiy fileset I need to install ? which  version of bos.rte.security pack need to install ?or whole telnet pack need to install ? or IZ19034 APAR need to install ?
 
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 400 total points
Comment Utility
Hi rammaghenthar,
if you can' t recover /usr/sbin/tsm, perhaps from another machine with bos.rte.security installed or from a backup, you should reinstall bos.rte.security.5.3.8 (if you really have TL 8 running) with the above precautions. It's a bit strange that your lslpp says you had bos.rte.security.5.3.0.53,
because TL8 contains bos.rte.security.5.3.8.
What does 'oslevel -s' say?
What 'instfix -i | grep ML' ? If you can't find 5300-08_AIX_ML here,  enter
'oslevel -rl 5300-08'
It's possible that you will have to re-run your update for TL8, but let's first look at the output of the above commands. Please post it, including the output of 'oslevel -qr'.
w
0
 
LVL 10

Assisted Solution

by:dfke
dfke earned 100 total points
Comment Utility
Also, the location for telnetd is /usr/sbin/telnetd. If telnetd is moved to another location, modify the inetd.conf accordingly. Check /etc/inetd.conf.

The minimal inetd.conf contents to make telnetd work:
telnet  stream  tcp6    nowait  root    /usr/sbin/telnetd      telnetd -a
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now