The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] - Issues

Discussion in 'Server Operation' started by Aradan, Jul 7, 2010.

  1. Aradan

    Aradan New Member

    Hi all,
    This being my first post, I'd like to say Hello to everyone, your HowTo Guides and Forum posts have been very valuable to me in learning setting up a Linux VPS I have rented ready for a business venture me and my wife intend to take.

    After messing about with pre-setup LAMP installations (ie. XAMPP), I decided to try at configuring and setting up the server myself ( I do have a lot of knowledge with setting things up and learn pretty fast ).

    I followed a few HowTo guides but when I came accross;
    The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3]
    I thought, 'Yeah, that looks like what I might be looking for in a server right now'. So, I followed the HowTo but came accross some issues which I have sorted some out (which where mainly my own miss-spellings, heh!) but, when I got this section in the HowTo on page 5, I am quite stumped;

    Everything installs fine, but when it comes to me trying to start pure-ftpd I am presented with the following un-helpfull message;

    Code:
    [FONT="Courier New"]Starting pure-ftpd:                                        [[COLOR="DarkRed"]FAILED[/COLOR]][/FONT]
    Now, after reading HowTo guides on Pure-FTPd and comments in the forums I am assuming that I may have to compile a Pure-Ftpd RPM file for myself for CentOS 5.5 x86_64?

    Could someone please point me in the right direction or if I am in-deed just missing something or that I may have messed a step up in the previous sections of the guide (which I do not beleave to be true so far now).

    Many thanks,
    -Aradan
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Is this an OpenVZ or Virtuozze VPS?

    What's the output of
    Code:
    cat /proc/user_beancounters
    ?

    Is SELinux disabled? Any errors in your logs?
     
  3. piseth

    piseth New Member

    Hi All friend,

    I have problem the same ask him,

    I'm using VPS of OpenVZ OS Centos 5

    Here is my erorr log of Pure-ftpd

    Jul 9 05:37:28 server pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted
    Jul 9 05:38:39 server clamd[18015]: SelfCheck: Database status OK.
    Jul 9 05:41:49 server pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted

    here is the log of
    cat /proc/user_beancounters

    [root@server log]# cat /proc/user_beancounters
    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    54899: kmemsize 17076698 21604685 2147483646 2147483646 0
    lockedpages 0 8 999999 999999 0
    privvmpages 128635 177959 524288 524288 0
    shmpages 8965 10309 131072 131072 0
    dummy 0 0 0 0 0
    numproc 56 83 999999 999999 0
    physpages 68957 88253 0 2147483647 0
    vmguarpages 0 0 131072 2147483647 0
    oomguarpages 68958 88254 131072 2147483647 0
    numtcpsock 24 43 7999992 7999992 0
    numflock 7 12 999999 999999 0
    numpty 1 3 500000 500000 0
    numsiginfo 0 10 999999 999999 0
    tcpsndbuf 420096 906392 214748160 396774400 0
    tcprcvbuf 393216 2096912 214748160 396774400 0
    othersockbuf 246768 305432 214748160 396774400 0
    dgramrcvbuf 0 16944 214748160 396774400 0
    numothersock 144 177 7999992 7999992 0
    dcachesize 0 0 2147483646 2147483646 0
    numfile 1837 2633 23999976 23999976 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    numiptent 14 14 999999 999999 0
    [root@server log]#
     
  4. falko

    falko Super Moderator Howtoforge Staff

    If you don't have root access to the host system, you must rebuild PureFTPd, as shown somewhere else in this forum. Unfortunately I can't tell you how this works on CentOS as the instructions are for Debian/Ubuntu, so you might have to play around with this a bit.
     
  5. Aradan

    Aradan New Member

    Hi falko,
    thanks for reply.

    The VPS is on OpenVZ

    I can not seem to find any errors in the logs relating to pure-ftpd

    here is the out put for cat command

    Code:
    Version: 2.5
           uid  resource                     held              maxheld              barrier                limit              failcnt
         4650:  kmemsize                  6631656              7228470           2147483646           2147483646                    0
                lockedpages                     0                    0               999999               999999                    0
                privvmpages                  6532                20330               262144               262144                    0
                shmpages                      688                  720               131072               131072                    0
                dummy                           0                    0                    0                    0                    0
                numproc                        19                   23               999999               999999                    0
                physpages                    3326                 4682                    0           2147483647                    0
                vmguarpages                     0                    0               131072           2147483647                    0
                oomguarpages                 3327                 4683               131072           2147483647                    0
                numtcpsock                      5                    6              7999992              7999992                    0
                numflock                        3                    4               999999               999999                    0
                numpty                          1                    1               500000               500000                    0
                numsiginfo                      0                    2               999999               999999                    0
                tcpsndbuf                   89848                89848            214748160            396774400                    0
                tcprcvbuf                   81920                    0            214748160            396774400                    0
                othersockbuf                 6984                24592            214748160            396774400                    0
                dgramrcvbuf                     0                 8472            214748160            396774400                    0
                numothersock                    6                   19              7999992              7999992                    0
                dcachesize                 293907               316443           2147483646           2147483646                    0
                numfile                       467                  556             23999976             23999976                    0
                dummy                           0                    0                    0                    0                    0
                dummy                           0                    0                    0                    0                    0
                dummy                           0                    0                    0                    0                    0
                numiptent                      14                   14               999999               999999                    0
    and SELinux isn't running or installed as far as I can tell.

    Thanks.
     
  6. damir

    damir New Member

  7. piseth

    piseth New Member

    Hi,

    Damir, I follow that instruction. But I found other instruction the same this but it work for me. It is deferenct configuration.

    Aradan,

    Please read this
    tail -n 200 /var/log/messages | grep ftp

    If you see the error message same ask below:

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

    please:

    cd /tmp
    wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.29.tar.gz

    tar -xvzf pure-ftpd-1.0.22.tar.gz

    cd pure-ftpd-1.0.22

    ./configure --without-capabilities --with-virtualchroot --with‐mysql --with-pam --with-altlog --with-wrapper --with-mysql --with-cookie --with-throttling --withratios --with-paranoidmsg --with-quotas

    make

    make install

    after that
    /etc/init.d/pure-ftpd start

    I think it should be OK
     

Share This Page