Technical article 126282

When trying to run the scoadmin license command I am getting an error from the brand command

OpenServer 6.0.0

Written · Last revised

Problem

I am attempting to run the scoadmin license command and it is failing with an error that may look like the following:

Unable to run brand command testbox failed to connect to testbox.

Where testbox is the name of your machine.

Solution

The scoadmin tools are dependent on DNS working correctly. If you read through the Error Details of this particular failure you will see the actual problem. In the case seen here:

Error with server process: testbox.foo.com
testbox.foo.com: Unknown host

Was in the Error Details. The problem in this particular case was that during installation the machine was named testbox.foo.com. The machine was also designated as a DHCP client or has had the domain name or hostname changed.

You will also notice that the hostname command returns testbox.foo.com. As a DHCP client /etc/resolv.conf and /etc/hosts have been modified by the DHCP client software to reflect the domain name settings for your network. This is what breaks the license manager.

To correct this problem you will want to edit the file /etc/default/tcp. In that file you will find a variable DOMAIN= you should set that variable to the correct domain that you are in. You could find this in /etc/hosts or in /etc/resolv.conf. Once you set that variable you will find that the scoadmin utilities will work again.

If the DOMAIN= is correct check in /etc/hosts and in /etc/resolv.conf for entries that are not correct.

Whatever hostname returns you must be able to ping it for the
scoadmin utilities to work.

From the Xinuos technical article database, record 126282. Reproduced with permission. The original is at www.sco.com/ta/126282, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.