cancel
Showing results for 
Search instead for 
Did you mean: 

Can't connect remotely to new Alfresco installation

phonon
Champ in-the-making
Champ in-the-making
Hi, I've just installed Alfresco on a CentOS 4.4 (Red Hat ES) server. I can connect on the server to  http://127.0.0.1:8080/alfresco, which pops up correctly, but when I try to connect remotely http://208.109.232.184:8080/alfresco
it doesn't work (times out).

I should mention that I installed remotely using ssh -X (was V-E-R-Y S-L-O-W, took about two hours) and used AlfrescoCommunity-2.0-Linux-x86-Install, with all typical, default install, and I logged in as root first.

Am I misunderstanding something here? Can Alfresco not work over the Internet? That would be a big bummer. Here are all the log files I can find, if that helps.

catalina.2007-03-20.log
——————————————————————————-
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/jdk1.5.0_09/jre/lib/i386/server:/usr/java/jdk1.5.0_09/jre/lib/i386:/usr/java/jdk1.5.0_09/jre/../lib/i386
Mar 20, 2007 11:29:08 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 699 ms
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Mar 20, 2007 11:29:57 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 20, 2007 11:29:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/21  config=null
Mar 20, 2007 11:29:57 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 20, 2007 11:29:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 49786 ms
———————————————–
catalina.out
———————————————-
CompilerOracle: exclude org/apache/lucene/index/IndexReader$1 doBody
CompilerOracle: exclude
org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger
mergeIndexes
CompilerOracle: exclude
org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger
mergeDeletions
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/jdk1.5.0_09/jre/lib/i386/server:/usr/java/jdk1.5.0_09/jre/lib/i386:/usr/java/jdk1.5.0_09/jre/../lib/i386
Mar 20, 2007 11:29:08 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 699 ms
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Mar 20, 2007 11:29:08 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 20, 2007 11:29:08 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
23:29:22,230 ERROR
[transform.magick.AbstractImageMagickContentTransformer]
ImageMagickContentTransformer not available: Failed to execute
command: convert
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_751.gif
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_752.png
23:29:23,610 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not
detect RMI registry - creating new one
23:29:25,275 WARN  [alfresco.util.OpenOfficeConnectionTester] A
connection to OpenOffice could not be established.
23:29:26,156 INFO  [domain.schema.SchemaBootstrap] Generating
unmodified schema creation script:
/opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,205 INFO  [domain.schema.SchemaBootstrap] Executing database
script: /opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,328 INFO  [domain.schema.SchemaBootstrap] Executing database
script: classpath:alfresco/dbscripts/create/2.0/${db.script.dialect}/AlfrescoPostCreate-2.0-FKIndexes.sql
23:29:51,613 WARN  [repo.admin.ConfigurationChecker] The Alfresco
'dir.root' property is set to a relative path './alf_data'.
'dir.root' should be overridden to point to a specific folder.
23:29:51,613 INFO  [repo.admin.ConfigurationChecker] The Alfresco root
data directory ('dir.root') is: ./alf_data
23:29:51,637 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
23:29:51,686 INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
23:29:56,749 ERROR [alfresco.smb.protocol] Failed to get local
domain/workgroup name, using default of WORKGROUP
23:29:56,749 ERROR [alfresco.smb.protocol] (This may be due to
firewall settings or incorrect <broadcast> setting)
23:29:56,807 INFO  [service.descriptor.DescriptorService] Alfresco JVM
- v1.5.0_09-b01; maximum heap size 493.063MB
23:29:56,808 WARN  [service.descriptor.DescriptorService] Alfresco JVM
- WARNING - maximum heap size 493.063MB is less than recommended 512MB
23:29:56,808 INFO  [service.descriptor.DescriptorService] Alfresco
started (Community Network): Current version 2.0.0 (build-185) schema
38 - Installed version 2.0.0 (build-185) schema 38
Mar 20, 2007 11:29:57 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 20, 2007 11:29:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 20, 2007 11:29:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/21  config=null
Mar 20, 2007 11:29:57 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 20, 2007 11:29:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 49786 ms
06:14:41,582 ERROR [alfresco.smb.protocol] Socket closed by remote client
—————————————————
alfresco.log.2007-03-20
—————————————————
23:29:22,230 ERROR
[org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer]
ImageMagickContentTransformer not available: Failed to execute
command: convert
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_751.gif
/opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_752.png
23:29:23,610 WARN
[org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not
detect RMI registry - creating new one
23:29:25,275 WARN  [org.alfresco.util.OpenOfficeConnectionTester] A
connection to OpenOffice could not be established.
23:29:26,156 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
Generating unmodified schema creation script:
/opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,205 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
Executing database script:
/opt/Alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-753.sql
23:29:26,328 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
Executing database script:
classpath:alfresco/dbscripts/create/2.0/${db.script.dialect}/AlfrescoPostCreate-2.0-FKIndexes.sql
23:29:51,613 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The
Alfresco 'dir.root' property is set to a relative path './alf_data'.
'dir.root' should be overridden to point to a specific folder.
23:29:51,613 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The
Alfresco root data directory ('dir.root') is: ./alf_data
23:29:51,637 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
Checking for patches to apply …
23:29:51,686 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found
0 module(s).
23:29:56,749 ERROR [org.alfresco.smb.protocol] Failed to get local
domain/workgroup name, using default of WORKGROUP
23:29:56,749 ERROR [org.alfresco.smb.protocol] (This may be due to
firewall settings or incorrect <broadcast> setting)
23:29:56,807 INFO  [org.alfresco.service.descriptor.DescriptorService]
Alfresco JVM - v1.5.0_09-b01; maximum heap size 493.063MB
23:29:56,808 WARN  [org.alfresco.service.descriptor.DescriptorService]
Alfresco JVM - WARNING - maximum heap size 493.063MB is less than
recommended 512MB
23:29:56,808 INFO  [org.alfresco.service.descriptor.DescriptorService]
Alfresco started (Community Network): Current version 2.0.0
(build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
————————————————————————–
alfresco.log
————————————-
06:14:41,582 ERROR [org.alfresco.smb.protocol] Socket closed by remote client
5 REPLIES 5

steve
Champ in-the-making
Champ in-the-making
Hi,

Have you opened all the required ports on your machines firewall to enable external access?

Steve

phonon
Champ in-the-making
Champ in-the-making
I opened ports 8080-8089 on my client computer's router to forward to me (which I then checked with a internet port checker), and still nothing. I put the actual server IP address in the original post, so you can check if you'd like. It's just a test server, it will be erased once I get everything set satisfactorily.) As a follow up question, assuming I get it to work at all over the internet, can Alfresco be put on port 80, or any other way that doesn't require forwarding ports? I'm hoping to have unsophisticated users.

steve
Champ in-the-making
Champ in-the-making
Hi,

If you have nothing else running on port 80 you can configure Tomcat to run on this port.
Take a look at the Tomcat server docs for how to do this.

(a quick google resulted in this website that contains some good info on how to do this: http://www.klawitter.de/tomcat80.html)

Hope this helps,

Steve

phonon
Champ in-the-making
Champ in-the-making
Thanks so much for the quick reply, but before I start messing around with the tomcat ports, I'd like to find out why it doesn't work over port 8080 through the internet. Do you have any suggestions?

phonon
Champ in-the-making
Champ in-the-making
I went to a tomcat forum,and they straightened me out, perhaps this will be of use to others.
According to them–

your redhat/centos server is blocking port 8080, you must open that port up.
or better, proxy through your httpd server

in /etc/httpd/conf/httpd.conf add the following lines


ProxyRequests Off
ProxyPass /alfresco http://localhost:8080/alfresco
ProxyPassReverse /alfresco http://localhost:8080/alfresco
ProxyPreserveHost On


Restart httpd "/etc/init.d/httpd restart"
then access your app
http://208.109.232.184/alfresco