LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2006, 05:44 PM   #1
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
login probloms with proftpd


hi'
i have some login probloms with my proftpd.
i can login to my server from the command line, but cant login to him via the browser.
im using arch linux as a server.

when im doing netstat i get the right answer

Code:
tcp        0      0 192.168.10.14:48949     0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0     51 192.168.10.14:21        192.168.10.1:4056       ESTABLISHED
tcp        0     52 192.168.10.14:22        192.168.10.94:3945      ESTABLISHED
but still i get the time out after login altough connect to server.

this is my proftpd.conf file.

Code:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      ziggy
ServerType                      standalone
DefaultServer                   on

# Port 21 is the standard FTP port.
Port                            21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            nobody
Group                           nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

RequireValidShell off

#This is the file that proftpd puts it.s logs.
SystemLog /var/log/proftpd.log

Last edited by doronunu; 04-21-2006 at 05:51 PM.
 
Old 04-21-2006, 06:02 PM   #2
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
I am not sure but I think what you are trying to do is something different. I had proftpd running in my server for a few days for some file transfer that a friend had to do but I only worked with the command line version so he logged in the server using windows ftp command. To run it using apache(i am supposing your web server is apache) you need to have a module for ftp access. I know you want an answer but since I cant give it to you I thought a pointer might help. So look for ftp module for apache.
 
Old 04-21-2006, 06:16 PM   #3
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
well actully im not sure i need to have apache at all for running proftpd.

im using ftp://ftp.domain.org
i getting the login window but cant login. i get time out, after i click the login button.
 
Old 04-21-2006, 06:26 PM   #4
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
You dont need to have apache to run proftpd. Here is what you are looking for (i guess):
http://www.linuxforums.org/forum/red...b-browser.html
 
Old 04-21-2006, 06:34 PM   #5
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
well i tought to go for the inetd stuff but.. i cant find inetd on my machine.
 
Old 04-21-2006, 06:37 PM   #6
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
if you need it and dont have it, why not install it?
 
Old 04-21-2006, 06:43 PM   #7
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
cant find it on my pacman.
do you have a link for the source or somthing?
 
Old 04-21-2006, 06:51 PM   #8
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Try this http://www.xinetd.org/

Look for xinetd in your package manager. Good luck.
 
Old 04-21-2006, 06:56 PM   #9
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
i allready install xinetd.
but i dont know how to configure this one.
 
Old 04-21-2006, 07:01 PM   #10
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Neither do I If you cant find setup instructions for your system I suggest you start a new thread so people can help you better. I will look into it though and if I find anything that can help I will post it here. Look for specific instructions for your distribution first. If none shows then look at others.
 
Old 04-21-2006, 07:08 PM   #11
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
What about this? http://httpd.apache.org/docs/2.2/mod/mod_proxy_ftp.html

Or this: http://www.redhat.com/docs/manuals/l...td-config.html

As a temporary solution: Do you need the FTP server? Maybe you can live with a SSH server...

Last edited by leosgb; 04-21-2006 at 07:10 PM.
 
Old 04-21-2006, 07:19 PM   #12
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
censored. censored. censored. censored.

Last edited by doronunu; 04-22-2006 at 04:55 AM.
 
Old 04-21-2006, 07:21 PM   #13
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Cool. Congratulations.
 
Old 04-21-2006, 07:25 PM   #14
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
or not. it worked for a sec tough
 
Old 04-21-2006, 07:34 PM   #15
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
now i got it it working with the local ip but not working with the domain alltough it working with the domain trough the command line. what the hell?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proftpd tell me can not login namit Linux - Software 5 12-11-2005 10:24 AM
Can't login to ProFTPd Martin Strand Linux - Networking 8 07-11-2005 09:59 PM
can't login proftpd pipio Linux - General 0 04-19-2004 12:55 PM
Why my proftpd sometimes can't login? itebooks Linux - Software 0 03-29-2004 09:48 PM
proftpd can't login nocturnal Linux - Software 3 12-15-2003 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration