Upgrade failed: Can't create sxqueryadmin

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

vorlon2261
Posts: 70
Joined: Tue Oct 04, 2005 2:38 am
Location: Australia

Upgrade failed: Can't create sxqueryadmin

Postby vorlon2261 » Thu Mar 02, 2006 1:36 am

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Mar 02, 2006 4:00 am

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

vorlon2261
Posts: 70
Joined: Tue Oct 04, 2005 2:38 am
Location: Australia

Postby vorlon2261 » Thu Mar 02, 2006 6:52 pm

License if for----- -------- -------. Contains one domain, -----.---.--.
Last edited by vorlon2261 on Thu Mar 02, 2006 8:54 pm, edited 1 time in total.

vorlon2261
Posts: 70
Joined: Tue Oct 04, 2005 2:38 am
Location: Australia

Postby vorlon2261 » Thu Mar 02, 2006 7:02 pm

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...

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Mar 02, 2006 7:06 pm

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

vorlon2261
Posts: 70
Joined: Tue Oct 04, 2005 2:38 am
Location: Australia

Postby vorlon2261 » Thu Mar 02, 2006 7:31 pm

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...

vorlon2261
Posts: 70
Joined: Tue Oct 04, 2005 2:38 am
Location: Australia

Postby vorlon2261 » Fri Mar 03, 2006 12:23 am

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 03, 2006 12:54 am

Thanks for that vorlon226! Pleased you got it sorted.

Cheers,
Don


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests