No stats Lvetop is not showing anything
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and DirectAdmin
  1. eric mink
  2. Wednesday, 14 December 2011
  3.  Subscribe via email
Help needed
Rate this post:
  1. 14.12.2011 04:12:47
  2. # 1
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
First of all this is a superb piece of software. Hope anyone can help me to get this working.

When doing lvetop it shows nothing. No stats are showing in DirectAdmin

My system :

# uname -a (server hostname deleted)
Linux 2.6.18-374.3.1.el5.lve0.8.44xen #1 SMP Mon Oct 3 18:44:37 EEST 2011 x86_64 x86_64 x86_64 GNU/Linux

# vi /etc/httpd/conf/extra/modhostinglimits.conf
LoadModule hostinglimits_module /usr/lib/apache/mod_hostinglimits.so
<IfModule mod_hostinglimits.c>
SkipErrors Off
AllowedHandlers cgi-script php5-script php4-script php-script application/x-httpd-php5 application/x-httpd-php x-httpd-php
AllowedHandlers application/x-httpd-php5 application/x-httpd-php cgi-script php-script php5-script php4-script x-httpd-php5
</IfModule>

# vi /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/xvda5
# initrd /initrd-version.img
#boot=/dev/xvda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CloudLinux Server (2.6.18-374.3.1.el5.lve0.8.44xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-374.3.1.el5.lve0.8.44xen ro root=LABEL=/ console=xvc0
initrd /initrd-2.6.18-374.3.1.el5.lve0.8.44xen.img
title CentOS (2.6.18-274.12.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-274.12.1.el5xen ro root=LABEL=/ console=xvc0
initrd /initrd-2.6.18-274.12.1.el5xen.img
title CentOS (2.6.18-194.26.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.26.1.el5xen ro root=LABEL=/ console=xvc0
initrd /initrd-2.6.18-194.26.1.el5xen.img
title CentOS (2.6.18-194.17.4.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.17.4.el5xen ro root=LABEL=/ console=xvc0
initrd /initrd-2.6.18-194.17.4.el5xen.img
title CentOS (2.6.18-194.17.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.17.1.el5xen ro root=LABEL=/ console=xvc0
initrd /initrd-2.6.18-194.17.1.el5xen.img
  1. 14.12.2011 07:12:43
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
What is the output of:
apachectl -M 2>&1|grep hosting

Also, which handler does php uses?
  1. 14.12.2011 08:12:29
  2. # 3
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
apachectl -M 2>&1|grep hosting shows nothing

What do you mean bij the handler php uses?

PHP 5.3.3 (cli) (built: Nov 3 2011 12:00:26)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.9, Copyright (c) 2002-2011, by ionCube Ltd.
  1. 14.12.2011 08:12:28
  2. # 4
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
Eric,

If you have no output for this:
apachectl -M 2>&1|grep hosting shows nothing

It means that /etc/httpd/conf/extra/modhostinglimits.conf is not included in httpd.conf

Regarding php handler -- in directadmin, there are files like suphp.conf, etc... that specify \"handler\" like this: application/php or similar. There is a chance that we don\'t have this handler in modhostinglimits.conf It needs to be added.

If you are not sure, please, contact our support, and provide them with access info -- they will check, and set it up for you.
  1. 14.12.2011 08:12:14
  2. # 5
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
Thanks for your support

apachectl -M 2>&1|grep hosting now shows :

hostinglimits_module (shared)

Mod_suphp is installed.

/etc/httpd/conf/extra/httpd-suphp.conf is included in httpd.conf
  1. 14.12.2011 11:12:49
  2. # 6
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
Strange thing. After the CLoudLinux install the Magento webshops on this server died.

I have errors like
Fatal error: Call to a member function insert() on a non-object in /home/**/**/**/public_html/app/code/core/Mage/Core/Model/Mysql4/Resource.php on line 96

There are only 3 shops with magento on this server.

Could this have anything to do with the installation of cloudlinux?
  1. 14.12.2011 11:12:07
  2. # 7
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
maybe it is hitting memory limits? Try running:
lveinfo --by-fault=mem

Otherwise -- the only thing I can think of is that easyapache recompile broke something in php/mysql4 support.
  1. 15.12.2011 11:12:21
  2. # 8
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
And another problem. R1soft uses a buagent. This won\'t start anymore

when running

/etc/init.d/buagent start: buagent could not be started

/usr/bin/r1soft-cki
Checking for binary module
Waiting |
No binary module found
Gathering kernel information
Gathering kernel information complete.
Creating kernel headers package
Checking \'/lib/modules/2.6.18-374.3.1.el5.lve0.8.44xen/source/\' for kernel headers
Checking \'/usr/src/kernels/2.6.18-374.3.1.el5.lve0.8.44xen-x86_64/\' for kernel headers
Checking \'/lib/modules/2.6.18-374.3.1.el5.lve0.8.44xen/build/\' for kernel headers
Unable to find a valid source directory.
Please install the kernel headers for your operating system.
  1. 15.12.2011 11:12:03
  2. # 9
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
Please, do:
yum install kernel-xen-devel

And try again.
  1. 15.12.2011 12:12:46
  2. # 10
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
Ahh superb It works!!

Now i\'m still busy with the magento shops.

Thanks
  1. 26.01.2012 05:01:47
  2. # 11
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
Since i have more time now to explore the functionality of cloudlinux im having some more questions.

lvetop stil shows nothing :

[[email protected] ~]# lvetop

ID EP PNO TNO CPU MEM I/O

Lveinfo shows nothing :

[[email protected] ~]# lveinfo --by-fault=mem
ID aCPU mCPU lCPU aEP mEP lEP aMem mMem lMem MemF MepF


Module is loaded :

[[email protected] ~]# apachectl -M 2>&1|grep hosting
[Thu Jan 26 11:47:35 2012] [warn] module hostinglimits_module is already loaded, skipping
hostinglimits_module (shared)

Lve list is showing something :

[[email protected] ~]# cat /proc/lve/list
4:LVE EP lCPU lIO CPU MEM IO lMEM lEP nCPU fMEM fEP
0 0 26 25 0 0 0 262144 20 1 0 0
503 0 26 25 9304339226 0 0 262144 20 1 0 0
523 0 25 25 2961 0 0 262144 20 1 0 0
715 0 26 25 7041 0 0 262144 20 1 0 0

[[email protected] ~]# uname -a
Linux s14.myservername.nl 2.6.18-374.3.1.el5.lve0.8.44xen #1 SMP Mon Oct 3 18:44:37 EEST 2011 x86_64 x86_64 x86_64 GNU/Linux

Any idea\'s ?
  1. 26.01.2012 06:01:04
  2. # 12
eric mink Accepted Answer
Posts: 9
Joined: 14.12.2011
0
Votes
Undo
Hi Igor,

I\'ve contacted support with the contact form on the site with a link to this forumpost.

Hope they can login to my server.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.