I have a fresh install of Confluence 4.0.3 in order to do some testing. I followed the installation instructions, and am running it as a service. It appears to start, but I cannot access Confluence through a web browser. Here's the log:
Apr 8, 2014 8:29:30 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
Apr 8, 2014 8:29:30 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
Apr 8, 2014 8:29:30 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
Apr 8, 2014 8:29:30 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching pro
perty.
Apr 8, 2014 8:29:30 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9011
Apr 8, 2014 8:29:30 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 353 ms
Apr 8, 2014 8:29:30 AM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Standalone
Apr 8, 2014 8:29:30 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
2014-04-08 08:29:31,954 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.0.3 (build
#3056)
Apr 8, 2014 8:29:45 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-9011
Apr 8, 2014 8:29:45 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 14878 ms
Probably you shold disable firewall and/or SElinux.
Thanks for the help. Showing that Confluence was up but not accessible through the browser got the server firewall settings a second look, and that was the culprit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's great, You may want to mark this question as answered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't look like the problem is Confluence.
For security reasons I'm going through a jump server to a VM in a lab. I'll work with the folks that run the lab to see if there's something going on with the port or firewall. I'll let you know what I find out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Server.xml
<Server port="9012" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="9011" minProcessors="5"
maxProcessors="75"
enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false" URIEncoding="UTF-8"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scott have you tried my last suggestion?
WGET confirmed that confluence is working properly. And that web interface can be accessed from server itself. You just need to fix networking issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solid, thanks. So tomcat is running port 9012, confluence is running on 9011. If the machine confluence is installed on has a browser, what happens when you access localhost:9011?
If not, what url are you using to access from client machine?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also just noticed, the logs you're looking in are the tomcat logs. Please go to the data directory and find the .../logs/atlassian-confluence.log. These are the confluence application logs. The tomcat logs you're looking in are fine for seeing that tomcat is started, but once tomcat bootstraps confluence, all important application related logging goes to the logs i just mentioned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ryan, I posted those above. Here it is again. Seems like Confluence is ready:
2014-04-09 07:57:55,013 INFO [Thread-6] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2014-04-09 07:57:55,032 INFO [Thread-6] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2014-04-09 07:58:49,851 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.0.3 (build #3056)
2014-04-09 07:58:54,824 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
2014-04-09 07:59:03,393 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:08.567
2014-04-09 07:59:06,337 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok if that is the atlassian-confluence.log then you have a valid startup and Confluence is waiting for you to access via a browser to finish the setup. I just ran through a test new install and this is what is reported in the atl-conf.log:
2014-04-09 09:32:46,012 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.4.4 [build 4733 based on commit hash f235dd088df5682b0560ab6fc66ed22c9124c0be] 2014-04-09 09:32:47,529 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system 2014-04-09 09:32:50,874 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:03.344 2014-04-09 09:32:51,411 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
Once you can access confluence via the browser, you will be able to move forward with the db configuration etc.
Are you accessing with a browser on the same machine that confluence is installed on?
Can you copy/paste your server.xml here? There is no information in it that will compromise your instance (as long as this is a default config file that you've only changed the ports on).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ryan, I changed the port in server.xml to 9011 and 9012.
Here's what the wget reports:
2014-04-09 10:20:08-- http://localhost:9011/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:9011... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://localhost:9011/bootstrap/selectsetupstep.action[following]
--2014-04-09 10:20:09-- http://localhost:9011/bootstrap/selectsetupstep.action
Reusing existing connection to localhost:9011.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://localhost:9011/setup/setuplicense.action;jsessionid=47312B5C6211E58D0145EC01F0045559[following]
--2014-04-09 10:20:09-- http://localhost:9011/setup/setuplicense.action;jsessionid=47312B5C6211E58D0145EC01F0045559
Reusing existing connection to localhost:9011.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: âindex.htmlâ
[ <=> ] 14,715 --.-K/s in 0s
2014-04-09 10:20:10 (146 MB/s) - âindex.htmlâ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you paste your server.xml here? Stating you changed the port in the server.xml to 9011 and 9012 is confusing. There are 2 important ports configured in the server.xml. One is for tomcat, the other is for confluence. From the log snippet you pasted in your first comment,
INFO: Starting Coyote HTTP/1.1 on http-9011
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This means that confluence is up and running and server itself can access it. But you have some problems accessing it from your workstation.
Please review firewall config of server (ensure you have TCP port 9011 open) or disable firewall temporary.
You may also try to create a putty session to your server and create SSH tunnel throug it to (localhost TCP port 9011). You will then be able to browse confluence from your workstation as from server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andris, we don't have telnet. I believe for security reasons. Ryan, the log doesn't have that line:
2014-04-09 07:57:55,013 INFO [Thread-6] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2014-04-09 07:57:55,032 INFO [Thread-6] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2014-04-09 07:58:49,851 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.0.3 (build #3056)
2014-04-09 07:58:54,824 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
2014-04-09 07:59:03,393 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:08.567
2014-04-09 07:59:06,337 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try
You should really try to open URL somehow from server itself to exclude proxy server issues and alike.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What port is confluence configured to run on in the conf/server.xml? Or are you running the war configuration?
Should see this in the config file if you're running standalone:
<Server port="8000" shutdown="SHUTDOWN" debug="0"> <Service name="Tomcat-Standalone"> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false" URIEncoding="UTF-8"/>
You're looking for the port= in the Connector element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Confluence default port is 8090, but you can check what port it is configured on by checking the file at
<confluence-install>/conf/server.xml
Check the port listed there and access at http://localhost:<port>
Also, if you view the atlassian-confluence.log, you'll see something like this during the startup:
--------------------------
Build Information
--------------------------
baseUrl = http://localhost:8090
That baseUrl is where you will find confluence waiting for you :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Put in a rule in iptables rather than turning the firewall off (no bueno), and disabled selinux. No improvement. No errors in logs. Server listening to port. Confluence seems ready, but nothing comes up in the browser. Is there another way to test it that might lend some information?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check if telent opens connection, run from server:
telnet localhost 9011
If it opens, try opening with web browser from server (for example text based browser lynx).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
getenforce: "Enforcing"
messages has no errors
The only changes I made to the confluence XML file was to change the ports.
Netstat shows:
tcp 0 0 *:9011 *:* LISTEN 20296/java
tcp 0 0 localhost:9012 *:* LISTEN 20296/java
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, not home, but the "data" directory. Here is the content of the atlassian-confluence.log
2014-04-08 07:49:11,618 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.0.3 (build #
3056)
2014-04-08 07:49:15,099 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
2014-04-08 07:49:23,493 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:08.392
2014-04-08 07:49:25,644 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
2014-04-08 07:55:49,510 INFO [main] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2014-04-08 07:55:49,526 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2014-04-08 07:56:06,931 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.0.3 (build #
3056)
2014-04-08 07:56:10,327 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
2014-04-08 07:56:19,015 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:08.686
2014-04-08 07:56:21,018 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
2014-04-08 08:05:34,836 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.0.3 (build #
3056)
2014-04-08 08:05:38,288 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
2014-04-08 08:05:47,055 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:08.765
2014-04-08 08:05:49,041 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
2014-04-08 08:29:10,936 INFO [main] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2014-04-08 08:29:10,950 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2014-04-08 08:29:31,954 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.0.3 (build #
3056)
2014-04-08 08:29:35,232 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
2014-04-08 08:29:43,270 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:08.036
2014-04-08 08:29:45,125 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is output of "getenforce" command?
Please check syslog(/var/log/messages or /var/log/syslog) for any errors/warnings.
What changes (if any) you made to server.xml file?
What is output of "netstat -ap|grep -i list |grep java" command when confluence is started?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Standalone. I followed these instructions, launching the install as root.
https://confluence.atlassian.com/display/CONF40/Installing+Confluence+on+Linux
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There really should be application logs.
Where did you put "confluence home"? There will be a directory under that called "logs" with the application logs in it. Those will tell you more, although they might not be called exactly what we're expecting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you install standalone version? It somehow feels like application server(tomcat) starts, but don't find confluence application anywhere...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's the process:
505 20296 1 0 08:29 ? 00:00:16 /opt/atlassian/confluence/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/atlassian/confluence/endorsed -classpath /opt/atlassian/confluence/bin/bootstrap.jar -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djava.io.tmpdir=/opt/atlassian/confluence/temp org.apache.catalina.startup.Bootstrap start
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check if you have errors in other LOG file - [confluence home]\logs\atlassian-confluence.log
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is Java process running?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The installation instructions say that this should appear in the logs when it's ready to be accessed through a web browser. But they don't say what to do if it doesn't show up at all.
******************************************************* ... You can now access Confluence through your web browser. ******************************************************* |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried accessing it on 8080 or 9011 port?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.