The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CloudLinux came back??

Discussion in 'CloudLinux' started by Mark_CFH, May 29, 2014.

  1. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Not to long ago, somehow, CloudLinux was installed on 2 of our servers... No idea how or who did it.

    We had it uninstalled on both servers.. logging in today, I have noticed that its installed back in again.

    According to logs, no one other than myself has been on the server, how is it possible that cloudlinux reinstalled by itself? I don't even think that is possible ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    When is the last time your system was rebooted? Is this a dedicated server or a VPS? How are you determining that it's installed?

    Thank you.
     
  3. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    In looking at the top when logging into WHM:

    CLOUDLINUX 6.5 x86_64 standard –

    It did not state this a day or so ago... It had stated:

    CENTOS 6.5 x86_64 standard –



    rebooted as in "graceful reboot" ? It was rebooted fully the last time we had CloudLinux uninstalled, everything was working fine and great after that, till just recently, when I noticed that CloudLinux was reinstalled again.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
     
    [~]# uptime
     13:02:35 up  2:03,  1 user,  load average: 0.61, 0.56, 0.48
     [~]# uname -a
    Linux servername.com 2.6.32-531.11.2.lve1.2.55.el6.x86_64 #1 SMP Fri Apr 18 09:06:31 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
     [~]# cat /var/cpanel/envtype
    standardroot@chicago [~]#
    

    Nothing came up for that last one.. But the looks of that stuff there... it doesnt have cloudLinux installed... but if its not installed, then why does it show it at the top of WHM ? It didnt before.
     
  6. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
    Given uname -a --> it is installed. Sorry about the misterry, but I also really want to know how it can get installed by itself.
     
  7. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I want to know how it can get installed by itself too. Because, I know that I did not install it. it was installed on our servers before by itself, and we had it removed, because all it did was cause major complications with everything, to us, it is just plain out awful. And all the problems we had before, I would not even think about reinstalling it again.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I have not heard of that happening before, and I can't think of anything cPanel-related that would automatically install Cloud Linux and reboot the system. Are you sure no other companies or administrators have access to your server? If so, I recommend opening a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  9. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    There's only 1 other company that has access to our servers (MyCPAdmin), in which they did not install it. We had them remove it the last time, and will probably have them remove it again.

    We are going to see what they are going to do, and if it doesnt work out, we will submit a ticket here. Is there a log that maybe im not looking at, that would show who/how it got installed?
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  11. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
    root@servername [~]# /root/.bash_history
    -bash: /root/.bash_history: Permission denied
    
    What am I missing there? I am logged in as root
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  13. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    ok so in searching bash_history, I found this:

    #1401389872
    /usr/local/cpanel/bin/cloudlinux_system_install -c


    which seems was ran to install CL... But, I don't know when or who ran it.. No IP, no date, no info... Unless im just not reading the file correctly, but thats of no help there ?
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Depending on how often the command line is utilized, and how it's configured, you may find the date/time of the entry with the "history" command. EX:

    Code:
    history|grep cloudlinux_system_install
    However, that does explain how it was installed. You may need to consult with everyone who has root access to your system to determine how it might have happened.

    Thank you.
     
  15. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
    root@servername [~]# history|grep cloudlinux_system_install
      272  [2014-05-29 20:57:52] /usr/local/cpanel/bin/cloudlinux_system_install -c
      522  [2014-06-12 01:56:11] /usr/local/cpanel/bin/cloudlinux_system_install -c
      529  [2014-06-12 18:22:08] history|grep cloudlinux_system_install
    
    That is what it shows.... and it looks as if it was ran 1am this morning, however, it is currently not installed. There are only 3 of us that have access to Root... In which I know the other 2 did not install it, and I know I did not install it either..

    I found a license update in Cron.d... If that runs, would that somehow automatically reinstall CL ? I did go through and found an actual tutorial on removing "everything" of CloudLinux from the server, and while going through that, I found several items that were still sitting on the server. And removed them as well.

    However, The part where I get confused at, is this whole "Kernel" thing. How do I know that CentOs is using the correct kernel? And to be sure that CL kernel is no longer on the server.
     
  16. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can verify the installed kernel with the "uname -a" command. Remember you have to reboot the machine back into the stock kernel after uninstalling Cloud Linux.

    Thank you.
     
  17. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
    root@servername [~]# uname -a
    Linux servername 2.6.32-531.17.1.lve1.2.56.el6.x86_64 #1 SMP Mon Jun 2 05:54:37 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
    
     
  18. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  19. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I have rebooted though.. =\ several times... because when I did... we had several dozen tickets come in complaining their site was down lol...

    but I must not be setting it correctly or something.. I don't know. I could only go by what I read on how to uninstall that gawd awful thing.
     
  20. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can review the following file:

    Code:
    /boot/grub/grub.conf
    Grub orders the entries starting at zero. If you wanted to utilize the first kernel listed in this file upon boot, make sure it's configured with "default=0". Using "default=1" would boot the second kernel in the file, and so forth.

    Thank you.
     
Loading...

Share This Page