Page 1 of 1
no acces to tomcat at port 8080
Posted: Mon Sep 20, 2004 4:21 am
by mardek01
Hi ,
I am trying to get scalix working now for 3 days and no succes yet.Now I have it installed on a redhat enterprise linux 3 distribution.At the end, after following the installation guide I could see the webmail and admin inlogscreens. Could log in to webmail but had no acces to the admin app (could not make a connection). went for some sleep and ...
This morning I started the scalix machine, started apache, tomcat and the scalix server. But, ; no acces to port 8080.
Checked the browser for proxyconfiguration or other service running on 8080. I am thinking of giving up. I really appreciate some help on this.
Martijn Dekker :(
Posted: Mon Sep 20, 2004 5:00 am
by ScalixSupport
The first things to check are:
1) Is anything listening on port 8080 ?
lsof -i tcp:8080
2) What do the tomcat logs show ?
Check $TOMCAT_HOME/logs/catalina.out.
Dave Kelly
Senior Support Engineer
Scalix Corporation
nothing running on port 8080
Posted: Mon Sep 20, 2004 5:53 am
by mardek01
Hi,
Thanks for your quick reply. There is nothing running om 8080. I tried to start tomcat a few times with ./startup.sh in the bin directory, but it seems tomcat is not starting up. When I do
> ps -ef | grep tomcat
I only get an entry for the "grep tomcat" command
I published my logfile here:
http://tienus.mine.nu/scalix/
When I run the ./startup.sh command I see this output:
Using CATALINA_BASE: /home/sxadmin/tomcat/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /home/sxadmin/tomcat/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /home/sxadmin/tomcat/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_05
Posted: Mon Sep 20, 2004 6:03 am
by ScalixSupport
It looks like this is a known issue.
With tomcat 5.0.2x, there is no need to rename xercesImpl.jar.
If you have already done this, rename the .bk file back to .jar and try to start tomcat again.
Dave
can't find the file
Posted: Mon Sep 20, 2004 6:19 am
by mardek01
I did not change any filname manually . Tried to find the file you mention, but can't find it. Where should I look?
Martijn Dekker
Posted: Mon Sep 20, 2004 6:25 am
by ScalixSupport
The file should be in $TOMCAT_HOME/common/endorsed
Dave.
Bingo! one problem solved.
Posted: Mon Sep 20, 2004 6:38 am
by mardek01
Thanks a lot.
It's working again!
Still no acces to the admin service though. I am getting the following message when I try to log in as user: sxadmin
--------message in warning box----------------------------------------------------------------------
Administration server is not responding.<br> Possible lost connection or server problem.
-----------------------------------------------------------------------------------------------------------
martijn
Posted: Mon Sep 20, 2004 6:43 am
by ScalixSupport
Do you have a copy of the Evaluation Guide ?
Page 17 describes what user ID you need to use. It should be the authentication ID of the administration user that you set up during the wizard install.
To debug any admin console issues further, you should check the log files caa.log and scalix-sac*.
Dave.
Still no acces
Posted: Mon Sep 20, 2004 8:27 am
by mardek01
Hi Dave,
I checked the eval install guide again to make sure I followed the right procedure. Seems that I did. The only difference I can find is that i assigned a different name to the mailnode. I called it scalix and the installguide suggests sxserver. Is this a problem?
Here you find my caa.log of my last attempt to log in to the admin service:
http://tienus.mine.nu/scalix
There is no scalix-sac* log. Is this normal?
Martijn
Posted: Tue Sep 21, 2004 5:51 am
by ScalixSupport
From the logs, I can see that you're signing on as
sxadmin@scalix.tmenv.com.
The Admin console uses an LDAP authenticated bind to determine authentication.
You can determine the correct login by running:
This should give you output like this:
Code: Select all
Authentication ID: sxadmin@tardis.uk.scalix.com
User Name : sxadmin /CN=sxadmin
MailNode : tardis
Internet Address : "sxadmin" <sxadmin@tardis.uk.scalix.com>
System Login : 64538
Password : set
External authentication only: NO
Admin Capabilities : YES
Mailbox Admin Capabilities : YES
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 13.09.04 15:09:05
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Note the "Authentication ID" value. You can then run the command
Code: Select all
omldapsearch -h tardis -D "omulauthid=sxadmin@tardis.uk.scalix.com" -wpassword cn=*
where the -D switch specifies the authentication ID from the omshowu command and the -w switch is for the password.
If the password is incorrect, you will get back:
If the details are correct, you should get back a list of the entries in your directory.
Dave.
Its working
Posted: Wed Sep 22, 2004 5:10 am
by mardek01
Thanks Dave for your suggestions.
After running the commands you mentioned above I figured out that there was a DNS problem. Was not easy to repair but finally I started all over again with the right domainnames and hostnames configured before installing scalix. This worked out fine, as I have acces to the admin and webclient.
Thanks a lot Dave for your support. I am now ready to start evaluating scalix.
MArtijn Dekker
Still no acces
Posted: Wed Oct 13, 2004 11:26 am
by Mauro
Hi
The only difference I can find is that i assigned a different name to the mailnode and the ldaphost.
[b]# omshowu -n sxadmin[/b]
Authentication ID: sxadmin@ESPADA
User Name : sxadmin /CN=sxadmin
MailNode :[color=red]MYHOST[/color]
Internet Address : "sxadmin" <sxadmin@MYHOST.NET>
System Login : sxuser
Password : set
External authentication only: NO
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 10.13.04 14:57:57
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
This works.
# omldapsearch -h [color=darkred]ESPADA [/color]-D "omUlAuthid=sxadmin@ESPADA" -w "mypassword" cn=sxadmin
cn=sxadmin, o=Scalix
cn=sxadmin
objectClass=top
objectClass=person
objectClass=organizationalPerson
objectClass=mhsUser
objectClass=scalixPerson
surname=sxadmin
mhsORAddresses=S=sxadmin/OU1=MYHOST/CN=sxadmin
omInternetAddr="sxadmin" <sxadmin@MYHOST.NET>
mail=sxadmin@MYHOST.NET
rfc822Mailbox=sxadmin@MYHOST.NET
omAddress=sxadmin /MYHOST/CN=sxadmin
omMailnode=MYHOST
omCn=sxadmin
omHostFqdn=ESPADA
omGlobalUniqueId=25000000142eb614-1.0.0.721
omLocalUniqueId=98
omUlCaps=7
omUlAuthid=sxadmin@ESPADA
But this not work.
# omldapsearch -h [color=red]MYHOST[/color]-D "omUlAuthid=sxadmin@MYHOST" -w "mypassword" cn=sxadmin
MYHOST: No route to host
Is this a problem?
Where can i find the file scalix-sac* log?
Mauro
Posted: Wed Nov 03, 2004 6:07 am
by ScalixSupport
Apologies for the delay in responding.
The logs will be in $TOMCAT_HOME/logs.
The ones that will show us a problem will be caa.log and catalina.out.
Looking at the result of your omldapsearch, it looks like you may have some networking problems if there is no route to MYHOST.
Cheers
Dave