Solved

vsftpd won't start

Posted on 2008-06-24
6
3,142 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now