LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   vsftpd on redhat 9 machine (https://www.linuxquestions.org/questions/linux-networking-3/vsftpd-on-redhat-9-machine-262667/)

pfunk 12-04-2004 07:50 PM

vsftpd or proftpd on redhat 9 machine
 
Ok, I'm trying to get vsftpd working on one of my machines - i have a redhat 9 machine running in vmware (so i don't expect it to work like an honest ftp server) but I just want to practice getting this kind of stuff set up.

i have vsftpd installed. I tried to run it as a standalone application (not within xinetd) and when i try to run it that way i get an error

500 OOPS: vsftpd: does not run standalone, must be run from within inetd

I don't understand that to start with.

I did try to get it to run from within xinetd but I dont know exactly what to do so i abandoned that course. every set of instructions or HOWTO pages I see for setting up vsftpd are different and I'm just confused on what the basic set of things i need to do to get this to work are. once i get it working i'm comfortable futzing and changing settings etc.. but i can't get over the hump.

I tried this yesterday on my SUSE machine and no luck there either.

Any help on this one?

pfunk 12-04-2004 08:44 PM

proftpd not working either
 
I don't really care which ftp server i get up and running - i just found a tutorial for installing proftpd. i got through the configure and make steps. then i started the server and after a simple change to a setting in the basic.conf configuration file it seems to execute but i when run:

ftp localhost or ftp 127.0.0.1

it gives me an error that says connection refused.

Hmmm ....

Demonbane 12-05-2004 12:32 AM

run proftpd using
Code:

proftpd -d 9 -n
and see what the output says

pfunk 12-05-2004 12:36 PM

Here's the deal. I'm following the tutorial in the tutorial section of this website

http://www.linuxquestions.org/questi...ticle&artid=17

Here's what I typed and the output i got using the -d 9 -n flags ( I don't have proftp fully installed so i have to give the full path name in the src tree and also identify the config file to use):


/usr/src/proftpd-1.2.10/proftpd -c /usr/src/proftpd-1.2.10/sample-configurations/basic.conf -d 9 -n

- parsing '/usr/src/proftpd-1.2.10/sample-configurations/basic.conf' configuration
- FS: using system open()
- FS: using system read()
- dispatching directive 'ServerName' to module mod_core
- dispatching directive 'ServerType' to module mod_core
- dispatching directive 'DefaultServer' to module mod_core
- dispatching directive 'Port' to module mod_core
- dispatching directive 'Umask' to module mod_core
- dispatching directive 'MaxInstances' to module mod_core
- dispatching directive 'User' to module mod_core
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching directive 'Group' to module mod_core
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- FS: using system read()
- dispatching directive 'AllowOverwrite' to module mod_xfer
- dispatching directive '<Limit>' to module mod_core
- dispatching directive 'DenyAll' to module mod_core
- dispatching directive '</Limit>' to module mod_core
- dispatching directive '<Anonymous>' to module mod_core
- dispatching directive 'User' to module mod_core
- dispatching directive 'Group' to module mod_core
- dispatching directive 'UserAlias' to module mod_auth
- dispatching directive 'MaxClients' to module mod_auth
- dispatching directive 'DisplayLogin' to module mod_core
- dispatching directive 'DisplayFirstChdir' to module mod_core
- dispatching directive '<Limit>' to module mod_core
- dispatching directive 'DenyAll' to module mod_core
- dispatching directive '</Limit>' to module mod_core
- dispatching directive '</Anonymous>' to module mod_core
- FS: using system read()
- FS: using system close()
redhat -
redhat - Config for ProFTPD Default Installation:
redhat - ~ftp/
redhat - Limit
redhat - DenyAll
redhat - UserName
redhat - GroupName
redhat - UserAlias
redhat - MaxClients
redhat - DisplayLogin
redhat - DisplayFirstChdir
redhat - Umask
redhat - AllowOverwrite
redhat - Limit
redhat - DenyAll
redhat - DefaultServer
redhat - Umask
redhat - UserID
redhat - UserName
redhat - GroupID
redhat - GroupName
redhat - AllowOverwrite
redhat - dispatching auth request "getgroups" to module mod_auth_file
redhat - dispatching auth request "getgroups" to module mod_auth_unix
redhat - SETUP PRIVS at main.c:2733
redhat - ROOT PRIVS at main.c:1967
redhat - RELINQUISH PRIVS at main.c:1974
redhat - ROOT PRIVS at main.c:2322
redhat - opening scoreboard /usr/sbin/var/proftpd/proftpd.scoreboard'nugget-redhat - RELINQUISH PRIVS at main.c:2325
redhat - error opening scoreboard: No such file or directory

pfunk 12-06-2004 12:41 PM

bump - any help on deciphering this?


All times are GMT -5. The time now is 09:26 PM.