Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 19th December 2012, 11:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

You must run
Code:
dpkg -i postfix_2.9.3-2~12.04.4_i386.deb postfix-mysql_2.9.3-2~12.04.4_i386.deb
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 20th February 2013, 15:50
user2012 user2012 is offline
Junior Member
 
Join Date: Sep 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with vsftpd

estimates, add user vsftpd.chroot_list file but I can not access the ftp server. message appears: 331 Please specify the password.

thank you very much for your help
Reply With Quote
  #13  
Old 28th February 2013, 20:32
Phonetic Phonetic is offline
Junior Member
 
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 500 OOPS: vsftpd: refusing to run with writable root inside chroot()

Quote:
Originally Posted by gauravrishi View Post
I have configure Virtual Hosting With vsftpd And MySQL On Ubuntu 12.04 and everything is working. Follow all the steps. But when i connect FTP and enter the credentials then i show all the directory of different user. I want that only authoriszed user directory should show. I am not able to connect with FTP if i makr chroot_local_user=NO in /etc/vsftpd.conf other wise i show the error

Response: 220 (vsFTPd 2.3.5)
Command: USER testuser
Response: 331 Please specify the password.
Command: PASS ******
Response: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Error: Critical error
Error: Could not connect to server
I followed this guide to get VSFTPD setup on an Ubuntu 12.04 server:
http://www.howtoforge.com/virtual-ho...n-ubuntu-12.04

I ran into a problem that many others are also running into. To get the error above "500 OOPS: vsftpd: refusing to run with writable root inside chroot()" fixed, here is what needs to be done:

Courtesy of Mark Hale from The Frontier Group:
Quote:
For those of you running Ubuntu 12.04, I have created a vsftpd 2.3.5 PPA that backports the allow_writeable_chroot config option from vsftpd 3 to the existing Ubuntu package. To use it:

sudo add-apt-repository ppa:thefrontiergroup/vsftpd
sudo apt-get update
sudo apt-get install vsftpd
reference: http://www.benscobie.com/fixing-500-.../#comment-4048

After doing the above, I then added this to my vsftpd config (/etc/vsftpd.conf):
Code:
allow_writeable_chroot=YES
Then I restarted the vsftpd service:
Code:
service vsftpd restart
And that fixed the error for me.

It seems like this should be added to the guide. The guide is great, but after following it exactly as it's written, I ran into the error above on Ubuntu 12.04. I haven't tried the guide on a different version of Ubuntu server so it may work just fine for some, but for 12.04, this was the missing step that solved my problem.
Reply With Quote
  #14  
Old 17th July 2013, 19:42
lazant lazant is offline
Junior Member
 
Join Date: Jul 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Fixing Error: OOPS: vsftpd: refusing to run with writable root inside chroot()

Followed the tutorial here to set up vsftpd on Ubuntu Server 12.0.4.2 and got the "OOPS: vsftpd: refusing to run with writable root inside chroot()" error. Followed these steps to remedy:
1. Add
Code:
chroot_list_enable=yes
chroot_list_file=/etc/vsftpd.chroot_list
to /etc/vsftpd.conf

2. Create a list of usernames
Code:
username1
username2
...
in /etc/vsftpd.chroot_list

3. Restart vsftpd
Code:
sudo service vsftpd restart
Hope this helps anyone else having the same issue.
Reply With Quote
Reply

Bookmarks

Tags
vsftpd

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Hosting With vsftpd And MySQL On Debian Lenny marmellata HOWTO-Related Questions 1 15th April 2010 16:14
Help needed to set up vsftpd with mysql pam - 530 Login Incorrect phall472 Installation/Configuration 2 6th January 2010 16:49
Virtual hosting with vsftpd and mysql on Debian Etch Bill.A HOWTO-Related Questions 6 21st March 2008 16:06
VsFTPd with Quota and MySQL (if possible) markg85 Suggest HOWTO 2 16th August 2007 17:01
Virtual Hosting With vsftpd And PostgreSQL (MYSQL ?) vlade HOWTO-Related Questions 2 12th May 2007 12:29


All times are GMT +2. The time now is 23:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.