Solved

vsftpd won't start

Posted on 2008-06-24
6
3,162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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 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…

756 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