Operating System - HP-UX
1850404 Members
1996 Online
104054 Solutions
New Discussion

Re: communication through talk command between two servers

 
bhavin asokan
Honored Contributor

communication through talk command between two servers

hi,
i am having two hp/9000 servers with hpux11i.
when i am trying to connect to a login sesson on the other server it is not responding . the curser just comes to next line and blinks.no request is made to second server.

i am having same user on both servers.
'mesg y' tried on the login session.

if i am trying to connect to that port through telnet following message is appearing.
-----------------------------
telnet server2 517
Trying...
telnet: Unable to connect to remote host: Connection refused
$ telnet server2 518
Trying...
telnet: Unable to connect to remote host: Connection refused.

==============================================
these are contents of configuration files
---------------------------------------------
on both servers /etc/hosts

192.168.1.8 server1
192.168.1.6 server2
--------------------------------------------
on both servers /etc/services
517/udp # conversation
ntalk 518/udp # new talk, conversation
----------------------------------------------
on both servers /etc/inetd.conf

login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
exec stream tcp nowait root /usr/lbin/rexecd rexecd
#uucp stream tcp nowait root /usr/sbin/uucpd uucpd
ntalk dgram udp wait root /usr/lbin/ntalkd ntalkd
ident stream tcp wait bin /usr/lbin/identd identd

========================================

pls help me.

regds,

8 REPLIES 8
Michael Tully
Honored Contributor

Re: communication through talk command between two servers

If you have just changed the /etc/inetd.conf file the daemon must be updated.

# inetd -c

What does the port output say in netstat -an output ? Is it listening?
Anyone for a Mutiny ?
Sanjay Kumar Suri
Honored Contributor

Re: communication through talk command between two servers

Please check the content of the file /var/adm/inetd.sec. Does it have deny entries for some ips

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muthukumar_5
Honored Contributor

Re: communication through talk command between two servers

hai,

We can not check the udp service with the telnet (tcp/23) service. talk and ntalk are pure udp service.

telnet localhost
will give the same error messages as wrong port number
telent localhost
will give the same error messages as Unable * message

Look at syslog details. And reconfigure the inetd(eamon) as inetd -c

see talkd mane page and /usr/include/protocols/talkd.h file

Look at the progress of talk command now with syslog file.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
bhavin asokan
Honored Contributor

Re: communication through talk command between two servers

no entry for ip-address

one server is having ' telnet allow'
' login allow '

entries in /var/adm/inetd.sec file

regds,

Shaikh Imran
Honored Contributor

Re: communication through talk command between two servers

Hi,

Find in the /etc/services the talkd port
and with the telnet you can check if
the deamon run for connection:
telnet
If you will get reasponse that's mean that
the deamon is waiting for connections.

Regards,


I'll sleep when i am dead.
bhavin asokan
Honored Contributor

Re: communication through talk command between two servers

dear Muthukumar,
i don't have /usr/include/protocols/talkd.h
file existing.from where i will get that file.

regds,


Sanjay Kumar Suri
Honored Contributor

Re: communication through talk command between two servers

are you able to ping?

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muthukumar_5
Honored Contributor

Re: communication through talk command between two servers

/usr/include/protocols/talkd.h will contain data sturcture and talk command success.

I don't have the header in my hp machine. Attachment contains linux header file for reference.

By the way,are you having talkd(eamon) check that with #whereis talkd If you have only man page. Then you have install talkd.

If it is not available then talk operations can not be done. I don't have that deamon.

If you have the deamon,start that in two machines.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!