Re: How to check tftp server is running?



On 11/5/07, Andrew Sackville-West <andrew@xxxxxxxxxxxxxxxxxxxx> wrote:
On Mon, Nov 05, 2007 at 03:14:05PM +1100, hce wrote:
On 11/5/07, Jeff Grossman <jeff@xxxxxxxxxxx> wrote:
hce wrote:
Hi,

I've just installed tftp and tftpd package by apt-get. But, I could
not see the tftp server running. Actually, I could not figure out
where is the tftp script. In FC6, the tftp script is in xinit.d. In
Debian, there is not xinit.d.

How can I check whether the tftp server is running or not? And, if
not, which command I can call to run the tftp server?

Thank you.

Jim



I don't think Debian uses xinetd by default. It puts everything in the
inetd.conf file. You can manually move the entries over to an xinetd file.

probably you should avoid inet.d and just start the service directly.


Indeed, the tftp is in inetd.conf file. But, how can I
run/restart/stop tftp server? Also, how can I check whether the tftp
server is running or not? I checked ps and grep with in.tftpd, but
could not find it.

in debian services are started with an init script stored in
/etc/init.d/ and linked to various runlevels in /etc/rc[S123456].d/

I've checked in /etc/init.d, there is no tftp, nor tftpd. I did
installed by "apt-get install tftp" and "apt-get install tftpd". Where
are those scripts? Or did I installed wrong tftp packages?

to start the service use either

/etc/init.d/<Service name> start

That is the same way in FC where service script can be
start/stop/restart. But, I could not find tftp or tftpd scripts.

or

invoke-rc.d <Service name> start

to check the status of a service, look at ps -e (grepping as
appropriate) or check

invoke-rc.d <Service name> status

I've tried "/usr/sbin/invoke-rc.d tftpd status" with following error:

invoke-rc.d: unknown initscript, /etc/init.d/tftpd not found.

Thank you.

Jim

(or /etc/init.d/<Service name>)

personally, i like the /etc/init.d/ route as you get tab completion of
a service name, if you happen to not remember it exactly.

Many services won't actually start unless they are enabled in
/etc/default/<service name>, so if you start a service and it doesn't
seem to work, check there.

hth

A

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHLpqtaIeIEqwil4YRAv5jAKDhJX+1uJRHeTo9dU2qdl0kHxPgDwCfe+og
0fGDfnR+jZ69XP4wsMRNfQg=
=/Bah
-----END PGP SIGNATURE-----




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Still no TFTP client?
    ... I am running a tftp server you probably won't find it) how would ... sometimes the issue was caused by a simple typo in the configuration file. ... Application sends SNMP command to network device telling it to write its config to this file name. ...
    (comp.os.vms)
  • Re: Still no TFTP client?
    ... I am running a tftp server you probably won't find it) how would ... "A typo in a configuration file" is not a Unix problem. ... way is non-functional and the other a security hole. ...
    (comp.os.vms)
  • Re: TFTP to Pix 506 Issues
    ... I believe it merges with the running config, ... The 'wr net' command does, ... copy the current running config to the network (TFTP) server. ... > the configuration from the TFTP server back into the PIX. ...
    (comp.security.firewalls)
  • Re: Still no TFTP client?
    ... examples of Cisco on the Web show TFTP for moving configs, ... How do you handle it with older network equipment which ONLY supports ... I am running a tftp server you probably won't find it) how would ...
    (comp.os.vms)
  • Re: ISA 2000 and TFTP
    ... I've done this before using the Firewall client to get a single TFTP server ... Protocol Definition: TFTP Server ...
    (microsoft.public.isa.configuration)