Page 1 of 2
Not connecting to port
Posted: Sun Nov 19, 2006 11:37 pm
by donniesd
I have installed scalix with no problems via
http://www.scalix.com/community/viewtopic.php?t=516
I went with all defaults . And now wheni go to test.
http://your-domain-name:8080/sac
http://your-domain-name:8080/webmail
I am getting 404 error.
ps -ef | grep tomcat
root 5406 1 4 21:51 ttyp0 00:00:10 /usr/java/jre1.5.0_04/bin/java -server -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_04/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/scalix-tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/opt/scalix-tomcat/temp org.apache.catalina.startup.Bootstrap start
root 25797 6009 0 21:55 ttyp1 00:00:00 grep tomcat
# ps -ef | grep httpd
root 24266 1 0 21:55 ? 00:00:00 /usr/local/apache/bin/httpd -DSSL
nobody 24435 24266 0 21:55 ? 00:00:00 /usr/local/apache/bin/httpd -DSSL
nobody 24436 24266 0 21:55 ? 00:00:00 /usr/local/apache/bin/httpd -DSSL
nobody 24437 24266 0 21:55 ? 00:00:00 /usr/local/apache/bin/httpd -DSSL
nobody 24438 24266 0 21:55 ? 00:00:00 /usr/local/apache/bin/httpd -DSSL
nobody 24439 24266 0 21:55 ? 00:00:00 /usr/local/apache/bin/httpd -DSSL
root 27898 6009 0 21:55 ttyp1 00:00:00 grep httpd
Running CentOS 4.4 Final
scalix-core-intel-redhat-10.0.1 comm ed.
You use 8080 (if no mod_jk) or port 80 (with mod_jk). Did you install the mod_jk? If so try it without the 8080
Tried Both Ways.
Posted: Sat Nov 25, 2006 8:05 pm
by chris
What is the output of lsof -i ?
Posted: Sun Nov 26, 2006 1:44 pm
by donniesd
chris wrote:What is the output of lsof -i ?
Hello Chris,
root@boeing [~]# lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
named 14163 named 20u IPv4 47145 UDP localhost:domain
named 14163 named 21u IPv4 47146 TCP localhost:domain (LISTEN)
named 14163 named 22u IPv4 47147 UDP xxxxxx:domain
named 14163 named 23u IPv4 47148 TCP xxxx:domain (LISTEN)
named 14163 named 24u IPv4 47149 UDP -xxxx-xxxx-xxx-xxx:domain
named 14163 named 25u IPv4 47150 TCP -xxxx-xxxx-xxx-xxx:domain (LISTEN)
named 14163 named 26u IPv4 47161 UDP *:32894
named 14163 named 27u IPv4 47162 TCP localhost:rndc (LISTEN)
mysqld 15635 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 16296 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 16297 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 16298 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 16300 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 16302 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 18090 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 18091 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 18095 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
mysqld 18098 mysql 3u IPv4 48871 TCP *:mysql (LISTEN)
sshd 19490 root 3u IPv4 51154 TCP *:ssh (LISTEN)
httpd 23742 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 23742 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 23954 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 23954 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 24328 root 20u IPv4 62608 TCP *:https (LISTEN)
httpd 24328 root 21u IPv4 62609 TCP *:http (LISTEN)
sshd 25972 root 3u IPv4 523812883 TCP -xxxx-xxxx-xxx-xxx:domain>-xxxx-xxxx-xxx-xxx:domain (ESTABLISHED)
httpd 26040 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 26040 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 26042 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 26042 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 26043 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 26043 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 26044 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 26044 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 26046 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 26046 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 27954 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 27954 nobody 21u IPv4 62609 TCP *:http (LISTEN)
portsentr 28504 root 0u IPv4 66624 TCP *:tcpmux (LISTEN)
portsentr 28504 root 1u IPv4 66626 TCP *:sunrpc (LISTEN)
pure-ftpd 29790 root 4u IPv4 67745 TCP *:ftp (LISTEN)
sshd 29872 root 3u IPv4 523904654 TCP -xxxx-xxxx-xxx-xxx:domain--xxxx-xxxx-xxx-xxx:domainpe--xxxx-xxxx-xxx-xxx:domain:2302 (ESTABLISHED)
httpd 29905 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 29905 nobody 21u IPv4 62609 TCP *:http (LISTEN)
httpd 32546 nobody 20u IPv4 62608 TCP *:https (LISTEN)
httpd 32546 nobody 21u IPv4 62609 TCP *:http (LISTEN)
root@boeing [~]#
Posted: Sun Nov 26, 2006 5:36 pm
by chris
does either /etc/init.d/tomcat restart or (depending on your version) /etc/init.d/scalix-tomcat restart help things any?
Tomcat doesn't seem to be listening to anyports, although it should be.
Posted: Sun Dec 03, 2006 9:15 pm
by donniesd
chris wrote:does either /etc/init.d/tomcat restart or (depending on your version) /etc/init.d/scalix-tomcat restart help things any?
Tomcat doesn't seem to be listening to anyports, although it should be.
Shows its running now, but still can not get to anything.
Posted: Sun Dec 03, 2006 9:24 pm
by florian
well, what happens when you try without the :8080 in your URL?
Florian.
Posted: Mon Dec 04, 2006 3:07 pm
by mdewald
I am having the same issue on RHEL4 with a fresh install of Scalix Beta 11 RC1. On port 80, I get a 404 (Can't find page). On port 8080 I get a connection could not be established. Everything installed fine.
Tomcat and httpd are running. Any thoughts?
Posted: Mon Dec 04, 2006 3:12 pm
by florian
Are you using SSL? If so, have you read the virtual hosts known issue in the release notes for RC1?
If not - had you previously modified your Apache config from what the system was like when you installed your RHEL - e.g. by having another application running on top of Apache.
Cheers,
Florian.
Posted: Mon Dec 04, 2006 3:18 pm
by mdewald
We're not using SSL. Apache config was probably modified at some point, but it's all pretty much default with no applications on top of it, just apache itself.
Posted: Mon Dec 04, 2006 3:20 pm
by florian
Well, I can positively confirm that RC1 installation works on RHEL4 with a vanilla Apache as I've tried that about 5x myself, resulting in the scalix webapps be accessible via Apache/Port 80.
Did you use typical or custom install mode? If using custom, did you modify anything off the defaults?
Florian.
Posted: Mon Dec 04, 2006 3:25 pm
by mdewald
Default installation. I did just realize that we have httpd installed to a different location than default RH.
Posted: Mon Dec 04, 2006 3:38 pm
by florian
then it's probably not default httpd as shipped by apache because with the Apache RPMs you don't really have a chance for specifying the location.
We only support the OS-supplied Apache with our installer. You can probably get another one to work, but then you're really on your own. Your best bet is to do a clean install on another system with the default, then see what the differences are.
Florian.
Posted: Mon Dec 04, 2006 3:51 pm
by mdewald
Well, if someone reads this that does have a default install of Apache and Scalix, can you please send me your httpd.conf. I don't have countless boxes to install this on and need to get this up asap to test to see whether it's viable to replace exchange.
Posted: Mon Dec 04, 2006 3:56 pm
by florian
send me a email at florian ---attt---- scalix ---dott--- com and then I'll send you mine.
Florian.
Posted: Tue Dec 12, 2006 1:34 pm
by donniesd