can login to admin interface but not webmail

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

siabcool
Posts: 12
Joined: Sun Jan 30, 2005 8:15 pm

can login to admin interface but not webmail

Postby siabcool » Tue Feb 01, 2005 2:41 am

When I was logged in as sxadmin, I added a user test and set it up as a administrator.
test user can login to sac bu not webmail.

No users can login to webmail.
Its obviously not the same mechanism?
Any ideas?

Thanks,
Jonathan

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Tue Feb 01, 2005 5:44 am

what user information are giving to the webmail?

You can login using uID@domain.com or with email@domain.com

Is there anything in the ~TOMCAT_HOME/logs/caa.log or in ~SCALIX_HOME/logs/fatal

trig

siabcool
Posts: 12
Joined: Sun Jan 30, 2005 8:15 pm

Postby siabcool » Tue Feb 01, 2005 6:03 am

Thanks Trig,

I ended up reinstalling because its a new installation.
I think where I went wrong was.

During the configure --install --sac

it asked:
-> Have you already created Administrative Groups on any of the Scalix Server [yes/no]

I said no, where I should have said yes, but I couldn't seem to fix it.

I have a question also about sendmail, but i'll start another thread.

Regards,
Jonathan

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

Postby ScalixSupport » Tue Feb 01, 2005 6:18 am

If you are having problems signing on vi a SWA, you need to check a couple of places:

1) The tomcat logs in $TOMCAT_HOME/logs. In particular, the files beginning with scalix-swa

2) Your SWA configuration in /etc/opt/scalix/webmail/partner.xml. You should check that your ImapServer and SMTPServer settings are correct.

Cheers

Dave

siabcool
Posts: 12
Joined: Sun Jan 30, 2005 8:15 pm

Postby siabcool » Tue Feb 01, 2005 10:28 am

I have the problem still:

I have checked all the logs, the only one with out put is:

[root@scalix root]# tail -f cat /root/jakarta-tomcat-5.0.28/logs/scalix-swa_log.2005-02-02.txt
tail: cat: No such file or directory
==> /root/jakarta-tomcat-5.0.28/logs/scalix-swa_log.2005-02-02.txt <==
2005-02-02 01:21:02 StandardContext[/webmail]ip: 192.168.11.145; username: test@scalix.siab.com.au; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.BadUserName</faultcode><faultstring>The username or password is incorrect. Note that passwords are case sensitive. Try again.</faultstring><detail><e:BadUserName xmlns:e="http://scalix.com/errors"><message>The username or password is incorrect. Note that passwords are case sensitive. Try again.</message><debug>user: test@scalix.siab.com.au
request method(s): login
XML:
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;&lt;SOAP-ENV:Header&gt;&lt;credentials xmlns="http://scalix.com/schemas/gofish" SOAP-ENV:mustUnderstand="1"&gt;&lt;username&gt;test@scalix.siab.com.au&lt;/username&gt;&lt;emailDomain&gt;siab.com.au&lt;/emailDomain&gt;&lt;fugu&gt;Ox7c627c7e263129312b2d30262831242628233204&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;/credentials&gt;&lt;/SOAP-ENV:Header&gt;&lt;SOAP-ENV:Body&gt;&lt;m:login xmlns:m="http://scalix.com/methods"/&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;&#xd;
</debug></e:BadUserName></detail></SOAP-ENV:Fault>
2005-02-02 01:24:45 StandardContext[/webmail]ip: 192.168.11.145; username: test@scalix.siab.com.au; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.BadUserName</faultcode><faultstring>The username or password is incorrect. Note that passwords are case sensitive. Try again.</faultstring><detail><e:BadUserName xmlns:e="http://scalix.com/errors"><message>The username or password is incorrect. Note that passwords are case sensitive. Try again.</message><debug>user: test@scalix.siab.com.au
request method(s): login
XML:
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;&lt;SOAP-ENV:Header&gt;&lt;credentials xmlns="http://scalix.com/schemas/gofish" SOAP-ENV:mustUnderstand="1"&gt;&lt;username&gt;test@scalix.siab.com.au&lt;/username&gt;&lt;emailDomain&gt;siab.com.au&lt;/emailDomain&gt;&lt;fugu&gt;Ox78667c7931252823282e24232a2a2f28252e3004&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;/credentials&gt;&lt;/SOAP-ENV:Header&gt;&lt;SOAP-ENV:Body&gt;&lt;m:login xmlns:m="http://scalix.com/methods"/&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;&#xd;
</debug></e:BadUserName></detail></SOAP-ENV:Fault>

------------------------

heres some info on the user:

[root@scalix root]# omshowu -n test
Authentication ID: test
User Name : test /CN=test
MailNode : scalix,siab/OU1-TX=sxadmin
Internet Address : "test test" <test@scalix.siab.com.au>="test test" <test.test@scalix.siab.com.au>
System Login : 64535
Password : set
External authentication only: NO
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO


Thanks
Jonathan

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

Postby ScalixSupport » Tue Feb 01, 2005 10:35 am

The logging would indicate that you have your password incorrect.

Have you configured any external authentication such as Kerberos or LDAP ?

I'm also interested in how you managed to get a OU1-TX value for your mailnode. How did you install Scalix ?

Cheers

Dave.

siabcool
Posts: 12
Joined: Sun Jan 30, 2005 8:15 pm

Postby siabcool » Tue Feb 01, 2005 6:36 pm

To install, I started off with a server installation, and then added necessary packages with up2date, like XFree86, and installed all dependancies as they were asked for. Maybe I missed something?

Installation was done in the normal way otherwise.

I have checked that all the prereqs on Page 4 (install guide) are installed.

There was some more out put

-------------------------
[root@scalix LINUX]# cat /var/opt/scalix/logs/fatal

SERIOUS ERROR IMAP Server Da(IMAP Server Pr) 02.02.05 09
:25:19
[OM.DMON 2102] cannot create socket: Address already in use
Pid of logging process: 21622


ERROR SMTP Relay (SMTPD Relay Pr) 02.02.05 09
:25:19
[OM.DMON 2171] The SMTP Relay could not listen on port 25.
Pid of logging process: 21626


SERIOUS ERROR Administration(omshowenu ) 02.02.05 09
:25:19
[OM 7403] There is no Error Notification user currently configured.
Pid of logging process: 21644
Current errno value: 2


SERIOUS ERROR POP3 interface(POP3 Process ) 02.02.05 09
:25:50
[OM.POP3 1026] Failed to bind the POP3 socket to a address.
Pid of logging process: 21783
Current errno value: 98
-----------------

[root@scalix LINUX]# omshowenu
sxadmin /siab/CN=sxadmin

------------------

When insalling I chose not to install the POP and IMAP servers of scalix, was this correct. IMAP and POP servers are already running on the server.

Thanks
Jonathan

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

Postby ScalixSupport » Wed Feb 02, 2005 5:19 am

That would be your problem.

SWA uses the Scalix IMAP server in the background. You need to stop the running IMAP server and start up the Scalix one.

Cheers

Dave

siabcool
Posts: 12
Joined: Sun Jan 30, 2005 8:15 pm

Postby siabcool » Wed Feb 02, 2005 12:32 pm

thanks,

So on an system with a running IMAP does Scalix IMAP run along side it? Or does it replace it? if so will non-scalix user be catered for?

Regards,
Jonathan

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

Postby ScalixSupport » Wed Feb 02, 2005 12:37 pm

You can install SWA on a non-Scalix server provided that you edit partner.xml to point to the name of a known Scalix server.

If you require multiple IMAP servers running on the same server, you need to have separate IP addresses or use different ports.

Regardless, SWA needs to talk to a Scalix server to function.

Cheers

Dave

siabcool
Posts: 12
Joined: Sun Jan 30, 2005 8:15 pm

Postby siabcool » Thu Feb 03, 2005 6:02 pm

Thanks,

That worked, maybe it needs a message like: if you don't say YES, webmail won't work on this machine.

Regards
Jonathan

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

Postby ScalixSupport » Fri Feb 04, 2005 3:03 am

That worked, maybe it needs a message like: if you don't say YES, webmail won't work on this machine.


Can you be more descriptive ?

What needs a message to say YES to what ? :-)

Cheers

Dave

siabcool
Posts: 12
Joined: Sun Jan 30, 2005 8:15 pm

Postby siabcool » Sat Feb 05, 2005 6:06 am

Maybe I misunderstood.

That would be your problem.

SWA uses the Scalix IMAP server in the background. You need to stop the running IMAP server and start up the Scalix one.


Sounded like if you didn't setup the Scalix IMAP server on installation, the webmial application wouldn't work.

Regards,
Jonathan

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

Postby ScalixSupport » Sun Feb 06, 2005 4:02 pm

You understood correctly but when you install the Scalix server, you don't get a choice to install the Scalix IMAP server or not, it's part of the server software by default.

When you start the Scalix server, it will try to start up the IMAP server but if it's unable to bind to port 143, it will fail.

The Scalix Web client requires the Scalix IMAP server to be running.

Cheers

Dave.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests