You are here: Troubleshooting > General Issues

4.1 General Issues

This topic details some common problems and general solutions.

In this topic:

4.1.1 Moab error: "cannot determine local hostname"

# service moab start
Starting moab: ERROR:    cannot determine local hostname - node is misconfigured
                                    [FAILED]
...
SCHEDCFG[Moab]                      SERVER=<moab-hostname>:42559
...

Also check /etc/hosts to be sure the host name resolves, at least with localhost:

...
127.0.0.1   <moab-hostname> localhost localhost.localdomain localhost4 localhost4.localdomain4
...

4.1.2 Moab error: "Moab will now exit due to license file not found"

# service moab start
Starting moab: Moab will now exit due to license file not found
Please contact Adaptive Computing ([email protected]) to get a license for your system
                                    [FAILED]

If you encounter this error when starting Moab, make sure your Moab license file is named moab.lic and is located in the /opt/moab/etc/ directory.

Also make sure the license is not expired. The expiration date is listed in the license file. For example:

# cat /opt/moab/etc/moab.lic
...
# Expires after Tue Dec 31 10:43:46 2013
...

4.1.3 Other Moab issues

See Troubleshooting and System Maintenance in the Moab Workload Manager Administrator Guide.

4.1.4 Where do I change my passwords?

In this section:

4.1.4.A Moab Super User Username and Password

The default username and password for Moab are moab-admin and changeme! (respectively).

To change the username and/or the password for the Moab super user.

  1. Stop the moab service.

    [root]# service moab stop
  2. Stop the tomcat service.

    [root]# service tomcat stop
  3. Change the respective values in the following files:
    • /opt/mws/etc/mws-config.groovy:
    • auth.defaultUser.username = "moab-admin"
      auth.defaultUser.password = "changeme!"
    • /opt/moab/etc/moab-private.cfg:
    • CLIENTCFG[RM:mws] USERNAME=moab-admin PASSWORD=changeme!
    • /opt/moab/etc/cloud.cfg:
    • CONFIG[default]      MWS_USERNAME=moab-admin
      CONFIG[default]      MWS_PASSWORD=changeme!
  4. Start the tomcat service.

    [root]# service tomcat start
  5. Start the moab service.

    [root]# service moab start

4.1.4.B MongoDB Passwords

To change the passwords for MongoDB:

  1. Stop the moab service.

    [root]# service moab stop
  2. Stop the tomcat service.

    [root]# service tomcat stop
  3. Change the passwords for the MongoDB accounts (i.e., moab_user and/or mws_user). See the MongoDB documentation for detailed instructions.
  4. Edit the password values in the following files:
    • /opt/moab/etc/moab-private.cfg:
    • MONGOUSER            moab_user
      MONGOPASSWORD        secret2
    •  /opt/mws/etc/mws-config.groovy:
    • // MongoDB configuration.
      grails.mongo.username = "mws_user"
      grails.mongo.password = "secret3"
  5. Start the tomcat service.

    [root]# service tomcat start
  6. Start the moab service.

    [root]# service moab start

© 2016 Adaptive Computing