Pure-FTPd error - Unable to switch capabilities

Here one can find interesting information about OpenVZ management and maintenance. OpenVZ control panels information also goes here

Pure-FTPd error - Unable to switch capabilities

Postby lik » Sun Aug 09, 2009 2:55 am

Code: Select all
pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted


1. Solution

Recompile Pure-FTPd with "--without-capabilities" option.

2. Solution
Find what's wrong with capabilities and add missing capability to your VE with vzctl command:
Code: Select all
#vzctl set <VEID> --capability capname:on|off


For Pure-FTPd:
Code: Select all
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 <VEID> --capability ${CAP}:on --save;done
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to OpenVZ related

 


  • Related topics
    Replies
    Views
    Last post