V
V
Vadim Choporov2016-12-23 11:39:21
linux
Vadim Choporov, 2016-12-23 11:39:21

How to restart ftp server in debian??

Good afternoon.
I apologize for the presentation in advance - in Linux there is no boom-boom at all. Windows admin. Once upon a time, when I was not there yet, a VPS server was rented for the site under the ftp server without administration. Now there are problems with the work of ftp (there is no connection, then it hangs on the transfer) - and I found out that we have it)) I have a server IP address and credentials. I was able to connect with this via ssh via putty - and now I sit and look at the console like a sheep at a new gate. I found out that the Linux version is Debian 6.0.10 squeeze. Can someone tell me - how can I reboot the "service" of the FTP server, or at least the server itself ?? reboot or shutdown want superuser rights - but when I enter sudo - it gives out not found. Generally I do not catch up how to overload service or the server.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene Wolf, 2016-12-23
@tolstyiii

Can someone tell me - how can I reboot the "service" of the FTP server, or at least the server itself ??

This is essentially the same thing, what you designated as "service", when it is restarted, restarts the server itself (*here I meant FTP server, but then I realized that the question meant "entirely linux server) . The "service" itself, in 99% of cases, is just an initialization script.
As far as I remember, the idea to shove sudo into the system belongs to Ubuntu, and debian does not have it by default (I can not vouch for the accuracy of the information here, but this is not very important). At least in 6-ke I don’t remember that it would be installed “out of the box”.
If you want sudo, you can write apt-get install sudo, and it will appear.
Restarting the server itself, this serivce имя_службы restartor /etc/init.d/имя_службы restart
But both (both apt-get and restarting the "service") also require administrator rights (root). Look in the control panel (where the server was bought / paid for), there should be a "restart server" button.

Дмитрий Шицков, 2016-12-23
@Zarom

Вероятно у вас нет установленного sudo. Используйте su - и введите пароль от root, если таковой есть

E
Erelecano Oioraen, 2016-12-23
@Erelecano

su -
вводим пароль
/etc/init.d/pure-ftpd restart (ну или что там у вас vsftpd, proftpd)
Но вам таки нужен пароль пользователя root, раз sudo нет.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question