Solved

vsftpd won't start

Posted on 2008-06-24
6
3,156 Views
Last Modified: 2013-12-16
New install of CentOS 5,  enabled the ftp daemon but the daemon won't start.  Try to start from services and get:

vsftpd failed. The error was: Starting vsftpd for vsftpd: [  OK  ]

Starting vsftpd for vsftpd: [FAILED]

Starting vsftpd for (copy): /bin/bash: -c: line 0: syntax error near unexpected token `copy'
/bin/bash: -c: line 0: `ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/vsftpd (copy).conf'
[FAILED]
0
Comment
Question by:sidwelle
  • 4
  • 2
6 Comments
 
LVL 32

Expert Comment

by:Kamran Arshad
ID: 21862607
Hi,

What is the configuration file of your vsftpd.conf? Also there must be some error in syslog i.e, /var/log/messages when you try to start ftp.
0
 

Author Comment

by:sidwelle
ID: 21865918
I renamed the /var/log/messages file so the I could see any entries, but none.

And the error got bigger:

vsftpd failed. The error was: Starting vsftpd for vsftpd: [FAILED]

Starting vsftpd for (another: /bin/bash: -c: line 0: syntax error near unexpected token `another'
/bin/bash: -c: line 0: `ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/vsftpd (another'
[FAILED]

Starting vsftpd for copy): /bin/bash: -c: line 0: syntax error near unexpected token `)'
/bin/bash: -c: line 0: `ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/vsftpd copy).conf'
[FAILED]

Starting vsftpd for vsftpd: [  OK  ]

Starting vsftpd for vsftpd: [FAILED]

Starting vsftpd for (copy): /bin/bash: -c: line 0: syntax error near unexpected token `copy'
/bin/bash: -c: line 0: `ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/vsftpd (copy).conf'
[FAILED]
0
 

Author Comment

by:sidwelle
ID: 21866092
the vsftpd.conf is unchanged for the default.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 32

Accepted Solution

by:
Kamran Arshad earned 500 total points
ID: 21866161
0
 

Author Comment

by:sidwelle
ID: 21867544
Followed the suggestions from the first 2 articles with results.  Then renamed /etc/vsftpd/vsftpd(copy).conf and put the org/default file back for 'vsftpd.conf'.  
Cycled system, started daemon w/no Errors !!

Whats up with That ?
0
 

Author Closing Comment

by:sidwelle
ID: 31470340
Thanks

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question