Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Proftpd Troubles: No Files Appear
mwylde
post Apr 19 2004, 06:34 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 19-April 04
Member No.: 2,797



I am running proftpd version 1.29 on SuSE linux 9. The server seeems to start and run fine, but when I try to connect to it it 'cannot recieve directory listing'. Yet after about 4-5 hours after turning on the server I suddenly can recieve directory listings. Here is my conf file:
CODE
ServerType standalone
DefaultServer on
Umask 022
ServerName "63.204.12.145"
ServerIdent on "AccordionSosftware FTPd v3"
Bind "63.204.12.145"
ServerAdmin webmaster@accordionsoftware.com
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49149 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 50
TimeoutNoTransfer 50
TimeoutIdle 50
User nobody
Group nobody
DirFakeUser off   nobody
DirFakeGroup off   nobody
DefaultTransferMode ascii
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores on
TransferRate RETR 1872
TransferRate STOR 1825
TransferRate STOU 1825
TransferRate APPE 1825
SystemLog /var/log/secure
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_root_path /usr/local/apache2
#gp_useradd_upload_path /usr/local/apache2
#gp_html_path /var/www/ftp.html
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine on
TLSRequired on
TLSVerifyClient on
TLSProtocol
TLSLog
TLSRSACertificateFile
</IfModule>
<Limit LOGIN>
 AllowUser test1
 AllowUser alex
 AllowUser jamie
 AllowUser micah
 DenyALL
</Limit>

<Anonymous /usr/local/apache2/htdocs>
User test1
Group test1
AnonRequirePassword on
MaxClients 350 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /usr/local/apache2>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD  RMD XRMD  SITE_CHMOD  SITE_CHGRP  STAT  MDTM  PWD XPWD  SIZE  CWD XCWD  CDUP XCUP  SITE >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY>
DenyAll
</Limit>
</Directory>
</Anonymous>

<Anonymous /usr/local/apache2/htdocs/>
User alex
Group alex
AnonRequirePassword on
MaxClients 50 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /usr/local/apache2/>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD  RMD XRMD  SITE_CHMOD  SITE_CHGRP  STAT  MDTM  PWD XPWD  SIZE  CWD XCWD  CDUP XCUP  SITE >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY>
DenyAll
</Limit>
</Directory>
</Anonymous>

<Anonymous /usr/local/apache2/htdocs/>
User jamie
Group jamie
AnonRequirePassword on
MaxClients 50 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /usr/local/apache2/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD  RMD XRMD  SITE_CHMOD  SITE_CHGRP  STAT  MDTM  PWD XPWD  SIZE  CWD XCWD  CDUP XCUP  SITE >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY>
DenyAll
</Limit>
</Directory>
</Anonymous>

<Anonymous /usr/local/apache2/htdocs>
User micah
Group micah
AnonRequirePassword on
MaxClients 50 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /usr/local/apache2/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD  RMD XRMD  SITE_CHMOD  SITE_CHGRP  STAT  MDTM  PWD XPWD  SIZE  CWD XCWD  CDUP XCUP  SITE >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY>
DenyAll
</Limit>
</Directory>
</Anonymous>

Does anyone know what might be the problem (or might this just be a part of ftp?)
Go to the top of the page
 
+Quote Post
Termina
post Apr 21 2004, 01:01 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



A few possible things could have happened:

You most likely had a bad config file, and changed it. You did not restart proftpd after changing it, so it did not take effect. After restarting the computer, proftpd reads the new config file, and it works. happy.gif

Also (though less likely), it might have been a permission problem. Whatever directory (htdocs? or test1s home dir) might not have been readable by the user you logged in as, or by proftpd itself (perhaps, as stated before, because of a possible old config file that, when updated, proftpd was not restarted in order to read it).

Not sure why it would after restart if it was a permission problem, but then again I'm not sure if you have any crontab or bash scrips that change permission on startup or after a certain amount of time.


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 02:23 PM