Page 1 of 1

FQDN Help???

Posted: Mon Feb 27, 2006 4:43 pm
by jgao
I have an FC4 machine with dynamic address, networked properly, and the FQDN works perfectly for all web applications. It also works perfectly if I install zimbra on it. But after I put scalix on this machine, I can't log into sac using sxadmin. I ran

omsearch -e cn=sxadmin -m @all-attr@ -v.

In the output, the HOST-FQDN is empty. Then I ran

sxmodfqdn -o "" -n www.mydomain.com

It completed with one or more error. I ran the first command again to see if HOST-FQDN got updated. But it's still empty.

How to fix the problem???

Thanks,
Jian

Posted: Mon Feb 27, 2006 5:41 pm
by ScalixSupport
Can you post the output of sxmodfqdn which shows the errors ?

Cheers

Dave

Output of sxmodfqdn

Posted: Mon Feb 27, 2006 6:27 pm
by jgao
Status -- search directory for HOST-FQDN= and modify ...
omsearch: [OM 16094] Requested Search requires a sequential search and may take a long time
Status -- modify user with authid sxqueryadmin@ ...
ommodu : [OM 8040] The user can't be found, or has been deleted.

Failed -- Error in modifying user sxqueryadmin@
Status -- /opt/scalix/bin/sxmodfqdn has completed with one or more error.

Posted: Tue Feb 28, 2006 8:04 am
by ScalixSupport
Please post the output of

omsearch -e cn=sxqueryadmin -m @all-attr@ -v

Thanks,

Sascha.

Posted: Tue Feb 28, 2006 1:40 pm
by jgao
The output of omsearch -e cn=sxqueryadmin -m @all-attr@ -v was:

S=sxqueryadmin
OU1=user
OU2=cirrata
CN=sxqueryadmin
INTERNET-ADDR=sxqueryadmin-www@mydomain.com
ENTRY-TYPE=1
UL-AUTHID=sxqueryadmin@www.mydomain.com
UL-CAPS=7
UL-CLASS=Limited
UL-IL=C
GLOBAL-UNIQUE-ID=111000002ba73044-www
LOCAL-UNIQUE-ID=289
HOST-FQDN=
IA-FORMAL=sxqueryadmin-www@mydomain.com
S-SDX=S635
DBV-ID=33554438

omsearch and the parameters in sxmodfqdn script seems broken in this situation. I updated the HOST-FQDN for sxadmin manually. Now sxadmin can log into sac.

I updated the HOST-FQDN for every entry. But if I add new user, the HOST-FQDN is still empty.

How to update system level HOST-FQDN???

Thanks,
Jian

Posted: Wed Mar 01, 2006 8:00 am
by ScalixSupport
can you please post the output of

cat /opt/scalix/global/config

Thx,

Sascha.

Posted: Wed Mar 01, 2006 5:16 pm
by jgao
Output of cat /opt/scalix/global/config:

OMNAME=www
OMHOSTNAME=www
OMDATADIR=/var/opt/scalix
OMAUTOSTART=TRUE

Posted: Wed Mar 29, 2006 5:59 am
by seer
jgao wrote:
omsearch and the parameters in sxmodfqdn script seems broken in this situation. I updated the HOST-FQDN for sxadmin manually. Now sxadmin can log into sac.

Jian


How do you manually update the HOST-FQDN

Posted: Wed Mar 29, 2006 6:05 am
by ScalixSupport
You need to set OMHOSTNAME to the fully qualified host name, not just the hostname

OMHOSTNAME=www.domain.com

After that, restart Scalix.

Cheers,

Sascha.

Posted: Wed Mar 29, 2006 6:13 am
by seer
/opt/scalix/global/config

this file has the OHHOSTNAME set correctly,

I need to have the HOST-FQDN set for sxadmin so I can login SAC

having run sxmodfqdn it updated the sxqueryadmin but not the sxadmin user...

I need to be able to change the HOST-FQDN=[blank] for the sxadmin user


thanks

Adam

Posted: Wed Mar 29, 2006 6:17 am
by ScalixSupport
omsearch -e cn=sxadmin -m @all-attr@ >sxdir
vi sxdir
ommodent -f sxdir

Cheers,

Sascha.

Posted: Wed Mar 29, 2006 6:31 am
by seer
OK..

I get this error when I run ommodent -f sxdir.. any idea's

Thanks Adam

[root@server01 ~]# ommodent -f sxdir
S=sxadmin/OU1=server01/OU2=it/CN=sxadmin/INTERNET-ADDR=sxadmin-server01@ahkgroup.com/ENTRY-TYPE=1/UL-AUTHID=sxadmin@server01.it.ahkgroup.com/UL-CAPS=7/UL-CLASS=Limited/UL-IL=C/IA-FORMAL=sxadmin-server01@ahkgroup.com/S-SDX=S355/HOST-FQDN=server01.it.ahkgroup.com/GLOBAL-UNIQUE-ID=150000002b482244-10revres/LOCAL-UNIQUE-ID=97/DBV-ID=33554433
[OM 16954] Entry not in the Directory


Posted: Wed Mar 29, 2006 7:08 am
by seer
I have reinstalled Scalix and I'm now able to login to SAC

I think I have damage a directory somewhere.. and thought the best action would be to reinstall...


Sasha.. thanks for you prompt reply.. found you suggestions very helpful

Thanks

Adam