LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-18-2007, 10:47 AM   #16
jevin
LQ Newbie
 
Registered: Apr 2007
Location: Arouca, Trinidad
Distribution: Fedora core 6/Ubuntu
Posts: 14

Rep: Reputation: 0

Quote:
Originally Posted by medecau
also, you might want to disable IPV6 if you dont use it.

if you go into proftd.conf right at the top you should have the option:
UseIPv6 on

turn it "off":
UseIPv6 off

save and run it again.

i found the answer at howtoforge page -> perfect_setup_ubuntu704_p6
(cant post urls since its my first post here.. :P)

served me well.

i did this and i get this error:
- Fatal: unknown configuration directive 'UseIPv6' on line 4 of '/etc/proftpd.conf'
 
Old 05-18-2007, 10:50 AM   #17
jevin
LQ Newbie
 
Registered: Apr 2007
Location: Arouca, Trinidad
Distribution: Fedora core 6/Ubuntu
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by meepjordan
Just wanted to say thanks to pk2001 and Drumplayr for helping me resolve this issue for my server too.
I am also getting this error message:
- IPv6 getaddrinfo 'localhost' error: Name or service not known
I don't know why, I have this line in my hosts:
127.0.0.1 localhost localhost.localdomain

It still works though, thanks to these two lines:
ServerType standalone
MasqueradeAddress [my domain name.com]

Thanks!
i've tried this and got this error:

- IPv4 getaddrinfo 'webtest.mydomain.com' error: Name or service not known
- Fatal: MasqueradeAddress: unable to resolve "webtest.mydomain.com" on line 10 of '/etc/proftpd.conf'
 
Old 05-18-2007, 10:54 AM   #18
jevin
LQ Newbie
 
Registered: Apr 2007
Location: Arouca, Trinidad
Distribution: Fedora core 6/Ubuntu
Posts: 14

Rep: Reputation: 0
i've tried most, if not all of the solutions mentioned here and get the same error.

i don't want to restart the server since it's a mission critical server.

is there anywhere else that linux name resolution takes place that i can check out?

and if i make any changes to /etc/hosts do i need to restart any services for the changes to take effect?

thanks for your help
 
Old 05-18-2007, 01:27 PM   #19
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
First off, I came to this tread a little late. So if you are still having trouble with proftpd then post your /etc/hosts file and your proftpd.conf file as the currently are.

Second, if you use the hostname command, it will temporarily change your hostname for your current 'session' for lack of a better word. As soon as you reboot, your hostname is set back to what is in /etc/hosts and /etc/sysconfig/network.

This at least is how it used to work when I played with it. I got a the same errors as everyone else here on my debian box, but resolved it with a two quick changes. One to hosts and one to proftp.conf.

nomb

I just doubled checked and found I was right. It isn't a permanent change but is active right away.

This is where I found it.

Last edited by nomb; 05-18-2007 at 01:35 PM.
 
Old 05-18-2007, 01:42 PM   #20
jevin
LQ Newbie
 
Registered: Apr 2007
Location: Arouca, Trinidad
Distribution: Fedora core 6/Ubuntu
Posts: 14

Rep: Reputation: 0
Cool

Quote:
Originally Posted by lmcilwain
OK, thats odd..

For some reason ftp is actually working now. I started proftpd as root but I had done that before and it complained of not being able to resolve the hostname. I gave it a try just before I posted this and it started with no problem:

nobody 17339 1 0 13:06 ? 00:00:00 proftpd: (accepting connections)
this is weird, the same thign happened to me. when i try to start proftpd via ssh it give the error, but when i start it through webmin, it works... :S

thanks for your suggestions.
 
Old 05-18-2007, 01:43 PM   #21
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
Quote:
Originally Posted by jevin
this is weird, the same thign happened to me. when i try to start proftpd via ssh it give the error, but when i start it through webmin, it works... :S

thanks for your suggestions.
were u logged in as root through ssh or just a regular user?
and jevin did you see my post to you?
 
Old 05-18-2007, 01:48 PM   #22
jevin
LQ Newbie
 
Registered: Apr 2007
Location: Arouca, Trinidad
Distribution: Fedora core 6/Ubuntu
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by nomb
were u logged in as root through ssh or just a regular user?
and jevin did you see my post to you?
root.

oh yes i saw your post thanks for the info:
"/etc/hosts and /etc/sysconfig/network"

i'll keep that in mind, i realised that
hostname "name"
doesn't *truly* change a hostname to "name".
 
Old 04-25-2008, 01:55 PM   #23
themuddler
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Smile Fatal: MasqueradeAddress: unable to resolve

I have a similar problem. I receive the message:
- Fatal: MasqueradeAddress: unable to resolve "themuddler.ath.cx" on line 16 of '/etc/proftpd/proftpd.conf'
when doing "sudo proftpd". I am behind a router and have forwarded port 21 to this laptop.

Code:
$ more /etc/proftpd/proftpd.conf
#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include	/etc/proftpd/modules.conf

ServerType inetd
DefaultServer on
Umask 022
ServerName "themuddler.ath.cx"
ServerIdent on "My FTPD"
ServerAdmin Admin@this.domain.topdomain
IdentLookups on
UseReverseDNS on
Port 21
PassivePorts 49152 65534
MasqueradeAddress themuddler.ath.cx
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 30
TransferRate STOR 40
TransferRate STOU 40
TransferRate APPE 40
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /var/ftp
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
  AllowUser mum
  DenyALL
</Limit>

<Anonymous /var/ftp/mum>
User mum
Group others
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
 Allow from all
 Deny from all
</Limit>
AllowOverwrite off
AllowOverwrite on
<Limit LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  R
MD XRMD SITE_RMDIR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>
Code:
# more /etc/hosts
127.0.0.1	localhost
127.0.1.1	mud-laptop

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I really would appreciate any help or ideas with this. I'm trying to set up a way of my family getting at our photos and videos. If I should start a separate thread instead then please accept my apologies and let me know. Thanks.
 
Old 01-17-2012, 07:21 PM   #24
4L3X
LQ Newbie
 
Registered: Jun 2010
Location: NYC
Distribution: Debian
Posts: 4

Rep: Reputation: 1
Thanks pk2001, that was it for me
 
  


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
starting and stopping proftp: confusing documention.. veritas Linux - Software 1 03-02-2007 02:15 AM
proFTP not starting brenden Linux - Networking 2 03-02-2007 02:09 AM
Trouble starting Proftp kaidoggy Linux - Software 6 04-01-2004 12:12 PM
ProFTP Login Error johnrudnick Linux - Networking 1 12-16-2002 04:49 PM
installing proftp hefito4u Linux - Software 1 12-04-2002 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:34 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