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 19th June 2009, 01:41
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default pure-ftp does'nt run unter virtuozzo

There are no error aften that
Quote:
server2:/proc# /etc/init.d/pure-ftpd-mysql start
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -O clf:/var/log/pure-ftpd/transfer.log -u 1000 -A -E -b -B
but in the control panel the monitoring says:

Quote:
error:
One or more needed Services are offline [More...]
FTP-Server: Offline
It's not possible to make any connections to ftp.

Last edited by tom; 19th June 2009 at 02:14.
Reply With Quote
Sponsored Links
  #2  
Old 19th June 2009, 07:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

There are two easy solutions, if this is your own server, run these command on the host server, replace the ID with the ID of your virtual machine:

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
otherwise this:

http://www.howtoforge.com/forums/sho...re-ftpd+openvz
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th June 2009, 10:30
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

I've tried this:

Quote:
vi pure-ftpd-1.0.21/debian/rules

line 12 add --without-capabilities

optflags=--with-everything --with-largefile --with-pam --with-privsep --with-tls --without-capabilities


then build your .deb package and install dpkg -i pure-ftpd-mysql_1.0.21-8_i386.deb
But still the same:
FTP-Server: Offline

The start now looks like this (without -A -b)
h1609812:~# /etc/init.d/pure-ftpd-mysql start
Quote:
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -O clf:/var/log/pure-ftpd/transfer.log -u 1000 -E -B
And syslog shows
Quote:
Jun 19 10:36:10 server2 pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted
The package is build as shown:

Code:
cd /tmp/pure-ftpd-1.0.21/
vi debian/rules (add --without-capabilities)
apt-get build-dep pure-ftpd
apt-get -b source pure-ftpd

Last edited by tom; 19th June 2009 at 11:06.
Reply With Quote
  #4  
Old 19th June 2009, 12:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
 
Default

Quote:
Jun 19 10:36:10 server2 pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted
Then you run still the old binary and not the one you build.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 19:34
ftp is very slow and asks for user/passwd continuously chico58 Installation/Configuration 7 8th October 2008 12:43
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 07:58.


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