On Mon, 24 Jan 2000, Carl Lawton wrote about, How to find if port is listening:
> I am running RH6.0 and can't figure out how to
> see if a port i have added to /etc/services is listening
>
> I have added:
>
> crlserver 1964/tcp # crl listener
>
>
> I am trying to check that the port is listening but
> can't find it. I am using "netstat -a" and expecting
> to see a line:
>
> tcp 0 0 *.crlserve *.*
> LISTEN
>
>
> I have the same port listening on AIX and Interactive
> Unix machines without a problem. Is the port reserved
> or have i a setup problem ?
A standard linux install does not have that port defined in /etc/services.
I dont know what program is concerned here but here is what needs o be done
to activate a port.
edit /etc/services and enter a line for the service, i am sure you will see
where and howto do that.
edit /etc/inetd.conf and then add something like the following.
crlserve stream tcp nowait root /usr/sbin/tcpd <program_name>
I presume you have the program concerned and its placed in /usr/sbin/
Now send a -HUP signal to the running inetd process, that should be all
that is needed.
Of course if crlserve needs anything special then you will need to tell
inetd what they are with options, there are plenty of examples in the
inetd.conf.
I hope this is what you are looking for.
> Any ideas ?
>
> I have also rebooted since making the change to /etc/services
>
>
> TIA
> Carl
>
>
> --
> Carl Lawton
> Xeres Software Support
> XKO Software Ltd
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/