Page 1 of 1
Cannot save changes to Contact Info
Posted: Mon Aug 06, 2007 6:11 pm
by keewee
Kia ora,
One of our accounts in Scalix will not save any changes made to the Contact Info. I couldn't see that anyone else has posted an issue like this and I couldn't find anything in the knowledgebase, so here goes.
I can make changes to everyone else and have them successfully save, but this particular account gives me a message "The user information could not be saved." message when I try to Save Changes. I can add/remove group membership and do anything else with this account, except modify fields on the 'Contact Info' page. This particular account is a 'Standard User'.
This issue has persisted through several releases of Scalix - I kept hoping that one day one of the new releases would fix the problem, but they haven't.
Scalix Server Version is 11.1.0.10849
Running on Red Hat Enterprise Linux v4
SAC Version 11.1.0.45, release 1
(Apart from platform, tomcat, server and swa, all components are version 11.1.0.45)
Cheers,
Craig
Posted: Wed Aug 08, 2007 10:32 am
by dannyt
Hi,
Can you check scalix-res.log for any relavant error (which should also show the exact command and arguments issued) plus the output of omsearch -e <user> -m @all-attr@
Regards,
Danny
Posted: Wed Aug 08, 2007 10:14 pm
by keewee
dannyt wrote:Hi,
Can you check scalix-res.log for any relavant error (which should also show the exact command and arguments issued) plus the output of omsearch -e <user> -m @all-attr@
Regards,
Danny
Where should this file be, as I could not locate it anywhere on the server? Thanks.
Posted: Thu Aug 09, 2007 8:34 am
by kanderson
/var/opt/scalix/??/tomcat/logs/scalix-res.log
It should be in there...
Kev
Posted: Thu Aug 09, 2007 5:31 pm
by keewee
kanderson wrote:/var/opt/scalix/??/tomcat/logs/scalix-res.log
It should be in there...
Kev
Thanks Kev. I'd not looked in the tomcat directory as I didn't think it would be in that one.
I think the relevant lines from
scalix-res.log would be:
Code: Select all
2007-08-10 08:58:03,938 DEBUG [RESDispatcherServlet.dumpRequest:260] ---> RES Incoming Request Headers <----
2007-08-10 08:58:03,939 DEBUG [RESDispatcherServlet.dumpRequest:265] content-type:text/xml; charset=utf-8
2007-08-10 08:58:03,939 DEBUG [RESDispatcherServlet.dumpRequest:265] user-agent:Scalix CAA/Ubermanager 1.0
<Command instance="mailsrv1" name="ommodent">
<Parameters enc="false">
<param flag="-n" value="EMPL-ORG=RX Plastics Ltd"/>
<param flag="-e" value="G=Hank/S=Murney/OU1=mailsrv1/OU2=rxplastics"/>
</Parameters>
2007-08-10 08:58:03,939 DEBUG
[RESDispatcherServlet.dumpRequest:265] host:mailsrv1.rxplastics.co.nz
2007-08-10 08:58:03,940 DEBUG [RESDispatcherServlet.dumpRequest:265] accept:text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
2007-08-10 08:58:03,940 DEBUG [RESDispatcherServlet.dumpRequest:265] connection:keep-alive
2007-08-10 08:58:03,940 DEBUG [RESDispatcherServlet.dumpRequest:265] content-length:277
2007-08-10 08:58:03,941 DEBUG [RESDispatcherServlet.dumpRequest:268] ---> RES Incoming Request XML Document (Not a secure request, OK) <-----
2007-08-10 08:58:03,941 DEBUG [RESDispatcherServlet.dumpRequest:294] <?xml version="1.0" encoding="UTF-8"?>
<ReqRequest>
<Command instance="mailsrv1" name="ommodent">
<Parameters enc="false">
<param flag="-n" value="EMPL-ORG=RX Plastics Ltd"/>
<param flag="-e" value="G=Hank/S=Murney/OU1=mailsrv1/OU2=rxplastics"/>
</Parameters>
</Command>
</ReqRequest>
2007-08-10 08:58:03,942 DEBUG [CmdExecution.executeCmd:141] ENVIRONMENT: LANG=en_US.UTF-8 OM_CHAR=UTF-8 OMCURRENT=mailsrv1 HOME=/tmp PWD=/tmp
2007-08-10 08:58:03,943 DEBUG [CmdExecution.executeCmd:143] COMMAND: /opt/scalix/bin/ommodent -n EMPL-ORG=RX Plastics Ltd -e G=Hank/S=Murney/OU1=mailsrv1/OU$
2007-08-10 08:58:04,101 DEBUG [RESDispatcherServlet.dumpResponse:302] ---> RES Sending Response XML Document <-----
2007-08-10 08:58:04,102 DEBUG [RESDispatcherServlet.dumpResponse:309] <?xml version="1.0" encoding="UTF-8"?>
<ResResponse>
<Command name="ommodent">
<Status>FAILED:100</Status>
<Output>
<Line value="G=Hank/S=Murney/OU1=mailsrv1/OU2=rxplastics"/>
<Line value="[OM 16955] Entry is not unique in the Directory"/>
<Line value=""/>
</Output>
</Command>
</ResResponse>
omsearch -e <user> -m @all-attr@ gave me the following:
Code: Select all
omsearch: [OM 16073] Unknown attribute specified.
Parameter : Filter
Attribute : hankm
Posted: Tue Aug 14, 2007 10:37 am
by dannyt
The problem may be caused by have two users with the same first name and last name on the same mailnode. A omsearch -e "G=Hank/S=Murney/OU1=mailsrv1/OU2=rxplastics" -m @all-attr@ should confirm this if more than one match is returned.
The workaround is to make sure the user names are unique or use a second mailnode.
Danny
Posted: Tue Aug 14, 2007 8:18 pm
by keewee
dannyt wrote:The problem may be caused by have two users with the same first name and last name on the same mailnode. A omsearch -e "G=Hank/S=Murney/OU1=mailsrv1/OU2=rxplastics" -m @all-attr@ should confirm this if more than one match is returned.
The workaround is to make sure the user names are unique or use a second mailnode.
Danny
OK, will check this out tomorrow as I'm off on leave today. This could be it as this user does have two accounts - one with a published address the other with a private address.
Thanks. Will check it out and report back.
SOLVED
Posted: Wed Aug 15, 2007 4:56 pm
by keewee
dannyt wrote:The problem may be caused by have two users with the same first name and last name on the same mailnode. A omsearch -e "G=Hank/S=Murney/OU1=mailsrv1/OU2=rxplastics" -m @all-attr@ should confirm this if more than one match is returned.
The workaround is to make sure the user names are unique or use a second mailnode.
Danny
Kia ora Danny,
Confirmed that the two entries for this user have the same Given Name and Surname. After changing one field slightly I can now edit and save the Contact Info on that account.
Many thanks for your help.
Cheers,
Craig