Why do I need re-install after re-boot of VM?

to create new topics or reply. | New User Registration

This topic contains 5 replies, has 2 voices, and was last updated by  Sasha J 2 years, 8 months ago.

  • Creator
  • #7429

    I added more memory to my VM host — 16 GBs is nice! — and I re-installed everything. The web UI seems what I expect.


    if I re-boot the VM, when I try to start up hmc again, the restart fails with some message about port not available.

    I then yum erase hmc and do a yum install hmc again and then I can start things up as expected.


    Now the cluster is gone as well! I have to re-install the cluster.

    Is this normal behavior? Anything I can do about it? Restarting a server has got to be an event that is tolerated, right? I should not need to install things to recover in my opinion.

    Suggestions please.

    I did see the selinux work-around in a previous thread but why is this necessary?

Viewing 5 replies - 1 through 5 (of 5 total)

You must be to reply to this topic. | Create Account

  • Author
  • #7462

    Sasha J

    [root@rhel58-nn1 ~]# cat /etc/selinux/config
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    # enforcing – SELinux security policy is enforced.
    # permissive – SELinux prints warnings instead of enforcing.
    # disabled – SELinux is fully disabled.
    # SELINUXTYPE= type of policy in use. Possible values are:
    # targeted – Only targeted network daemons are protected.
    # strict – Full SELinux protection.
    [root@rhel58-nn1 ~]#

    You have to edit this file and put “disabled”.

    to check after reboot:

    [root@rhel58-nn1 ~]# sestatus
    SELinux status: disabled

    Cluster always installing correctly if SELINUX correctly disabled and firewall disabled as well.

    Thank you!


    So the question is (pardon my inexperience), how to completely disable SELINUX and then verify that after a restart it is in fact really disabled? Are there commands to run, files to check? Maybe you need to be more of a nuts and bolts Linux admin to pull this all off? One of the other discussions had some advice about SELINUX and I followed it but I had cluster re-install problems after. Is that advice sufficient?



    Sasha J

    SELINUX should be not only of, it should be completely disabled and system should be cleanly restarted after this.



    No, I am doing the hmc commands as root.

    httpd is not running — at least I don’t see it in the process viewer.

    I will collect output logs.

    Should SELINUX be off when hmc is first installed? I tried that and then oozie wouldn’t start cleanly.



    Sasha J

    Are you start hmc from non-root user?
    such messages about the port, usually means that you do not have enough privileges to start process.
    Or, maybe process (httpd) is already running.
    This is all related to HTTPD, right?

    SELINUX should off for now, full support for it planned to be implemented in the future.

    Suggestions here:
    make sure you do not starting hmc from non root user,
    make sure you do not have httpd started automatically on boot, in this case port 80 is already in use and as a result you can not start second hpptd.

    And output and logs will also be helpful.
    Please, use script in this page to collect information and send it to us:


    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.