Solved

vsftpd won't start

Posted on 2008-06-24
6
3,147 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

867 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

17 Experts available now in Live!

Get 1:1 Help Now