LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-17-2008, 08:47 PM   #16
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Original Poster
Rep: Reputation: 53

Hey-

I deleted the following file: /var/log/proftpd/proftpd.log and it works again!

However- I can only start the service as root. If I try to run it as a regular user then I get the same error message. I'm going to Google around for that one- but if you have any insight I would appreciate it.
 
Old 12-17-2008, 09:03 PM   #17
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I thought perhaps it was, but hey, I'm at least partly human.

From what I can tell, proftpd runs under its own user (try grep ftp /etc/passwd and see what crops up).

Delete /var/run/proftpd/test.sock

If you find a proftpd user, change those directories to be owned by it, so

sudo chown protfpdroftpd /var/run/proftpd
sudo chown protfpdroftpd /var/log/proftpd

plus

sudo chown proftpdroftpd /var/log/proftpd/proftpd.log

(assuming the user is proftpd)

And try starting it again

Last edited by billymayday; 12-17-2008 at 09:05 PM.
 
Old 12-17-2008, 09:07 PM   #18
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
OK, then perhaps the adm group on the log was the problem.

Why would you expect to be able to start the service as a normal user? Root generally starts services even if they switch to a dedicated user later.
 
Old 12-17-2008, 10:13 PM   #19
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Original Poster
Rep: Reputation: 53
I'm pretty sure I've run it as a regular user in the past.... at least now I am able to use my desktop to store files for computer I'm fixing again.
 
Old 12-17-2008, 10:14 PM   #20
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Original Poster
Rep: Reputation: 53
Much thanks for all your help :-D
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Why FTP server: proftpd NOT working? cucolin@ Fedora 10 10-30-2007 03:13 PM
LS Command not working FTP Server shawnbishop Linux - Software 5 01-10-2006 10:38 AM
Steps to get that FTP server working! tribalmasters Fedora 2 08-14-2005 06:10 AM
partimage to ftp server not working crofty13 Linux - Software 3 06-03-2005 08:42 AM
FTP server not working after moving /var jeffpoulsen Linux - Software 2 10-22-2002 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:58 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