Current time: 11-01-2024, 10:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
FTP not working
Author Message
marcuz Offline
Junior Member
*

Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #1
FTP not working
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!
(This post was last modified: 07-26-2012 10:31 AM by marcuz.)
07-26-2012 10:29 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: FTP not working
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 ?
07-26-2012 05:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
marcuz Offline
Junior Member
*

Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #3
RE: FTP not working
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.
(This post was last modified: 07-26-2012 08:01 PM by marcuz.)
07-26-2012 07:50 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #4
RE: FTP not working
hm not exactly what i meant .. anyway. Linux != Windows. You can fix things in here most of the time without reinstalling everything...
07-26-2012 09:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
marcuz Offline
Junior Member
*

Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #5
RE: FTP not working
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
(This post was last modified: 07-26-2012 09:55 PM by marcuz.)
07-26-2012 09:54 PM
Find all posts by this user Quote this message in a reply
marcuz Offline
Junior Member
*

Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #6
RE: FTP not working
using 1.0.6 this time ..
still the same

i will just stick with 1.0.7 and will wait for any help
(This post was last modified: 07-26-2012 11:45 PM by marcuz.)
07-26-2012 11:31 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: FTP not working
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
07-27-2012 04:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
marcuz Offline
Junior Member
*

Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #8
RE: FTP not working
okay i will try it
07-28-2012 09:47 AM
Find all posts by this user Quote this message in a reply
marcuz Offline
Junior Member
*

Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #9
RE: FTP not working
(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
(This post was last modified: 07-28-2012 05:44 PM by marcuz.)
07-28-2012 05:44 PM
Find all posts by this user Quote this message in a reply
marcuz Offline
Junior Member
*

Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #10
RE: FTP not working
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
07-29-2012 06:03 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)