Page 1 of 1

After upgrading 10-to-11 Can't login with IMAP/SAC

Posted: Sun Apr 29, 2007 3:30 pm
by rabbit
Hi all!

OS: CentOS4
Accounts: admrabbit (aka sxadmin), rabbit (user)

There are problems to authenticate user with imap/sac/webmail/....
Before 20 mins I could login to SAC and see all users and so.
I also see the mails with omlist...

Now after reinstalling some services SAC/Webmail dont work "503 Service unavailbale"...
and my imap problem is still alive...

On SAC it says something like The administration server don't response...

Any ideas?

Thank you :)

rabbit


edit: @sac/webmail problem found the problem
@imap authentication any ideas?

Posted: Sun Apr 29, 2007 9:35 pm
by rabbit
After playing with Scalix...

Code: Select all

[root@srv01 scalix-11.0.3-GA]# omlogon -h 127.0.0.1 -u admrabbit -p wrong_pw

Connected to srv01

A fatal error has occurred - see the system error log
Permission denied



Code: Select all

[root@srv01 scalix-11.0.3-GA]# omlogon -h 127.0.0.1 -u admrabbit -p correct_pw

Connected to srv01

The username or password is incorrect. Note that passwords are case sensitive. Try again.



after rename of /var/opt/scalix/s1/s/sys/password.cfg the error messages switched each other so with correct pw permission denied and with wrong bad password^^

@scalix freak: /var/opt/scalix/s1/s/sys/password.cfg what can i do with this file?

another interesting aspect is that he knows the default language of different users...

rabbit (my 'german' mailbox user) got german errors
admrabbit (my 'english' sxadmin) got english errors...

a test with omlist:

Code: Select all

[root@srv01 scalix-11.0.3-GA]# omlist -u admrabbit -p correct_pw

Connected to srv01

Logged on as admrabbit /srv01,dpeach

There are 0 new message(s) in your In-Tray
   1    Cron <root@srv01> /etc/w  admrabbit            12:01 on 23 Apr 07 TN
   2    Cron <root@srv01> /etc/w  admrabbit            00:00 on 24 Apr 07 TN
...........

Posted: Mon Apr 30, 2007 6:08 am
by ScalixSupport
Hi!

Firstly, I would request you to perform a permission check on the data folder, check the
permissions for scalix files using the command "omcheck -s -d", to actually fix the
problem if any of permissions, you should run omcheck to generate a shell script
- on standard output - that, when run, fixes the problem for permission issues.

Code: Select all

omcheck -s -d >fix_perms.sh
bash ./fix_perms.sh

You might want to review what the script is planning to do before actually executing
the second command.

Please reply with what do you get result for the command:

Code: Select all

omshowu -n admrabbit

Try logging into SAC with what you get next to "Authentication ID" in the above
command.

Also, try the steps mentioned at:
viewtopic.php?p=30358&highlight=#30358

See if these helps.

Thanks,
Subir

Posted: Mon Apr 30, 2007 7:51 am
by rabbit
Subir thanks to look on my problem :)

@permission checks: yes i had done both... -i / -s

I've tried the ldapsearch command with self-written password by hand and by command

Output:

Code: Select all

[root@srv01 ~]# ldapsearch -xh 127.0.0.1 -D "cn=sxqueryadmin" -w $(cat /var/opt/scalix/s1/caa/scalix.res/config/psdata) | more
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#


After this following my users...

With omldapsearch it works to....

Code: Select all

[root@srv01 ~]# omldapsearch -h 127.0.0.1 -D "cn=sxqueryadmin" -w correct_password objectclass=*


I've compare my mailserver with another and found out that I missing a folder named "caa" in /etc/opt...
I created directorys and create also a psdata file with the password of sxqueryadmin
Nothing helps :(


Code: Select all

[root@srv01 ~]# omshowu -n admrabbit
Authentication ID: admrabbit
Globally Unique ID: 05000000e564af54-09.28.412.58
User Name : admrabbit /CN=admrabbit
MailNode : srv01,dpeach
Internet Address : admin@xxx.de="root" <root@xxx.de>
System Login : admrabbit
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : 04.30.07 04:17:47
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited
[root@srv01 ~]#


Login failed

Code: Select all

[root@srv01 ~]# omshowu -n sxqueryadmin
Authentication ID: sxqueryadmin@srv01.xxx.de
Globally Unique ID: 01100000e564af54-09.28.412.58
User Name : sxqueryadmin /CN=sxqueryadmin
MailNode : srv01,dpeach
Internet Address : sxqueryadmin-srv01@xxx.de
System Login : 60534
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited
[root@srv01 ~]#


Thanks in advance!

Any further ideas Subir? Or want to have a look on machine? :(


i forgot to add: output of debug log:

Code: Select all

2007-04-30 13:11:00,088 DEBUG [SAAJServlet.doPost:93] ************ Request Start ***************
2007-04-30 13:11:00,090 DEBUG [SAAJServlet.doPost:95] Starting SAAJServlet with POST
2007-04-30 13:11:00,131 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header host:srv01.xxx.de
2007-04-30 13:11:00,133 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header user-agent:Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
2007-04-30 13:11:00,135 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2007-04-30 13:11:00,136 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-language:de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
2007-04-30 13:11:00,138 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-encoding:gzip,deflate
2007-04-30 13:11:00,139 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-charset:windows-1250,utf-8;q=0.7,*;q=0.7
2007-04-30 13:11:00,141 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Keep-Alive:300
2007-04-30 13:11:00,142 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header content-type:text/xml
2007-04-30 13:11:00,144 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header referer:http://srv01.xxx.de/sac/AdminApp.jsp
2007-04-30 13:11:00,146 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header content-length:447
2007-04-30 13:11:00,148 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header cookie:opPrefs=ww_rabbit%3A1280%26wh_rabbit%3A982%26wl_rabbit%3A1272%26wt_rabbit%3A8%26fpw_rabbit%3A265%26fph_rabbit%3A541%26btph_rabbit%3A388%26wl_null%3A0%26wt_null%3A8%26ww_glizi%3A999%26wh_glizi%3A673%26wl_glizi%3A8%26wt_glizi%3A11; OPENMAIL_USER=Mike(32)xxx(95)xxx(32)(47)srv01(44)dpeach(47)CN(61)von(32)Gliszczynski(92)(44)(32)Mike; testing=1; sid=d26a953234aa6f12924911cd1dc3ef7c
2007-04-30 13:11:00,149 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header pragma:no-cache
2007-04-30 13:11:00,151 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Via:1.1 fwgw.xxx.de:3128 (squid/2.5.STABLE6)
2007-04-30 13:11:00,153 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header X-Forwarded-For:192.168.1.3
2007-04-30 13:11:00,154 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Cache-Control:no-cache, max-age=259200
2007-04-30 13:11:00,156 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header connection:keep-alive
2007-04-30 13:11:00,451 DEBUG [SOAPDispatcherServlet.onMessage:159] **** Start of Message Handling ****
2007-04-30 13:11:00,812 DEBUG [SOAPHelper.getElementValue:144] Found ServiceType
2007-04-30 13:11:00,814 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key disabled found null
2007-04-30 13:11:00,824 DEBUG [SOAPTransformerFactory.getTransformer:50] Service type from SOAP message is scalix.res
2007-04-30 13:11:00,826 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key transformer.class found com.scalix.sac.ubermgr.caa.RESTransformer
2007-04-30 13:11:00,841 DEBUG [SOAPHelperUtils.getSoapBodyElement:179] Body element1 CAARequestMessage = null
2007-04-30 13:11:00,843 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 ServiceType = scalix.res
2007-04-30 13:11:00,845 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 Credentials = null
2007-04-30 13:11:00,847 DEBUG [SOAPHelperUtils.getSoapBodyElement:190] Found Credentials
2007-04-30 13:11:00,849 DEBUG [SOAPHelperUtils.getCredentials:255] local name=id
2007-04-30 13:11:00,850 DEBUG [SOAPHelperUtils.getCredentials:256] qualified name=id
2007-04-30 13:11:00,853 DEBUG [SOAPHelperUtils.getCredentials:272] local name=name
2007-04-30 13:11:00,855 DEBUG [SOAPHelperUtils.getCredentials:273] qualified name=name
2007-04-30 13:11:00,856 DEBUG [SOAPHelperUtils.getCredentials:277] value=admrabbit
2007-04-30 13:11:00,858 DEBUG [SOAPHelperUtils.getCredentials:272] local name=passwd
2007-04-30 13:11:00,859 DEBUG [SOAPHelperUtils.getCredentials:273] qualified name=passwd
2007-04-30 13:11:00,861 DEBUG [SOAPHelperUtils.getCredentials:282] value=xxxxxxxxx
2007-04-30 13:11:00,863 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-30 13:11:00,864 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-30 13:11:00,866 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 Credentials = null
2007-04-30 13:11:00,875 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 FunctionName = GetConsoleConfig
2007-04-30 13:11:00,877 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found FunctionName
2007-04-30 13:11:00,879 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =GetConsoleConfig
2007-04-30 13:11:00,916 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-30 13:11:00,918 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-30 13:11:00,919 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found ServiceType
2007-04-30 13:11:00,921 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =scalix.res
2007-04-30 13:11:00,922 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-30 13:11:00,925 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-30 13:11:00,926 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 Credentials = null
2007-04-30 13:11:00,928 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 FunctionName = GetConsoleConfig
2007-04-30 13:11:00,929 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found FunctionName
2007-04-30 13:11:00,931 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =GetConsoleConfig
2007-04-30 13:11:00,959 DEBUG [SOAPHelperUtils.getSoapBodyElement:179] Body element1 CAARequestMessage = null
2007-04-30 13:11:00,961 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 ServiceType = scalix.res
2007-04-30 13:11:01,152 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 Credentials = null
2007-04-30 13:11:01,159 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 FunctionName = GetConsoleConfig
2007-04-30 13:11:01,161 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 GetConsoleConfigParameters = null
2007-04-30 13:11:01,162 DEBUG [SOAPHelperUtils.getSoapBodyElement:190] Found GetConsoleConfigParameters
2007-04-30 13:11:01,168 DEBUG [CAAServiceFactory.getService:52] Looking for service called scalix.res
2007-04-30 13:11:01,169 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key service.class found com.scalix.sac.ubermgr.caa.RESService
2007-04-30 13:11:01,213 DEBUG [SOAPDispatcherServlet.onMessage:266] Calling doRequest() on service com.scalix.sac.ubermgr.caa.RESService@1fc25e5
2007-04-30 13:11:01,255  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2007-04-30 13:11:01,273 DEBUG [LDAPHelperUtils.getTargetHost:335] Sending request using URL = ldap://__FQHN_QUERY_SERVER_NAME__:389
2007-04-30 13:11:01,274 DEBUG [LDAPHelperUtils.getTargetHost:336] Sending request to ldap host =__FQHN_QUERY_SERVER_NAME__
2007-04-30 13:11:01,275 DEBUG [LDAPHelperUtils.getTargetHost:337] Sending request as querymgr DN =cn=sxqueryadmin,o=scalix
2007-04-30 13:11:01,276 DEBUG [LDAPHelperUtils.getTargetHost:338] Filter =(omUlAuthid=admrabbit)
2007-04-30 13:11:01,431 DEBUG [SAAJServlet.doPost:130] ************ Request End Success ***************

Posted: Tue May 01, 2007 9:13 pm
by rabbit
solved....

I exported all mailboxes with a quick&small script and imported it on a new RHEL5 VM with SX11... (omcpinu/omcpoutu)

Respect for Scalix 11...It's comes with very nice features and looks better....

But upgrading is so sooo soooooooo soooooooo terrible....
Only problems over problems... and now I can't see the following error anymore ;)

Code: Select all

Fatal error occured: Msg: An error occurred xXxXXxXxXx -- check the log for errors.


Have a nice day and thx 4 all..

Posted: Wed May 02, 2007 1:03 am
by ScalixSupport
Great. :wink: