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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th June 2010, 18:55
rustydogcreative rustydogcreative is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question PureFTPd + Ubuntu 10.04 + ISPConfig 3 + (ve)

While searching for a Plesk alternative, I called up MT and they mentioned ISPConfig 3. I'd tried Virtualmin/Webmin/Usermin (about 9 times in 3 days) and there was always SOMETHING wrong with the installation.

I've been able to get ISPConfig 3 installed and working. Only one issue though: PureFTPd. It's not working properly.

I followed the "Perfect Server" tutorial for ISPConfig 3.

I'm pretty sure the issue begins at step 15 where it says "Edit /etc/fstab. Mine looks like this (I added ,usrjquota=aquota.user,grpjquota=aquota.group,jqfm t=vfsv0 to the partition with the mount point /):" Not entirely sure why I'd add that, where I'd add it, etc. I've had issues with mounting anything on this server.

Has anyone successfully installed PureFTPd on Ubuntu 10.04 or on a Media Temple (ve)?

Can someone provide a little insight into exactly what is going wrong?

Here's a snippet of the error I get:

Code:
Setting up pure-ftpd-mysql (1.0.24-1) ...
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -8 UTF-8 -u 1000 -E -A -b -H -O clf:/var/log/pure-ftpd/transfer.log -B
421 Unable to switch capabilities : Operation not permitted
invoke-rc.d: initscript pure-ftpd-mysql, action "start" failed.
dpkg: error processing pure-ftpd-mysql (--configure):
 subprocess installed post-installation script returned error exit status 252
Errors were encountered while processing:
 pure-ftpd-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up pure-ftpd-mysql (1.0.24-1) ...
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -8 UTF-8 -u 1000 -E -A -b -H -O clf:/var/log/pure-ftpd/transfer.log -B
421 Unable to switch capabilities : Operation not permitted
invoke-rc.d: initscript pure-ftpd-mysql, action "start" failed.
dpkg: error processing pure-ftpd-mysql (--configure):
 subprocess installed post-installation script returned error exit status 252
Errors were encountered while processing:
 pure-ftpd-mysql
Reply With Quote
Sponsored Links
  #2  
Old 11th June 2010, 21:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,495
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

Your problem are the settings of your openvz / virtuozzo VM which dont allow capability switching. So it's not a general issue from pure-ftpd with Ubuntu Linux. There are two solutions:

a) If you have access to the host system, then enable capabilities for this VM by running this command:

Code:
VPSID=101
for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
do
  vzctl set $VPSID --capability ${CAP}:on --save
done

b) If you dont have access to the host system or dont want to enable capabilities, follow this FAQ (it works for ubuntu as well and not just debain):

http://www.faqforge.com/linux/contro...ities-enabled/


Regarding the /etc/fstab question. On a OpenVZ VM the quota is enabled on the host system, so you can skip that step as quota is already enabled on your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
CSsab (12th June 2010)
  #3  
Old 12th June 2010, 00:38
rustydogcreative rustydogcreative is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Amazing

Thank you SO much for pointing me in that direction. Truly a satisfying way to end my week!!

Reply With Quote
  #4  
Old 29th August 2010, 21:54
Leonardo Dias Leonardo Dias is offline
Junior Member
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Install Pure-Ftpd in Ubunto 10.4

Please, I followed the tutorial
http://www.howtoforge.com/virtual-ho...ftpd-and-mysql ubuntu-7.10
and had the following error message

rooot@server1:~# / etc / init.d / pure-ftpd-mysql restart
Restarting ftp server: Running: / usr / sbin / pure-ftpd-mysql-l mysql: / etc / pure-ftpd / db / mysql.conf-l pam -8 UTF-8-AND-A-j-O clf: / var / log / pure-ftpd / transfer.log-u 1000-B
421 Unable to switch capabilities: not permitted Operation

My environment is a virtual server with Ubunto 4.10

Could someone help me fix the fault and perform the installation with success?
Reply With Quote
  #5  
Old 29th August 2010, 22:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,495
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

The solution is described in post #2 of this thread. Please be aware that this thread is about ISPConfig, but it should work for the tutorial that you used as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 10th March 2011, 14:19
plmcomputerservices plmcomputerservices is offline
Junior Member
 
Join Date: Mar 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation Please Help Till!

Can you please help me? I have installed ISPConfig 3 with Purefptd using these instructions.
http://library.linode.com/web-applic...tu-10.04-lucid

Everything works except for FTP capabilities. I tried Proftpd before reading that it didn't work with ISPConfig 3. Pureftpd isn't working either.

After installing both, I create an FTP user in ISPConfig 3 and then try to access via Filezilla and no dice. My error log doesn't reveal except that it says I'm using the wrong credentials... I receive a 503 error in the FTP client. I did see the welcome message from PureFTPd though...

Thank you.
Reply With Quote
Reply

Bookmarks

Tags
(ve), media temple, pureftpd, ubuntu 10.04

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
Saving data on other disk with “Virtual Hosting With PureFTPd And MySQL Ubuntu 7.10" yoyoman HOWTO-Related Questions 1 19th February 2008 07:45
Ubuntu 7.04 with Ispconfig - The URL is not reachable! shellNewbie HOWTO-Related Questions 7 5th September 2007 15:14
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46
ISPconfig on Ubuntu: Upgrading Breezy to Dapper Clogboy General 6 22nd February 2007 22:32
Ubuntu update from 5.10 to 6.06 - its allok for ispconfig? adrenalinic General 2 10th June 2006 21:28


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


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