Re: How to check tftp server is running?



On 11/6/07, Andrew Sackville-West <andrew@xxxxxxxxxxxxxxxxxxxx> wrote:
On Tue, Nov 06, 2007 at 11:35:17AM +1100, hce wrote:
On 11/6/07, Andrew Sackville-West <andrew@xxxxxxxxxxxxxxxxxxxx> wrote:
...
please provide

dpkg -l tftpd

~$ dpkg -l tftpd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
rc tftpd 0.17-15 Trivial file transfer protocol server

That command seems work.


rc means that it is not installed.

and

apt-cache policy tftpd

~$ apt-cache policy tftpd
tftpd:
Installed: 0.17-15
Candidate: 0.17-15
Version table:
*** 0.17-15 0
500 ftp://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status

That shows it was indeed installed.

yeah. you've got a problem there.

do

apt-get update

$ sudo apt-get update
Get:1 ftp://ftp.au.debian.org etch Release.gpg [378B]
Get:2 ftp://ftp.au.debian.org etch Release [58.2kB]
Get:3 ftp://ftp.au.debian.org etch/main Packages/DiffIndex
Ign ftp://ftp.au.debian.org etch/main Packages/DiffIndex
Get:4 ftp://ftp.au.debian.org etch/contrib Packages/DiffIndex
Ign ftp://ftp.au.debian.org etch/contrib Packages/DiffIndex
Get:5 ftp://ftp.au.debian.org etch/main Sources/DiffIndex
Ign ftp://ftp.au.debian.org etch/main Sources/DiffIndex
Get:6 ftp://ftp.au.debian.org etch/contrib Sources/DiffIndex
Ign ftp://ftp.au.debian.org etch/contrib Sources/DiffIndex
Hit ftp://ftp.au.debian.org etch/main Packages
Hit ftp://ftp.au.debian.org etch/contrib Packages
Hit ftp://ftp.au.debian.org etch/main Sources
Hit ftp://ftp.au.debian.org etch/contrib Sources
Fetched 58.6kB in 25s (2289B/s)
Reading package lists... Done

apt-get --reinstall install tftpd

$ sudo apt-get --reinstall install tftpd
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 43 not upgraded.
Need to get 0B/15.0kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 59650 files and directories currently installed.)
Preparing to replace tftpd 0.17-15 (using .../tftpd_0.17-15_i386.deb) ...
Unpacking replacement tftpd ...
Setting up tftpd (0.17-15) ...

$ sudo apt-cache policy tftpd
tftpd:
Installed: 0.17-15
Candidate: 0.17-15
Version table:
*** 0.17-15 0
500 ftp://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status

It was the same as the previouse one, what was the problem there?

and provide the output from the install command.
...

$ ls /etc/init.d/ | grep inet
openbsd-inetd

Is it normal that the Debian is running openbsd-inetd?

yes.


and then /etc/init.d/<results of above> start/stop/restart as
required.

I'll run /etc/init.d/openbsd-inetd restart when above question is confirmed.

right, but that won't help with tftpd until you get it installed
properly. see above.


Thank you.

Jim


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



Relevant Pages

  • Re: How to check tftp server is running?
    ... ~$ dpkg -l tftpd ... I did sudo apt-get --reinstall install tftpd ...
    (Debian-User)
  • Re: How to check tftp server is running?
    ... ~$ dpkg -l tftpd ... ii tftpd blah blah blah ...
    (Debian-User)
  • Re: TFTP and RIS
    ... >To manually install the built-in tftpd service (without ... Start a command prompt and type "instsrv tftpd ... >>I want to run an TFTP server on my Win2K server. ... however I don't want to use RIS. ...
    (microsoft.public.win2000.setup_deployment)
  • Re: How to check tftp server is running?
    ... ~$ dpkg -l tftpd ... That command seems work. ... and provide the output from the install command. ...
    (Debian-User)
  • Re: OpenBSD 3.5 on HP PA-RISC
    ... > to serve up tftpd, and the lif35.fs is available so that should work. ... > Be that as it may, I'd prefer to boot from a cd. ... Is that the cd boot segment for creating/burning an install ... LIF is a HP special archive format that can contain multiple member. ...
    (comp.unix.bsd.openbsd.misc)