Solved

vsftpd won't start

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

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 143
pvcreate issue 5 101
Logrotate Every Saturday 5 44
change password for AD retention policy and Citrix 2 91
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

752 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