proFTPd doesn't want to login
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
proFTPd doesn't want to login
Hi guys,
I set up proFTPd on my Linux server. All went well for a long time and login and uploading happened no problem whatsoever. Now it suddenly does not want to log in. It comes to where it tries my username then says: Time out.
Any idea what it can be? I did install Postfix mail server a while back as well as some other things and the usual upgrade and update.
Thanks guys.
I set up proFTPd on my Linux server. All went well for a long time and login and uploading happened no problem whatsoever. Now it suddenly does not want to log in. It comes to where it tries my username then says: Time out.
Any idea what it can be? I did install Postfix mail server a while back as well as some other things and the usual upgrade and update.
Thanks guys.
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: proFTPd doesn't want to login
Scan with NMap, check if port 21 is open.
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
more details please...
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: proFTPd doesn't want to login
does the server support anon login?
can you telnet the server on ports 20/21?
can you telnet the server on ports 20/21?
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: proFTPd doesn't want to login
Nmap Free Security Scanner For Network Exploration & HackingDarkRanger wrote:more details please...
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
I do telnet with a command prompt right?
When I type telnet 41.72.132.170 it says telnet command not found
When I type telnet 41.72.132.170 it says telnet command not found
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: proFTPd doesn't want to login
If you're using Windows you need to enable it in Control Panel, Add/Remove Windows Features or something similar.DarkRanger wrote:I do telnet with a command prompt right?
When I type telnet 41.72.132.170 it says telnet command not found
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
C:\Users\xxxxxx>telnet 41.72.132.170:21
Connecting To 41.72.132.170:21...Could not open connection to the host, on port
23: Connect failed
Connecting To 41.72.132.170:21...Could not open connection to the host, on port
23: Connect failed
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
does this for port 20 too.
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: proFTPd doesn't want to login
Try Nmap now.
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
Okay, I broke my FTP server now.
I played around with the settings a bit, and set it to run standalone. That didn't work so I changed it back to run in inetd mode.
Now when I try start the FTP server I get this error: Failed to start FTP server : You cannot start the server daemon when in inetd mode.
I played around with the settings a bit, and set it to run standalone. That didn't work so I changed it back to run in inetd mode.
Now when I try start the FTP server I get this error: Failed to start FTP server : You cannot start the server daemon when in inetd mode.
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: proFTPd doesn't want to login
the format you're after isDarkRanger wrote:C:\Users\xxxxxx>telnet 41.72.132.170:21
Code: Select all
telnet 41.72.132.170 20
&
telnet 41.72.132.170 21
for FTP, 20 is the data stream port, 21 is the instruction stream port.
installing nmap to determine if the FTP service is up is... interesting advice :/
Code: Select all
/etc/init.d/proftpd restart
proFTP bible
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
configuring it with webmin.
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: proFTPd doesn't want to login
you may need to dig into the relevant conf files to verify your changes have been applied...
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: proFTPd doesn't want to login
To check if the port is open.rustypup wrote: installing nmap to determine if the FTP service is up is... interesting advice :/
Some routers are set up to block telnet commands.
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
how do I completely remove proftpd with all its config files.
Telnet returns nothing on port 20 (says connection failed)
It does however make a black screen on port 21.
Telnet returns nothing on port 20 (says connection failed)
It does however make a black screen on port 21.
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: proFTPd doesn't want to login
then the service is up on port 21... (this is where you would submit your ACTV/PASV/NAME/PWD/ASCII commands...)
does the service restart or throw the same error? in which case the service is in a mixed state, (the standalone session is bound to port 21 preventing inetd from initiating the service)
does the service restart or throw the same error? in which case the service is in a mixed state, (the standalone session is bound to port 21 preventing inetd from initiating the service)
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
it throws the same error. When I click start server it says: Failed to start FTP server : You cannot start the server daemon when in inetd mode.
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: proFTPd doesn't want to login
Code: Select all
fuser -n tcp 21
what does the ftp line in your /etc/inetd.conf state?
you could also try restarting inetd itself...
Code: Select all
/etc/init.d/inetd restart
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
the first bit of code only gives me:rustypup wrote:this should spit out the PID, (hopefully initialised by inetd), of the app serving that port...Code: Select all
fuser -n tcp 21
what does the ftp line in your /etc/inetd.conf state?
you could also try restarting inetd itself...understand that inetd passively listens to a number of ports and only launches the necessary server daemon when it encounters a connection attempt...Code: Select all
/etc/init.d/inetd restart
Code: Select all
21/tcp 1830
Code: Select all
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
Code: Select all
root@ubuntu:~# /etc/init.d/inetd restart
-bash: /etc/init.d/inetd: No such file or directory
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: proFTPd doesn't want to login
that's fine... you can confirm which service is running on that port using ps:DarkRanger wrote:the first bit of code only gives me:Code: Select all
21/tcp 1830
Code: Select all
ps -A | grep 1830
new one for me... netkit scripts missing maybe?...DarkRanger wrote:Code: Select all
root@ubuntu:~# /etc/init.d/inetd restart -bash: /etc/init.d/inetd: No such file or directory
if you'd like to trash and start anew...
Code: Select all
apt-get --purge proftpd
apt-get install proftpd
<edit>
just installed proftpd and noted the latest inetd revision is actually the openbsd flavour...
Code: Select all
######@######:~$ /etc/init.d/openbsd-inetd restart
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
First command gives this...
I assume it is correct?
I've also tried the restart thing, still the same error. Going to try a 'reinstall'.
Code: Select all
root@ubuntu:~# ps -A | grep 1830
1830 ? 00:00:00 inetd
I've also tried the restart thing, still the same error. Going to try a 'reinstall'.
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
E: Invalid operation proftpd
thats the error i get when I try to purge...
thats the error i get when I try to purge...
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: proFTPd doesn't want to login
Code: Select all
root@ubuntu:~# apt-get --purge autoremove proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting proftpd-basic instead of proftpd
The following packages will be REMOVED:
libfile-copy-recursive-perl* openbsd-inetd* proftpd-basic* update-inetd*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 2662kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 45399 files and directories currently installed.)
Removing proftpd-basic ...
ProFTPd is started from inetd/xinetd.
Purging configuration files for proftpd-basic ...
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: proFTPd doesn't want to login
ah... good to hear...
for future fun, if you're unsure of the installed package:
for future fun, if you're unsure of the installed package:
Code: Select all
dpkg --get-selections | grep <pkg_filter>
eg
dpkg --get-selections | grep ftp
Most people would sooner die than think; in fact, they do so - Bertrand Russel