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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-26-2005, 06:59 PM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Rep:
|
Can't log in pure-ftpd server with IE, but can with command prompt.
Hi,
I'm currently running a pure-ftpd server on my computer running Debian Linux. I did it according to an article titled: "Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management)", which I can't post because i don't have 5 posts yet =p. It described how to use a MySQL database for virtual accounts, and its running pure-ftpd as a standalone (for more information search the article name on google).
Well, I can log in with a command prompt FTP client just fine, and everything seems to work. When I try to login with clients such as FlashFXP, or Internet Explorer, I get the prompt to log into my account. After logging in, it waits for a long time "Getting contents of folder", and then I get an error message "An error occured opening that folder on the FTP server. Make sure you have permission to acccess that folder. Details: The operation timed out."
Is there any way to fix this?
Thanks in advance!
|
|
|
11-26-2005, 07:40 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Are you using an actual account of anonymous account. What exactly are you typing into the address bar in IE? Is FTP enabled in your IE settings?
If you have an actual account your using to connect, try something like this in the address bar:
http://usernameassword@ftp.server.com
|
|
|
11-26-2005, 07:58 PM
|
#3
|
Member
Registered: Jun 2004
Posts: 124
Rep:
|
I run a server using PureFTPD, theres a commandline option you need to have set, IE is a broken FTP client, but theres a commandline option to accept these "broken" clients...
don't have my setup in front of me, but look through the docs... its in there...
|
|
|
11-27-2005, 06:42 PM
|
#4
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Original Poster
Rep:
|
Oh, ok. That's what I thought. I had trouble setting the command line option, though. I tried
/etc/init.d/pure-ftpd-mysql start -b -D
But that didn't seem to affect anything (I'm kind of new with linux). How would I enable these command line options?
Thanks!
|
|
|
11-27-2005, 10:04 PM
|
#5
|
Member
Registered: Jun 2004
Posts: 124
Rep:
|
Hmmm, the -b should do it.. what kind of errors are showing in your log?
|
|
|
11-27-2005, 10:25 PM
|
#6
|
Member
Registered: Jan 2005
Posts: 178
Rep:
|
It may be caused by the different connection mode (passive vs active).
But I can't recall exactly which one using the passive mode by default.
Please refer to the following article:
http://slacksite.com/other/ftp.html
|
|
|
11-27-2005, 10:42 PM
|
#7
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Original Poster
Rep:
|
Well, when I try to start up pure-ftpd with the -b option, all I see is this:
Code:
~# /etc/init.d/pure-ftpd-mysql start -b
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -O clf:/var/log/pure-ftpd/transfer.log -B
Am I supposed to see the -b somewhere in there? Because the -B at the end is something different...
|
|
|
11-27-2005, 10:47 PM
|
#8
|
Member
Registered: Jan 2005
Posts: 178
Rep:
|
pure-ftpd -b directly;
or modify the pure-ftpd-mysql script, add the -b switch.
|
|
|
11-28-2005, 12:19 AM
|
#9
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Original Poster
Rep:
|
Umm, when I try to run it directly, it tells me
Unable to start a standalone server: Address already in use
And I'm having some trouble editing the script. Can anybody help?
Thanks!
|
|
|
11-28-2005, 12:41 AM
|
#10
|
Member
Registered: Jan 2005
Posts: 178
Rep:
|
Server is already running? Try stop it first.
Code:
/etc/init.d/pure-ftpd-mysql stop
Then,
Code:
/usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -O clf:/var/log/pure-ftpd/transfer.log -B -b
|
|
|
11-28-2005, 12:54 AM
|
#11
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Original Poster
Rep:
|
Ok, I tried this, but after I entered the command you gave me, it excecuted it without any problems (but it didn't return anything either). But, when I tried to log in, same thing happened =(.
Also, when I tried to run the command you gave me twice, without stopping the server, it didn't give me any errors like the one it gave me before. When I stopped the server, then tried to run "Pure-ftpd-mysql -b" by itself, it stil gave me the "Unable to start standalone server" message.
Any ideas?
|
|
|
11-28-2005, 01:12 AM
|
#12
|
Member
Registered: Jan 2005
Posts: 178
Rep:
|
Do you check the passive actvie thing.
I'm now under windows XP and check the IE setting, found it using passive mode by default, and the ftp command use port mode automatically. It's the difference.
|
|
|
11-28-2005, 07:59 PM
|
#13
|
Member
Registered: Dec 2003
Location: Fresno
Distribution: Gentoo Ricer
Posts: 85
Rep:
|
Yeah, look into your Pure Config file, this sounds like a Passive/Active setting issue.
|
|
|
11-28-2005, 08:23 PM
|
#14
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Original Poster
Rep:
|
Umm, when I use FlashFXP, and turn Passive mode off, it still doesn't work ='(.
I think it's because of the -b. I'm new to linux, and I think the problem is that I can't get the -b option to turn on.
Has anybody used pure-ftpd-mysql before and fixed this problem?
Again, thanks for all the help.
|
|
|
11-30-2005, 12:32 AM
|
#15
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Original Poster
Rep:
|
Ok, I just realized, running any of the init.d scripts doesn't seem to be doing anything to pure-ftpd. Fore example, if I try typing
/etc/init.d/pure-ftpd-mysql stop
It says: "Stopping ftp server: pure-ftpd", but when I try to connect to it, I can still log into my ftp account! Like I said, I'm pretty new, but could this be because I'm running the server in standalone mode? How do I switch to the other mode (inetd I think)?
|
|
|
All times are GMT -5. The time now is 06:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|