Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th January 2009, 09:47
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 152
Thanks: 13
Thanked 14 Times in 9 Posts
Default problems with pure-ftpd-mysql and openvz

I know you made clear in the ispconfig 3 setup how to solve this problem, but I rent my vps from a provider and cannot apply your patch.....

So if a user has problems with pure-ftpd-mysql and has a openvz system (pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted) you will have to compile your pure-ftpd-mysql with --without-capabilities.

short info:

after you download the deb source:

nano 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
Reply With Quote
The Following 3 Users Say Thank You to grungy For This Useful Post:
falko (9th January 2009), geekrohit (10th June 2010), till (8th January 2009)
Sponsored Links
  #2  
Old 19th January 2009, 22:27
jcombs_31 jcombs_31 is offline
Member
 
Join Date: Jan 2009
Location: South Florida
Posts: 83
Thanks: 2
Thanked 2 Times in 1 Post
Default

Can you please explain how to build the package?

I ended up getting it working, but there is no documentation stating that you need some more packages to build packages and I guess you expect that people know how to build packages. I just think it should be added into the documentation for newbs like me, or at least explain it in more detail here. I don't really want to do it because maybe I didn't do it the way it should be done.

Last edited by jcombs_31; 19th January 2009 at 23:04.
Reply With Quote
  #3  
Old 20th January 2009, 09:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Normally it is not nescessary to build a new package.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 20th January 2009, 14:40
jcombs_31 jcombs_31 is offline
Member
 
Join Date: Jan 2009
Location: South Florida
Posts: 83
Thanks: 2
Thanked 2 Times in 1 Post
Default

Maybe not, but I just so happened to be that exception using debian 4 on an openvz vps. I was able to compile it and install it fine, but I noticed now if I run apt-get update/upgrade it tries to overwrite my package with one from the repo. Is that normal or did I do something wrong?
Reply With Quote
  #5  
Old 20th January 2009, 20:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

You can use apt-pinning: http://www.howtoforge.com/forums/sho...ht=apt-pinning
__________________
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
The Following User Says Thank You to falko For This Useful Post:
jcombs_31 (20th January 2009)
  #6  
Old 20th January 2009, 21:35
djoey djoey is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 1
Thanked 5 Times in 3 Posts
Default

Hi,

I downloaded the sources, and added the line as you mentioned, now i try to build the .deb package with the command dpkg -b dirname filename.deb then it gives me:

dpkg -b pure-ftpd-1.0.21 pure-ftpd-mysql_1.0.21-8_i386.deb
dpkg-deb: failed to open package info file `pure-ftpd-1.0.21/DEBIAN/control' for reading: No such file or directory

Should I not build it as root?
Reply With Quote
  #7  
Old 20th January 2009, 23:28
jcombs_31 jcombs_31 is offline
Member
 
Join Date: Jan 2009
Location: South Florida
Posts: 83
Thanks: 2
Thanked 2 Times in 1 Post
Default

I built the package based on these directions http://www.debian.org/doc/manuals/ap...ndling.en.html
Reply With Quote
The Following 2 Users Say Thank You to jcombs_31 For This Useful Post:
djoey (21st January 2009), geekrohit (10th June 2010)
  #8  
Old 20th January 2009, 23:30
jcombs_31 jcombs_31 is offline
Member
 
Join Date: Jan 2009
Location: South Florida
Posts: 83
Thanks: 2
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko View Post
Thanks. I was able to pin the program but in the monitor I get a warning about a package needing an update. I guess that is fine but I like to see everything green.
Reply With Quote
  #9  
Old 21st January 2009, 13:43
djoey djoey is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 1
Thanked 5 Times in 3 Posts
Default

Instead of using apt-pinning you can just set packages on hold:

echo package hold | dpkg --set-selections

To undo that:

echo package install | dpkg --set-selections

To view a list of "on hold" packages:

dpkg --get-selections | grep hold

this way you get your monitoring "green" again

Last edited by djoey; 21st January 2009 at 14:11.
Reply With Quote
The Following 2 Users Say Thank You to djoey For This Useful Post:
geekrohit (10th June 2010), jcombs_31 (23rd January 2009)
  #10  
Old 23rd January 2009, 18:17
jcombs_31 jcombs_31 is offline
Member
 
Join Date: Jan 2009
Location: South Florida
Posts: 83
Thanks: 2
Thanked 2 Times in 1 Post
 
Default

Quote:
Originally Posted by djoey View Post
Instead of using apt-pinning you can just set packages on hold:

echo package hold | dpkg --set-selections

To undo that:

echo package install | dpkg --set-selections

To view a list of "on hold" packages:

dpkg --get-selections | grep hold

this way you get your monitoring "green" again
Thanks, this worked nice.
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


All times are GMT +2. The time now is 11:12.


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