New Install + Restore = FTP Issues?

6 posts / 0 new
Last post
#1 Mon, 10/29/2012 - 14:22
riptide_wave

New Install + Restore = FTP Issues?

Long story short I did a fresh install of virtualmin on Debian 6.0.6 x86 and I restored my sites and settings from a backup. After the backup though, FTP was not shown as an option. (look at the attached pictures) Its almost like the install of virtualmin did not install FTP properly.

The current sites have FTP access, but im afraid if I add any more accounts then FTP will not work at all. How can I fix this? Thanks

https://www.virtualmin.com/system/files/1.PNG https://www.virtualmin.com/system/files/2.PNG https://www.virtualmin.com/system/files/3.PNG https://www.virtualmin.com/system/files/4.PNG

Mon, 10/29/2012 - 15:33
andreychek

Howdy,

What output do you receive if you run these commands:

ps auxw | grep ftp
netstat -anlp | grep :21
Mon, 10/29/2012 - 16:48
riptide_wave

Sure thing!

root@srv:~# ps auxw | grep ftp
proftpd  16455  0.0  0.0   7644  1660 ?        Ss   Oct27   0:00 proftpd: (accepting connections)
root     22000  0.0  0.0   3308   780 pts/0    S+   16:39   0:00 grep ftp
root@srv:~# netstat -anlp | grep :21
tcp6       0      0 :::21                   :::*                    LISTEN      16455/proftpd: (acc
root@srv:~#
Mon, 10/29/2012 - 23:39
andreychek

Howdy,

Well, with ProFTPd running, and being able to log in as a user over FTP -- that means you'd be able to log in over FTP as any user with a valid shell.

Now, as for why Virtualmin doesn't show it running? That's a fine question!

If you go into Webmin -> Servers -> Proftpd -> Module Config -> System Customization, what is "Path to ProFTPD PID file" set to? And then, does that particular file exist?

If it does exist, what are the contents of the file?

-Eric

Tue, 10/30/2012 - 13:24 (Reply to #4)
riptide_wave

Thanks for the help.

Screenshot https://www.virtualmin.com/system/files/Capture_1.PNG

and code:

root@srv:~# cat /var/run/proftpd.pid
16455
Mon, 11/19/2012 - 09:05
riptide_wave

any more ideas?

Topic locked