Problem
I am trying to view or modify my license on my SCO Unix server machine with scoadmin(1M) and find that I get an error when the License Manager comes up:
Unable to run brand commandI choose "Details" and get the following message:
Unable to run brand command [MACHINE] failed to connect to [MACHINE].
Please check the following: * your network configuration * your network connection * remote access (rhost) permissions on the remote site * that SCOadmin is installed at the remote site Failure with connection to server. Remote child on machine [DOMAINNAME] has terminated. The child program /usr/lib/scoadmin/framework/osaserver has terminated. Server process exited with exit(1). Error with server process: [DOMAINNAME]: Unknown host
[MACHINE] is my machine name and [DOMAINNAME] is my domain. I have
already checked for the problems suggested in the "Details" message,
but I still get the error. Cause
The local domain name in /etc/resolv.conf is probably not matching what is looked for by the domain server.
Check also your /etc/hosts file to ensure there's:
a) No Duplicates b) No Typos c) The Domain Name is correct for the server's hostname
When scoadmin runs the LicenseMgr tcl script, it executes the
brand(1M) command to print the configured licenses. While the
brand(1M) command can be executed non-interactively from the console,
the LicenseMgr script requires the local domain name of the machine
it is running on for any command it runs. If the local domain is not
correct, you will get the above error message and the License Manager
will not function correctly. Solution
Compare the domain names found by the domain server to the local
domain name in /etc/resolv.conf. Run the host(1Mtcp) command with
your machine name:# host [MACHINE][DOMAIN] has address [IPADDRESS]This will return the fully qualified domain name for your machine, including the ip address.
Go into the /etc/resolv.conf file to look at the first domain entry:
domain [DOMAINNAME] search [OTHER DOMAINS] nameserver [IPADDRESS] nameserver [IPADDRESS]
This first domain entry should be different from what the host(1Mtcp)
command reports. Change the /etc/resolv.conf domain so that it
matches the entry reported by the host(1Mtcp) command. You should
not need to restart TCP/IP.Run scoadmin(1M), choose License Manager, and you should be able to see the licenses.
NOTE: If getting:"Unable to run brand command to add a license on the system"
and the details of this show:"Unable to run brand command to add a license on the system
Can not license the product/service due to a mismatch with the
Operating System License's callback/noncallback disposition
Error: incompatible callback registration types for 'UW714EVAL' and
'........' Exit Value: 7"or OSR6EVAL0You can not mix non-callback and callback licenses for the same product.
You have a non-callback eval license installed at current and now need to add a perpetual callback license on top of that, but this is causing a conflict as the callback types of two licenses are different.
Bringing the OS into single-user mode and removing the eval license first and then add the new license should solve this conflict as detailed below:
Ensure you have entered your upgrade licenses as:
I installed UW714 on a machine with a Deferred License, all fine.
I booted, configured networking, installed MP3, all fine.
I then booted into Single User Mode from the SplashScreen, ie. hit spacebar and entered "initstate = 1" then "go" and went into "scoadmin licence".
I removed the Eval License, and when the screen complains, hit CTRL- R to redraw it.
I entered the UW714 full License or Upgrade License.
For an Upgrade license then it will complain it needs the original UW711 license.
I entered this and quit from "scoadmin license" and rebooted the machine.
I now have a fully working, licensed, machine which now requires registration.
See also
scoadmin(1M), host(1Mtcp), resolv.conf(4tcp)