Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-17-2003, 08:39 PM
|
#1
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Rep:
|
proftpd troubles
I'm trying to get an FTP server running using proftpd, and in installed it from the rpm correctly. I went in to /etc/proftpd.conf and it looks like it should (according to the proftpd FAQ on this site) When I tried to start it with "/usr/sbin/proftpd -c /etc/proftpd.conf" it tells me:
- no such group 'nogroup'
- Fatal: Group: Unknown group 'nogroup'
I just want my FTP server to have anonomous access for now. I noticed there is no "ftpusers" file in /etc. Do I need to create one for it to work?
|
|
|
10-17-2003, 09:17 PM
|
#2
|
Member
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133
Rep:
|
in the config file, there is a line
"Group nogroup"
This defines what user and group the proftpd runs as. Your /etc/passwd probably doesn't have the group nogroup, so change it to
"Group nobody"
because chances are you have the group nobody. Start it and it should work.
|
|
|
10-17-2003, 09:25 PM
|
#3
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Original Poster
Rep:
|
Thanks, but when I try to edit proftpd.conf with emacs, I get the error "/etc/proftpd.conf is locked by @localhost..lo... (PID6475)"
Why would it be locked? I'm logged in as root.
Thanks
|
|
|
10-17-2003, 10:04 PM
|
#4
|
Member
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133
Rep:
|
its probably because it was opened already in some other terminal or something. check your processes (ps -aux) and kill anything that resembles VI or EMAC or whatever you use.
|
|
|
10-17-2003, 10:31 PM
|
#5
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Original Poster
Rep:
|
Well, I restarted linux and I changed the group to nouser. I typed the line in to start the server, but when I do "ftp localhost" it gives an error.
|
|
|
10-18-2003, 01:09 PM
|
#6
|
Member
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133
Rep:
|
Is the error the same as the last one?
The group should be "nobody", not "nouser"
|
|
|
10-18-2003, 05:04 PM
|
#7
|
Member
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53
Original Poster
Rep:
|
Err, I didn't explain it correctly.
I changed it to what you said, "nobody" and it started fine (it didn't give any errors). But when I tried testing it, by typing "ftp localhost" it gave an error about remote server dissconnected :? I'll see what the exact error is in a minute.
|
|
|
All times are GMT -5. The time now is 01:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|