LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-17-2003, 07:39 PM   #1
link1305
Member
 
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53

Rep: Reputation: 15
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?
 
Old 10-17-2003, 08:17 PM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
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.
 
Old 10-17-2003, 08:25 PM   #3
link1305
Member
 
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53

Original Poster
Rep: Reputation: 15
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
 
Old 10-17-2003, 09:04 PM   #4
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
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.
 
Old 10-17-2003, 09:31 PM   #5
link1305
Member
 
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
Old 10-18-2003, 12:09 PM   #6
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Is the error the same as the last one?
The group should be "nobody", not "nouser"
 
Old 10-18-2003, 04:04 PM   #7
link1305
Member
 
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



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
proftpd: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 11:06 AM
Proftpd Troubles gbj Linux - Networking 2 03-05-2005 12:48 PM
ProFTPD troubles... davequaad Linux - Software 0 11-05-2004 02:53 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

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