Announcement

Collapse
No announcement yet.

Memmonitor install on CL 6.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Memmonitor install on CL 6.1

    Hi,

    Im trying to install memmonitor but I get this:

    yum install memmonitor
    Loaded plugins: fastestmirror, rhnplugin
    Loading mirror speeds fr om cached hostfile
    * cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
    cloudlinux-x86_64-server-6 X | 1.0 kB 00:00
    Setting up Install Process
    No package memmonitor available.
    Error: Nothing to do

    Wh ere can I get it?

  • #2
    Please, try doing:
    # yum clean all
    # yum install memmonitor

    it should be there now.

    Comment


    • #3
      I was able to install it. Thanks!

      There is a mistake in the docs about the memmonitor config file location in CPanel servers. The doc says /etc/sysconf/memmonitor but the file is in /etc/sysconfig/memmonitor.

      Im a bit confused on the procs list. Is there any particular reason that it lists /php,/php-bin? Is the "/" a requirement? Does it pertain to the executables location? If so, should I change it to /usr/local/bin/php or /usr/bin/php?

      The reason Im asking is I;d like to include mailman in the procs list. PS shows it as " /usr/local/cpanel/3rdparty/bin/python /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl -s start". Should I add "/python"? Or the whole proc name as shown in PS?

      How about httpd? How do I add it?

      Please advise.

      Thanks.

      Comment


      • #4
        Thanks for the feedback.
        The way PROCS works -- it takes the process name, and matches it from the end.
        This way /php matches any php executable - no matter where it located, yet it wouldn match something like /usr/bin/cophp, etc... something that just ends with php, but not a binary.

        So, to kill those mailman proceses, you need to kill /python
        For httpd -- /httpd
        Also, make sure you use correct lowest UID, as httpd is < 500 (usually 99) -- you will need to adjust that as well.

        Comment


        • #5
          Thanks for explaining about PROCS.

          Got it working now!

          Comment

          Working...
          X