Page 1 of 1

Upgrade failed: Can't create sxqueryadmin

Posted: Thu Mar 02, 2006 1:36 am
by vorlon2261
Hi all,

Attempting to upgrade my test server to scalix 10.0.0, it comes across the following:

Code: Select all

2006-03-02 16:16:18,617 INFO Configuring RES...
2006-03-02 16:16:19,904 INFO Mailnode is melbourne,unico
2006-03-02 16:16:19,921 INFO Server's existing mailnode is melbourne,unico
2006-03-02 16:16:20,079 INFO Configuring / upgrading RES
2006-03-02 16:16:20,487 ERROR Aborting...!
2006-03-02 16:16:20,488 CRITICAL Operation failed: Web apps config function configure_res failed: Failed to add "query admin" user sxqueryadmin@wintermute
.domain.com. /opt/scalix/bin/omaddu reported the following error: omaddu : [OM 8114] Could not get a license to configure this user.
.Please check that the domain domain.com is licensed.
2006-03-02 16:16:20,488 ERROR Operation failed: Aborting web apps configuration
2006-03-02 16:17:39,613 INFO Ending Scalix Installer - Msg: An error occurred configuring Web applications!


Note that its trying to create the sxqueryadmin user with the FQDN version of the hostname. License file only has domain.com. Does it need to have both?

Greg

Posted: Thu Mar 02, 2006 4:00 am
by ScalixSupport
Hi Greg,

I'm assuming you have an Enterprise License, correct? If so, can you post your company name and we can verify that your license was generated properly.

Thanks,
Rachel

Posted: Thu Mar 02, 2006 6:52 pm
by vorlon2261
License if for----- -------- -------. Contains one domain, -----.---.--.

Posted: Thu Mar 02, 2006 7:02 pm
by vorlon2261
Oh yeah... This happens before I'm given a chance to install the license...
I then installed the licence via sxlicmgr.py successfully, uninstalled Scalix, reinstalled Scalix and got the same problem. From what I can tell, the license survived through all this, so it is installed... I also did a count of the number of users, and I should have a small amount of headroom, though its only 2 or 3...

Posted: Thu Mar 02, 2006 7:06 pm
by ScalixSupport
Hi Greg,

Could you send me your license to the Support mailbox (support@scalix.com) and I'll take a look at it. It's not actually your Full user count that's giving you the problem. I'm also curious when you say it's giving you this before it's prompted you for your license. What steps are you going through for the Install?

Thanks,
Rachel

Posted: Thu Mar 02, 2006 7:31 pm
by vorlon2261
Sent...

To install the license, I used:

Code: Select all

sxlicmgr.py --set -t perm "LICENSE TEXT"


Confirmation of license can be done via:

Code: Select all

sxlicmgr.py --get -t all


which I did after reinstalling Scalix, so the licenses persist through an uninstall...

Posted: Fri Mar 03, 2006 12:23 am
by vorlon2261
For those that followed, the problem was initially that the License server didn't come up right. An omstat -a showed it to be in aborted state.

Starting it up then got further, with it stating that it couldn't add the sxqueryadmin user because it was already there. Removal of the existing sxqueryadmin user got it the rest of the way. So the commands were:

Code: Select all

# omstat -a
# omlicmon
# omdelent -e cn=sxqueryadmin
# omdelu sxqueryadmin@host.domain.com


Note that the omdelu was because the omdelent worked, but for some reason the user still existed afterword. Your milage may vary.

Posted: Fri Mar 03, 2006 12:54 am
by ScalixSupport
Thanks for that vorlon226! Pleased you got it sorted.

Cheers,
Don