FQDN Help???

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

FQDN Help???

Postby jgao » Mon Feb 27, 2006 4:43 pm

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

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

Postby ScalixSupport » Mon Feb 27, 2006 5:41 pm

Can you post the output of sxmodfqdn which shows the errors ?

Cheers

Dave

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Output of sxmodfqdn

Postby jgao » Mon Feb 27, 2006 6:27 pm

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.

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

Postby ScalixSupport » Tue Feb 28, 2006 8:04 am

Please post the output of

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

Thanks,

Sascha.

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Postby jgao » Tue Feb 28, 2006 1:40 pm

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

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

Postby ScalixSupport » Wed Mar 01, 2006 8:00 am

can you please post the output of

cat /opt/scalix/global/config

Thx,

Sascha.

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Postby jgao » Wed Mar 01, 2006 5:16 pm

Output of cat /opt/scalix/global/config:

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

seer
Posts: 11
Joined: Mon Mar 27, 2006 8:01 am

Postby seer » Wed Mar 29, 2006 5:59 am

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

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

Postby ScalixSupport » Wed Mar 29, 2006 6:05 am

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.

seer
Posts: 11
Joined: Mon Mar 27, 2006 8:01 am

Postby seer » Wed Mar 29, 2006 6:13 am

/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

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

Postby ScalixSupport » Wed Mar 29, 2006 6:17 am

omsearch -e cn=sxadmin -m @all-attr@ >sxdir
vi sxdir
ommodent -f sxdir

Cheers,

Sascha.

seer
Posts: 11
Joined: Mon Mar 27, 2006 8:01 am

Postby seer » Wed Mar 29, 2006 6:31 am

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


seer
Posts: 11
Joined: Mon Mar 27, 2006 8:01 am

Postby seer » Wed Mar 29, 2006 7:08 am

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 15 guests