ispCP - Board - Support
FTP not working - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: FTP not working (/thread-16208.html)

Pages: 1 2


FTP not working - marcuz - 07-26-2012 10:29 AM

Hi,

I have reinstalled ispCPOmega 3 times and still the same. When creating FTP users and trying to connect it, it always ends up in "unable to retrieve directory listing."

I re-installed ispCPOmega fresh this time and I saw this.
Followed all steps and this occur in step 4.

Code:
aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)

Code:
Setting up proftpd-basic (1.3.3a-6squeeze4) ...
grep: /etc/inetd.conf: No such file or directory
Warning: The home dir /var/run/proftpd you specified can't be accessed: No such file or directory
Adding system user `proftpd' (UID 108) ...
Adding new user `proftpd' (UID 108) with group `nogroup' ...
Not creating home directory `/var/run/proftpd'.
Adding system user `ftp' (UID 109) ...
Adding new user `ftp' (UID 109) with group `nogroup' ...
Creating home directory `/home/ftp' ...
`/usr/share/proftpd/templates/welcome.msg' -> `/home/ftp/welcome.msg.proftpd-new'
Starting ftp server: proftpd.
Setting up proftpd-mod-mysql (1.3.3a-6squeeze4) ...
Setting up rkhunter (1.3.6-4) ...
[ Rootkit Hunter version 1.3.6 ]
File created: searched for 161 files, found 126
Setting up sasl2-bin (2.1.23.dfsg1-7) ...
update-rc.d: warning: saslauthd stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)
To enable saslauthd, edit /etc/default/saslauthd and set START=yes ... (warning).

I am using debian 6 32bit in a xen platform with 512ram.
I am thinking that this part has something to do about this situation..

Code:
Warning: The home dir /var/run/proftpd you specified can't be accessed: No such file or directory
Adding system user `proftpd' (UID 108) ...
Adding new user `proftpd' (UID 108) with group `nogroup' ...
Not creating home directory `/var/run/proftpd'.
Adding system user `ftp' (UID 109) ...
Adding new user `ftp' (UID 109) with group `nogroup' ...
Creating home directory `/home/ftp' ...
`/usr/share/proftpd/templates/welcome.msg' -> `/home/ftp/welcome.msg.proftpd-new'
Starting ftp server: proftpd.

But I do not know how to solve it.

Thanks for your help!


RE: FTP not working - ephigenie - 07-26-2012 05:50 PM

What about your configuration ?
IspCP configured the proftpd. Did you remove the config files or did you install proftpd after installing ispCP or what happened there ?


RE: FTP not working - marcuz - 07-26-2012 07:50 PM

clean install and nothing taken out.

trying to re install it this time and inserted

Code:
#apt-get install proftpd

before step 2

update!!!

just completed step 4 and this is what I got this time:


Code:
Starting postfix greylisting daemon: postgrey.
Setting up proftpd-mod-mysql (1.3.3a-6squeeze4) ...
Setting up rkhunter (1.3.6-4) ...
[ Rootkit Hunter version 1.3.6 ]
File created: searched for 161 files, found 126
Setting up sasl2-bin (2.1.23.dfsg1-7) ...
update-rc.d: warning: saslauthd stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)
To enable saslauthd, edit /etc/default/saslauthd and set START=yes ... (warning).

cross fingers and doing the entire process now.


update!!!

just finished all steps and so far so good. no error or warning.


RE: FTP not working - ephigenie - 07-26-2012 09:10 PM

hm not exactly what i meant .. anyway. Linux != Windows. You can fix things in here most of the time without reinstalling everything...


RE: FTP not working - marcuz - 07-26-2012 09:54 PM

at the end still the same.

I have not any update with proftpd or in any conf files
(07-26-2012 09:10 PM)ephigenie Wrote:  hm not exactly what i meant .. anyway. Linux != Windows. You can fix things in here most of the time without reinstalling everything...

let me re install it maybe this time

for the 6th time


RE: FTP not working - marcuz - 07-26-2012 11:31 PM

using 1.0.6 this time ..
still the same

i will just stick with 1.0.7 and will wait for any help


RE: FTP not working - joximu - 07-27-2012 04:57 PM

Problems with ftp need the following:

stop proftpd
run proftpd with the following command
proftpd -n -d 5
(you can choose a higher loglevel than 5, the -n makes that you see the log directly on the screen...)

then try to connect... and then tell us what's written o the screen when you get the "unable to retireve directory listing"....

/J


RE: FTP not working - marcuz - 07-28-2012 09:47 AM

okay i will try it


RE: FTP not working - marcuz - 07-28-2012 05:44 PM

(07-27-2012 04:57 PM)joximu Wrote:  Problems with ftp need the following:

stop proftpd
run proftpd with the following command
proftpd -n -d 5
(you can choose a higher loglevel than 5, the -n makes that you see the log directly on the screen...)

then try to connect... and then tell us what's written o the screen when you get the "unable to retireve directory listing"....

/J

when i issue the command

Code:
proftpd -n -d 5

this is what i got

Code:
- using TCP receive buffer size of 87380 bytes
- using TCP send buffer size of 16384 bytes
- mod_tls/2.4.2: using OpenSSL 0.9.8o 01 Jun 2010
- mod_sftp/0.9.7: using OpenSSL 0.9.8o 01 Jun 2010
- disabling runtime support for IPv6 connections
- DenyFilter: compiling regex '\*.*/'
- <Directory /*>: adding section for resolved path '/*'
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: using '!mod_sql.c' section at line 119
- <IfModule>: using '!mod_sql_mysql.c' section at line 123
- <IfModule>: skipping '!mod_quotatab.c' section at line 126
- <IfModule>: using '!mod_quotatab_sql.c' section at line 129
- <IfModule>: using 'mod_quotatab.c' section at line 150
- <IfModule>: using 'mod_ratio.c' section at line 165
- <IfModule>: using 'mod_delay.c' section at line 172
- <IfModule>: using 'mod_ctrls.c' section at line 176
- <IfModule>: using 'mod_ctrls_admin.c' section at line 184
- processing configuration directory '/etc/proftpd/ispcp'
- mod_dso/0.5: module 'mod_ctrls_admin.c' already loaded
- Fatal: LoadModule: error loading module 'mod_ctrls_admin.c': Operation not permitted on line 15 of '/etc/proftpd/modules.conf'

not sure what to do from here


RE: FTP not working - marcuz - 07-29-2012 06:03 AM

a lot of # added since it keeps on saying ***.c already running
ended up with my domain not resolving anymore

=======================

redo and back to clean install

no error found when doing
*** no domain added yet

Code:
/etc/init.d/proftpd stop
proftpd -n -d5

will continue tomorrow ... sleep mode