LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-05-2003, 07:07 AM   #1
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
Angry Glftpd driving me crazy !


Using Mandrake 9.2, installed Glftpd using the ./installgl.sh script (no errors). Installed it to /glftpd and port 2005

then

# ftp localhost 2005
Connected to 127.0.0.1.
421 Service not available, remote server has closed connection

Thats all I get, checked all the glftpd logs.. nothing at all, checked /var/auth.log and it says

Nov 5 12:57:25 erc xinetd[3961]: START: glftpd pid=3978 from=127.0.0.1
Nov 5 12:57:25 erc glftpd[3978]: connect from 127.0.0.1 (127.0.0.1)

I have edited the glftpd.conf and made sure it was shutdown 0 (all users) I have edited the glftpd user file so that IP is set to

IP *@*

Instead of

IP *@127.0.0.1

Even although that should have worked.. argh! its driving me nuts and the worst bit is the documentation is the most useless thing on earth !! its says

If you are getting a "421 Service not available" message or something similar, you didn't install glftpd correctly.

but I have checked everything the install script with the manual install instructions and its all done properly ..

Everytime I changed something I would

/etc/rc.d/init.d/xinetd restart

cant find any error messsages anywhere, so dont know what to fix.. all I get is 421 error above, disabled all firewalls etc.

Help me



Last edited by _KDF; 11-05-2003 at 07:09 AM.
 
Old 11-05-2003, 09:14 AM   #2
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Original Poster
Rep: Reputation: 15
nevermind.. sorted it.
 
Old 01-07-2004, 11:07 AM   #3
qball
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
how did you fix it?

I am having the identical problem. I am sure I am overlooking something simple.

How did you resolve the problem?
 
Old 01-13-2004, 10:06 AM   #4
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Original Poster
Rep: Reputation: 15
Go to www.glftpd.com and get the latest version from there.. not www.glftpd.org
 
Old 01-13-2004, 01:53 PM   #5
Strom
LQ Newbie
 
Registered: Jan 2004
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
I downloaded the latest version glftpd-LNX_1.32.tgz from glftpd.com so this isn't surely my problem. I still got the anoying 421 Service not available, remote server has closed connection message, could someone help?
 
Old 01-13-2004, 05:52 PM   #6
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Original Poster
Rep: Reputation: 15
You are trying to log in locally from the same machine, as glftpd in default installation will only accept connections from 127.0.0.1
 
Old 01-14-2004, 07:11 AM   #7
Strom
LQ Newbie
 
Registered: Jan 2004
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
I din't really understand that last post
When i connect from localhost i get the that error and when i connect from a remote machine it dosen't connect at all, well connection is not refused but no reply either, even not that error
 
Old 01-14-2004, 01:31 PM   #8
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Original Poster
Rep: Reputation: 15
an unaltered version of glftpd will only accept connections from 127.0.0.1 but it looks if you are getting that far.. did you install it from the binary ? as recommended by the install file.
 
Old 01-14-2004, 02:37 PM   #9
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you're using xinetd, check the configuration and make sure it's enabled. That was the case when I recently installed glftpd on a Gentoo box - I had to comment out the "only_from = localhost" line in /etc/xinetd.conf.

Håkan
 
Old 01-14-2004, 02:52 PM   #10
Strom
LQ Newbie
 
Registered: Jan 2004
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
_KDF, Well i installed from the glftpd-LNX_1.32.tgz file, and souce of glftpd isn't available anyway afaik

hw-tph, in /etc/xinetd.conf there isn't a only_from var, but in /etc/xinetd.d/
that line exists in some files .. for example:
Code:
service services {
  ..
  disable = yes
  only_from = 127.0.0.1
  ..
}
Code:
service servers {
  ..
  disable = yes
  only_from = 127.0.0.1
  ..
}

Last edited by Strom; 01-14-2004 at 03:12 PM.
 
Old 01-14-2004, 03:35 PM   #11
Strom
LQ Newbie
 
Registered: Jan 2004
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
it looks like my firewall blocked access from remote ip's to my previous port, but now when i changed the prot back to 21 i can connect from remote ip's .. well i can get to the point where error 421 comes
 
  


Reply



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
[ ] @ are driving me crazy FireInTheDark Linux - Software 1 11-28-2004 09:42 AM
gnuplot 4.0 is driving me crazy windowsrefund Linux - Software 1 09-01-2004 07:42 AM
Help this is driving me crazy!!!!!! Wolfy Linux - Hardware 1 07-07-2004 01:32 AM
rhythmbox driving me crazy... Camasii Linux - Software 4 01-22-2004 09:08 AM
NVidia is driving me crazy!!! Eugene Linux - General 3 12-05-2003 01:34 PM

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

All times are GMT -5. The time now is 10:00 AM.

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