Thread (1 message) 1 message, 1 author, 1999-02-11
  • (off-list ancestor, not in this archive)
  • Re: anonftp...??? · Ken Roberts <hidden> · 1999-02-11

Re: anonftp...???

From: Ken Roberts <hidden>
Date: 1999-02-11 03:33:54


do you mean without rebooting your machine?

if i understand you correctly, you have not changed any configuration files, but
instead have killed the anonymous ftp server.

i think, if inetd is running your anonymous ftp, then you should be able to do
this:

kill -HUP `cat /var/run/inetd.pid`

BEFORE YOU DO THIS:
when you send a HUP (hangup) to a unix daemon, it re-reads the configuration
file.  this is the least-destructive way to do this, it should cause all your
servers to re-read their configs without breaking critical connections to users.

also, the quotes in the line above are backticks, which is under the ~ key.  if
you can't get that to work, then you can break the command into two parts:

cat /var/run/inetd.pid

<number is printed>

kill -HUP <number>

hello...

what is to do, if i ftpshut the anonymous ftp-server and want to restart
it?

mart

-------------------------------------------------------------------------------
    Ken Roberts                                      ken.r@worldnet.att.net
                 Oft-times thou feelest like unto a nut,
                     And yet, M'lord, anon, feel'st thou not so.
                 Yon Almond Joy these selfsame nuts doth have,
                     Whereas contrary Mounds doth have them not.
                                 -- William Shakespeare, kind of


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help