LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-17-2008, 03:11 AM   #1
Glockmaster
LQ Newbie
 
Registered: Sep 2008
Location: Copenhagen, Denmark
Distribution: openSuSe 11
Posts: 5

Rep: Reputation: 0
Error restarting vsftpd in openSUSE 11


Hello everyone

I have recently installed SuSe 11 and am trying to run a standalone ftp server on the machine.

I have a problem though. When I am trying to restart my vsftpd i get the following error:

Mighty:~ # /etc/init.d/vsftpd restart
Shutting down vsftpd done
Starting vsftpd startproc: exit status of parent of /usr/sbin/vsftpd: 1
failed

I have read a thread by mwade with replies from gilead, but his solution (uncomment listen=YES) does not apply to my case since mine is uncommented.
Here is my vsftpd.conf

#***************Global SET*************
# Master SET
ftpd_banner="Welcome to MightyBox"
local_root=/srv/ftp/

# SECURITY SET
write_enable=YES
pam_service_name=vsftpd
local_unmask=022
ssl_enable=NO
anonymous_enable=NO
anon_world_readable_only=YES
anon_mkdir_write_enable=NO
anon_upload_enable=NO

# Connection SET
connect_from_port_20=NO
listen_port=6161
local_enable=YES
pasv_enable=YES
pasv_max_port=5005
pasv_min_port=5000
ssl_sslv2=NO
ssl_sslv3=NO
ssl_tlsv1=YES

# Log SET
log_ftp_protocol=NO
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=NO
chroot_local_user=NO
anon_root=/srv/ftp/anon/
idle_session_timeout=900
max_clients=10
max_per_ip=3
local_umask=022
listen=YES
#********************************************

I hope someone can offer some help.

Thanks. GM
 
Old 09-18-2008, 01:00 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I guess vsftpd is configured to run via xinetd, so it conflicts when you try to run it standalone. Check /etc/xinetd.d/vsftpd and make sure that "disable=yes". Then restart xinetd and try to start vsftpd again.
 
Old 09-19-2008, 12:21 AM   #3
Glockmaster
LQ Newbie
 
Registered: Sep 2008
Location: Copenhagen, Denmark
Distribution: openSuSe 11
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry, bathory, but it's configured to run on boot. I tried both on boot and via xinet.d swithing vsftpd service on and off with no results.

As much as I would like to run SuSe 11, I'm thinking about reverting to 10.3.
Tried a quick config on another machine and it runs w/o errors.
Thanks for the contribution.
 
Old 09-19-2008, 02:44 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
The error you get means that the port vsftpd tries to use (6161 in your case) is already open.
Code:
netstat -tanpl|grep 6161
should tell you if this is the case.
You can stop xinetd and then try to start vsftp to see what happens.

Regards
 
Old 10-06-2010, 04:55 PM   #5
sysopsroot
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
had same issue (fix action)

i was having the same issue with vsftp not starting..
go into your vsftpd.con file and add "listen_ipv6=NO".

So far i have had the same problem with VSFTP, VNC & SAMBA.

also your listen port is set to 6161 (for a reason?)

Good Luck

SysOps
 
Old 05-08-2013, 11:43 PM   #6
swatch
LQ Newbie
 
Registered: Nov 2012
Posts: 14

Rep: Reputation: Disabled
the same problem

Quote:
Originally Posted by Glockmaster View Post
Hello everyone

I have recently installed SuSe 11 and am trying to run a standalone ftp server on the machine.

I have a problem though. When I am trying to restart my vsftpd i get the following error:

Mighty:~ # /etc/init.d/vsftpd restart
Shutting down vsftpd done
Starting vsftpd startproc: exit status of parent of /usr/sbin/vsftpd: 1
failed

I have read a thread by mwade with replies from gilead, but his solution (uncomment listen=YES) does not apply to my case since mine is uncommented.
Here is my vsftpd.conf

#***************Global SET*************
# Master SET
ftpd_banner="Welcome to MightyBox"
local_root=/srv/ftp/

# SECURITY SET
write_enable=YES
pam_service_name=vsftpd
local_unmask=022
ssl_enable=NO
anonymous_enable=NO
anon_world_readable_only=YES
anon_mkdir_write_enable=NO
anon_upload_enable=NO

# Connection SET
connect_from_port_20=NO
listen_port=6161
local_enable=YES
pasv_enable=YES
pasv_max_port=5005
pasv_min_port=5000
ssl_sslv2=NO
ssl_sslv3=NO
ssl_tlsv1=YES

# Log SET
log_ftp_protocol=NO
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=NO
chroot_local_user=NO
anon_root=/srv/ftp/anon/
idle_session_timeout=900
max_clients=10
max_per_ip=3
local_umask=022
listen=YES
#********************************************

I hope someone can offer some help.

Thanks. GM
I have the same problem in my opensuse.Could you tell me if you have solved it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error restarting sshd occuda Linux - Server 2 09-17-2008 04:11 AM
vsftpd problems on 32-bit opensuse 10.3, 2.6.24 lordmorgul23 Linux - Server 6 04-08-2008 08:49 PM
restarting a serverice such as vsftpd swamprat Linux - Newbie 1 11-30-2007 02:14 PM
vsftpd list openSuse 10.2 rob_zak Linux - Server 0 11-14-2007 06:01 AM
Display Error when restarting x Kuub Linux - Laptop and Netbook 2 08-07-2004 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration