installing Grid Engine "cannot reach qmaster"

6,532

Essentially it's complaining that a reverse lookup of your IP returns localhost instead of anton-Virtualbox and your queue is setup to use anton-Virtualbox as the qmaster. So you need to update your hosts file.

Mine reads:

my.full.local.ip        my.fully.qualified.hostname    shorthostname
127.0.1.1               my.fully.qualified.hostname    shorthostname
127.0.0.1               localhost
...
Share:
6,532

Related videos on Youtube

bwDraco
Author by

bwDraco

I'm a computer and tech enthusiast with a variety of interests ranging from video games to fountain pens. I stand behind everything I post here. If you find any problems with my posts, feel free to leave comments, edit them, or let me know in chat if you have any questions or concerns. If you're curious about my answering style, it's inspired by the answers posted by Thaddeus Howze ♦ at Science Fiction & Fantasy. This chat transcript details why I made this change. I'm also one of the resident spam fighters on Super User and can catch spam others miss. If you suspect that one or more posts are spam, bring it up in the Ask a Super User Moderator chat room, and be sure to ping me—I'm around most of the time. Don't forget to flag blatant spam—it takes just six spam flags from the community to delete it. It sounds like flagging posts as spam isn't enough; they need to be flagged specifically to your attention (and what are the odds that you haven't already found it). —fixer1234 (source) If you're wondering about my name, it used to be DragonLord, but I've had to change it due to a bizarre trademark dispute. Feel free to call me Draco or by my real first name Brian. As an aside, I'm a bit of a photo enthusiast. I shoot with Pentax eqiuipment, and you can find me on Pentax Forums.

Updated on September 18, 2022

Comments

  • bwDraco
    bwDraco almost 2 years

    I want to install Grid Engine on my laptop.

    I am using Ubuntu 11.10 under VirtualBox 4.1.6.

    (The purpose of installing Grid Engine is not to compute anything, I just want a working Grid Engine environment to be able try out bash scripting for array jobs etc. The jobs which I would run would just do "sleep", so the cluster would consist of only one single node. My laptop has a dualcore CPU but I don't know if that's relevant here.)

    I am following the instructions from http://astoryworthtelling.wordpress.com/2009/08/25/installing-sge-on-ubuntu-single-machine-local-install/ and have tried to install Grid Engine like this:

    sudo apt-get install gridengine-master gridengine-exec gridengine-client gridengine-qmon gridengine-common
    

    Then I start qmon with sudo. The GUI starts alright, I click on "Queue Control". What then happens is that a window pops up saying "cannot reach qmaster":

    enter image description here

    If I click "Retry" I get another popup which is slightly more informative, "Unable to contact qmaster using port 6444 on host "anton-VirtualBox":

    enter image description here

    My question is, how can I fix this? Help to get Grid Engine running and fixing this would be very much appreciated, thank you.

    P.S.: One more thing, maybe it helps to help track down the error. When I try to use qstat from within bash, I get this message:

    anton@anton-VirtualBox:~$ qstat
    error: commlib error: access denied (client IP resolved to host name "localhost". This is not identical to clients host name "anton-VirtualBox")
    error: unable to contact qmaster using port 6444 on host "anton-VirtualBox"
    

    P.P.S.: I have some experience using Grid Engine, but absolutely zero installing or administering it.