Install Error on FC3

Ask questions about your setup or get help installing ZCS server (ZD section below).
jharrell
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install Error on FC3

Post by jharrell »

-just a side thought-
why are passwords stored in clear text? Both in the install log and in the config log files the passwords are in clear text... knowing the structure in which they appear would make trivial to gain access to the server (that is of course with at the minimum read access to the tmp directory... most users have this though...)
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Install Error on FC3

Post by 14319KevinH »

Even though you say you killed slapd before the install it seems that it never fully came up on the new install.
Did you also do a "rm -rf /opt/zimbra" maybe there are some permission errors that are preventing slapd from correctly binding.
I asusme you've already checked your /etc/hosts file.
does "nslookup `hostname`" return the right host and IP?
What does "getconf GNU_LIBPTHREAD_VERSION" return?
Have you ran "yum update" to make sure your system is updated?
jharrell
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install Error on FC3

Post by jharrell »

Ok trying again... ran uninstall script... ran "rm -rf /opt/zimbra" just in case..
what is needed to be checked in: /etc/hosts ?

(there is a binding to the ip and the host name)
does "nslookup `hostname`" return the right host and IP?

yes - and double checked the router settings to make sure that port 80 is forwarded...

(btw how to I serve both the web site and zimbra if on seperate servers? which ports does Zimbra use? (I asume 80 25 143? http pop3 imap)
*What does "getconf GNU_LIBPTHREAD_VERSION" return?

NPTL 2.3.5
*Have you ran "yum update" to make sure your system is updated?

Yes - and running FC4 with the symlinks for ssl libs
jharrell
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install Error on FC3

Post by jharrell »

ok, I found it... somehow the network setup for the host was botched. It referenced the current server to get replaced and not the test server I was using with zimbra... now the services start up fine and no more errors (well critical ones at least) - but now when I try to tye on to the admin console at 7071 it shuts the mailbox service down and refuses the connection... I try to start the service back up (zmcontrol start mailbox) it starts back up... but still refuses the connection and then shuts down the service again...


-jh


thanks for all the help.
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Install Error on FC3

Post by 14319KevinH »

[quote user="jharrell"]ok, I found it... somehow the network setup for the host was botched. It referenced the current server to get replaced and not the test server I was using with zimbra... now the services start up fine and no more errors (well critical ones at least) - but now when I try to tye on to the admin console at 7071 it shuts the mailbox service down and refuses the connection... I try to start the service back up (zmcontrol start mailbox) it starts back up... but still refuses the connection and then shuts down the service again...

[/QUOTE]
Can you post the Tomcat log of this happening?
/opt/zimbra/tomcat/catalina.out
jharrell
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install Error on FC3

Post by jharrell »

Tomcat is starting, however I cannot locate the log you are asking for.
jh
jharrell
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install Error on FC3

Post by jharrell »

here is the ls of the directory:
# ls

bin conf logs RELEASE-NOTES server temp work

common LICENSE NOTICE RUNNING.txt shared webapps


--- oh look at that it was under the diretory 'logs' - sorry..
here is the log:
root@mail logs]# cat catalina.out

Oct 17, 2005 12:25:29 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-7070

Oct 17, 2005 12:25:31 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-7071

Oct 17, 2005 12:25:31 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 4716 ms

Oct 17, 2005 12:25:31 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Oct 17, 2005 12:25:31 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.7

Oct 17, 2005 12:25:31 PM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Oct 17, 2005 12:25:37 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive zimbraAdmin.war

Oct 17, 2005 12:25:37 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive service.war

log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).

log4j:WARN Please initialize the log4j system properly.

Oct 17, 2005 12:25:47 PM org.apache.catalina.core.ApplicationContext log

INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]

Oct 17, 2005 12:25:47 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-7070

Oct 17, 2005 12:25:49 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-7071

Oct 17, 2005 12:25:50 PM org.apache.jk.common.ChannelSocket init

INFO: Port busy 8009 java.net.BindException: Address already in use

Oct 17, 2005 12:25:50 PM org.apache.jk.common.ChannelSocket init

INFO: JK2: ajp13 listening on /0.0.0.0:8010

Oct 17, 2005 12:25:50 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=1 time=0/408 config=null

Oct 17, 2005 12:25:50 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 19009 ms

Oct 17, 2005 12:25:50 PM org.apache.catalina.core.StandardServer await

SEVERE: StandardServer.await: create[8005]:

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)

at java.net.ServerSocket.bind(ServerSocket.java:319)

at java.net.ServerSocket.(ServerSocket.java:185)

at org.apache.catalina.core.StandardServer.await(StandardServer.java:346)

at org.apache.catalina.startup.Catalina.await(Catalina.java:600)

at org.apache.catalina.startup.Catalina.start(Catalina.java:560)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

Oct 17, 2005 12:25:50 PM org.apache.coyote.http11.Http11Protocol pause

INFO: Pausing Coyote HTTP/1.1 on http-7070

Oct 17, 2005 12:25:50 PM org.apache.coyote.http11.Http11Protocol pause

INFO: Pausing Coyote HTTP/1.1 on http-7071
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Install Error on FC3

Post by 14319KevinH »

[quote user="jharrell"]oh look at that it was under the diretory 'logs' - sorry..

[/QUOTE]
Sorry I posted the wrong path. Looks like Tomcat can't bind to all the ports it needs. Can you confirm that these ports are all available: 7070, 7071, 7025, etc. Do you have anything else running on that box besides Zimbra?

jharrell
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install Error on FC3

Post by jharrell »

I'm not showing anything on those ports, here are all active ports:
PORT STATE SERVICE

22/tcp open ssh

80/tcp open http

111/tcp open rpcbind

139/tcp open netbios-ssn

443/tcp open https

445/tcp open microsoft-ds

3306/tcp open mysql

7075/tcp open unknown

7389/tcp open unknown

7777/tcp open unknown

8005/tcp open unknown

8009/tcp open ajp13

8080/tcp open http-proxy

10025/tcp open unknown

32769/tcp open unknown
Thanks again for the help...
-jh
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Install Error on FC3

Post by 14319KevinH »

[quote user="jharrell"]I'm not showing anything on those ports, here are all active ports:
PORT STATE SERVICE

22/tcp open ssh

80/tcp open http

111/tcp open rpcbind

139/tcp open netbios-ssn

443/tcp open https

445/tcp open microsoft-ds

3306/tcp open mysql

7075/tcp open unknown

7389/tcp open unknown

7777/tcp open unknown

8005/tcp open unknown

8009/tcp open ajp13

8080/tcp open http-proxy

10025/tcp open unknown

32769/tcp open unknown
Thanks again for the help...
-jh[/QUOTE]
80/443 are used by us. We accept HTTP/HTTPS there. Do you have a web server running?
Post Reply