Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th July 2010, 08:56
Aradan Aradan is offline
Junior Member
 
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] - Issues

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;

Quote:
16 Install PureFTPd
PureFTPd can be installed with the following command:

Code:
yum install pure-ftpd
Then create the system startup links and start PureFTPd:

Code:
chkconfig --levels 235 pure-ftpd on
/etc/init.d/pure-ftpd start
Everything installs fine, but when it comes to me trying to start pure-ftpd I am presented with the following un-helpfull message;

Code:
Starting pure-ftpd:                                        [FAILED]
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
Reply With Quote
Sponsored Links
  #2  
Old 8th July 2010, 13:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

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?
__________________
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
  #3  
Old 9th July 2010, 05:50
piseth piseth is offline
Junior Member
 
Join Date: Jan 2010
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default

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]#
Reply With Quote
  #4  
Old 9th July 2010, 10:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

Quote:
Originally Posted by piseth View Post
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
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.
__________________
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
  #5  
Old 9th July 2010, 22:21
Aradan Aradan is offline
Junior Member
 
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #6  
Old 9th July 2010, 22:53
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

Here is a guide how to install pure-ftpd on OpenVZ with CentOS installed:

http://achmadz.blogspot.com/2009/08/...centos-53.html
Reply With Quote
  #7  
Old 11th July 2010, 02:38
piseth piseth is offline
Junior Member
 
Join Date: Jan 2010
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

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/pur...-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
Reply With Quote
The Following User Says Thank You to piseth For This Useful Post:
rohitbanerjee (29th November 2010)
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
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 22:08
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 17:42.


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