It doesn't look like zaxxon is currently online so I through this out there. Looks like the nslookup response times are good but the answering DNS server is the second one in your resolv.conf list for some reason. No DNS expert here but you might try swapping the nameserver entries around so the 10.64.40.215 is the top one.
I don't recall what the default ordering of name resolution is if the netsvc.conf file does not have an entry but you could try putting the host names in the /etc/hosts file. If I read your code correctly those are not currently there. Will look something like below:
Then vi your /etc/netsvc.conf file and enter
at the bottom of your netsvc.conf file. This would tell the system to look in the /etc/hosts file before searching the dns records.
If it doesn't help you can remove the changes I suggested.
To everyone reading if I have this wrong please correct me.
My answer would have been very similar
With vmstat I wanted to make sure your box is not having performance issues. The vmstat is something you could check on the servers you are trying to connect to, just to make sure, they are not too busy to bring up the login in an acceptable amount of time.
regarding your /etc/resolv.conf:
you have both - a domain entry and a search entry - what is wrong on AIX. The domain entry and search entry are mutually exclusive, so if both entries are used, the one that appears last will override the other. Please have a look here.
Kind regards
zxmaus
Thanks ..every one for your time and solution. I am working with UNIX admin tem to check these setting and make the changes. I will keep you posting the result.
Hi, i checked on rhel VPS is running sshd
(service ssh status)
But i cant connect via putty: "Network error: Connection refused"
Please which log file in my centos rhel linux i need to watch or what are steps to do to discover cause? (3 Replies)
Hi all,
i got stuck with telnet issue, I am not able to telnet on 4001 port it show connection refused.
with default port it will open
# telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Fedora release 14 (Laughlin)
Kernel 2.6.35.6-45.fc14.i686 on... (1 Reply)
Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic.
root@AB101# ftp -n 10.192.168.68
ftp: connect: A remote host refused an attempted connect operation.
ftp>
Thanks. (3 Replies)
Hello,
I am doing an rsh connection to server2.
I want to perform several command on server2.
I.E:
i=1
rsh server1 -l username "z=$i;`script.ksh`"
(1)Is this the right way to give z value to be used on server2?
(2) Is this the right way to run a script on server2? (1 Reply)
I dont' what happened with my servers (test servers only) but I just noticed that suddenly I cannot up the domain anymore (Sun Java System Application Server 9.1_01).
a. server.log
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the... (1 Reply)
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
rsh is not working
command:rsh targethost -l username command
Error:Connection refused
I checked on the server rshd was not working.
Tried to start by /usr/sbin/in.rshd start
# ./in.rshd start
rshd: getpeername: Socket operation on non-socket
Please help (1 Reply)
Hi there,
Anything will help.
I have running server on computer and want to connect from some clients.
Server:
memset(&hints, 0, sizeof(hints));
hints.ai_family = domain;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("localhost", "8300", &hints, &res0);
if (error)
{
... (1 Reply)
I'm trying to use rsh command to read a variable on a remote machine. I can rlogin with no problem. If I rsh HOST I also get connection like with rlogin. There is no need for passwords. But when I rsh HOST COMMAND it waits 30 seconds then gives me a connection refused error message. Any ideas?
... (4 Replies)
I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)