Users can not login with telnet 3004-031


 
Thread Tools Search this Thread
Operating Systems AIX Users can not login with telnet 3004-031
# 1  
Old 08-06-2013
Users can not login with telnet 3004-031

when all the users try to login using telnet they will counter the error 3004-031 . and they can not access the system . our application is sbglobus (temenos )
# 2  
Old 08-06-2013
Can you ftp or ssh in?
# 3  
Old 08-06-2013
Quote:
Originally Posted by DGPickett
Can you ftp or ssh in?

yes i can make SSH and FTP .
# 4  
Old 08-06-2013
if the issue only occurs when "everybody" is trying to login at the same time -- like at the start of the day -- and fixed by retrying the login later, you may be running into a timeout issue with the password authentication from the overload at the telnet port ...

if the authentication server is not local to the site, see if a local replica could help ... otherwise, check if the application server is capable enough of handling the load ...
# 5  
Old 08-07-2013
Could this be that you have exhausted the defined pool of terminals. We have an HP-UX server with a similar issue. We increased the number of terminals, but that just delayed things. We ended up finding the old processes that were holding the terminals busy and terminating them Not the neatest bit of coding I ever wrote, but it was years ago. The script (run from /dev/pts) is this:-
Code:
#!/usr/bin/ksh

case `id -u` in
0)      who |cut -f2 -d "/" | cut -f1 -d " " > /tmp/liveterms

        for pid in $(fuser t* 2>&1 | grep -vf /tmp/liveterms | \
                grep -v ": $" | cut -f2- -d" " | tr -d "o")
        do
                echo >> /tmp/killprocs.$$
                echo ${pid} >> /tmp/killprocs.$$
                ps -eaf | grep ${pid} | grep -v grep >> /tmp/killprocs.$$

                kill -9 ${pid}

        done ;;
*)      echo "\n\n\nRunning $0 with sudo"
        sudo $0 ;;
esac

Obviously, you may need to assure yourself with the processes first. Change the kill -9 to echo kill -9 and it won't do any damage. If you are okay with this, then schedule it.

The bit in red shows why we have to run it from /dev/pts. If we were to fully qualify it, then the expansion of /dev/pts/t* exceeded the command line limit.



I hope that this helps,

Robin
Liverpool/Blackburn
UK
# 6  
Old 08-07-2013
Hello check to see if telnet is blocked.

Run the below command
Code:
grep telnet /etc/inetd.conf

If you see a hash on the extreme left hand side, it means it is blocked.

Uncomment it and restart the inetd service

Last edited by Scott; 08-09-2013 at 02:30 PM.. Reason: Code tags
# 7  
Old 08-08-2013
Dear ibmtech,

If telnet were disabled, you would get a connection refused rather than a message with number. For this to occur, the connection will have been established.


To thecobra151,

The message number (if you are on AIX) suggests a password time-out. If you are on AIX, can you SSH in and have a look at the value in /etc/security/login.cfg for the value of logintimeout

From your description, it would suggest that someone may have changed this to a very small number, however zero (or negative) would be unlimited. With a 1 second delay, I can generate the messages:-
Code:
telnet (My-test)

Do not attempt to login or use the system unless you are authorised to do so,
otherwise you may be liable to disciplinary action or prosecution.

login: /dev/pts/1: 3004-038 Login timed out after 1 seconds.

I can also get this if I'm quick on the draw typing my user id in:-
Code:
telnet (My-test)

Do not attempt to login or use the system unless you are authorised to do so,
otherwise you may be liable to disciplinary action or prosecution.

login: RBATTE1
RBATTE1's Password: 
/dev/pts/1: 3004-031 Password read timed out -- possible noise on port


Does this help you? If you are on another OS, can you confirm what it is and the version so we can consider.



Thanks, in advance,
Robin
Liverpool/Blackburn
UK
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

3004-312 All available login sessions are in use.

Hello, I have a strange situation here. I am running an AIX6.1 machine and i face a problem when i am trying to login via telnet. When i use my username and password to login to the server i get the following message: 3004-312 All available login sessions are in use. The weird thing is that... (3 Replies)
Discussion started by: omonoiatis9
3 Replies

2. UNIX for Dummies Questions & Answers

Console Login and Telnet

Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login... (8 Replies)
Discussion started by: ixauditor
8 Replies

3. Shell Programming and Scripting

enabling telnet for some users

dear all telnet on our server is disabled for security reasons , if we want to allow telnet for some users , ( maybe 1 or 2 to be able to telnet ) is their any way to do that ?? does anyone have any ideas ? thanks (3 Replies)
Discussion started by: semaan
3 Replies

4. HP-UX

telnet login successful ,but ssh can not login

why I can login by telnet using root account but when i use login by ssh using root account it is not successful ,is it different password i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies

5. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

6. AIX

Login Error 3004-304 aix 4.3 please help

hello, I am trying to log on and get an error "3004-304 You are not allowed to login at this time.". The server is in production level, works as a cluster under hacmp, the other server took the services but I cannot log into the first one. Please help me because I need to solve the problem as... (2 Replies)
Discussion started by: andwhat
2 Replies

7. AIX

Not able to login as normal users through console /telnet/ssh

Hi , I am having problem,users are not able to login through ssh or telnet.Only we can login as root user in console. Restarted telnet and sshd ,no luck. Any ideas. AIX -- 5.2 ML 07 Thanks, MNK (1 Reply)
Discussion started by: mnkfre
1 Replies

8. AIX

Login Error 3004-304

I am trying to log on and get an error "3004-304 You are not allowed to login at this time.". This happens with both "root" and "admin" (the only other user ID on the system). System console or telnet session, doesn't matter. When I reboot the system, which I can only do with the power button since... (0 Replies)
Discussion started by: dino_bekas
0 Replies

9. Linux

Can Telnet in Linux 8.0 be restricted for users

Hi, I want to create a user and allow its to be able to have telnet session like what you have in the ftp allow and deny. Is this possible Thanx. (3 Replies)
Discussion started by: kayode
3 Replies

10. UNIX for Dummies Questions & Answers

telnet login

I am having a problem logging into my SUN box. When i telnet to the box, i dont get as far as the login/password bit - instead i have the following appear on my screen: telnetd: could not grant slave pty Any suggestions would be greatly appreciated... Ta Rich (2 Replies)
Discussion started by: colesy
2 Replies
Login or Register to Ask a Question