FedoraThis forum is for the discussion of the Fedora Project.
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.
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'
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.
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:
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
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?
- 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.