04-21-2010 08:43 AM
04-23-2010 04:09 AM
workgroup=WORKGROUP
interfaces = 192.168.1.35/24
bind interfaces only = yes
# Servidor Samba/Cifs
cifs.enabled=true
cifs.localname=${localname}
cifs.domain=WORKGROUP
cifs.broadcast=192.168.1.255
cifs.bindto=192.168.1.37
cifs.ipv6=disabled
cifs.hostannounce=true
09:10:48,573 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, No such file or directory
09:10:48,724 ERROR [org.alfresco.fileserver] org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, No such file or directory
09:10:48,746 ERROR [org.alfresco.fileserver] at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
09:10:48,746 ERROR [org.alfresco.fileserver] at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:472)
09:10:48,746 ERROR [org.alfresco.fileserver] at java.lang.Thread.run(Thread.java:619)
04-23-2010 04:26 PM
En kubuntu lucid se puede configurar tomcat para que use authbind y que el usuario tomcat6 pueda acceder a puertos menores a 1024. Esto soluciona que se tenga que redireccionar puertos y soluciona los errores FTP y SMB/cifs de permiso denegado. En el tutorial explico como.
El problema es cuando tienes ya un servidor samba funcionando. Si paras el servidor samba, el servidor de alfresco funciona correctamente pero el problema viene cuando quieres tener los dos.
La ip normal es eth1 192.168.1.35 y la IP eth1:0 para cifs es 192.168.1.37
Reinicio smbd y nmbd y funciona samba, pero alfresco me da el siguiente error.
04-24-2010 12:03 PM
Hola:
Enhorabuena por el manual. Esta quedando realmente detallado y para versiones muy recientes tanto de alfresco como de ubuntu (que a dia de hoy esa version esta en RC)
No conocia authbind, que es un método para darle más privilegios a un usuario (lo cual desde el punto de vista de la seguridad no suele ser lo mas recomendable). Como alternativa puedes natear via iptables los puertos de ftp y cifs a otros por encima de 1024 (que si puede gestionar el usuario tomcat6), y que esto forme de un script de inicio que ejecute un usuario con privilegios haciendo poseedor del proceso java al usuario tomcat6.
Y porqué quieres tener dos? Parezco maquero :lol:
Ahora en serio. He utilizado ip virtuales como las que comentas alguna vez, y siento devolverte la pregunta. Esta authbind gestionando los puertos menores que 1024 para el usuario tomcat6 tanto para una IP como para la otra? Puede ir por ahi?
Un saludo.
04-24-2010 01:12 PM
24-abr-2010 18:50:11 org.apache.catalina.core.AprLifecycleListener init
INFO: La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
24-abr-2010 18:50:11 org.apache.coyote.http11.Http11Protocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
24-abr-2010 18:50:11 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 540 ms
24-abr-2010 18:50:11 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
24-abr-2010 18:50:11 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
24-abr-2010 18:50:11 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración manager.xml
24-abr-2010 18:50:11 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración host-manager.xml
24-abr-2010 18:50:11 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración ROOT.xml
24-abr-2010 18:50:11 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración alfresco.xml
24-abr-2010 18:50:12 org.apache.catalina.core.StandardContext addApplicationListener
INFO: El escuchador "org.apache.myfaces.webapp.StartupServletContextListener" ya está configurado para este contexto. La definición duplicada ha sido ignorada.
18:50:16,946 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
18:50:16,947 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
18:50:16,947 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco-global.properties]
18:50:17,036 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:50:30,142 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
18:50:30,145 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
18:50:36,133 INFO [domain.schema.SchemaBootstrap] Esquema gestionado por el gestor de base de datos org.hibernate.dialect.MySQLInnoDBDialect.
18:50:38,097 INFO [domain.schema.SchemaBootstrap] No se hicieron cambios en el esquema.
18:50:38,462 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
18:50:38,472 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:50:38,484 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
18:50:40,310 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
18:50:40,320 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:50:40,537 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
18:50:40,538 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
18:50:40,548 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:50:41,015 WARN [alfresco.util.OpenOfficeConnectionTester] No se pudo establecer la conexión a OpenOffice
18:50:41,035 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
18:50:43,558 INFO [node.index.FullIndexRecoveryComponent] Iniciada la recuperación de índices: 3.277 transaciones.
18:50:43,584 INFO [node.index.FullIndexRecoveryComponent] 10 % completado.
18:50:43,618 INFO [node.index.FullIndexRecoveryComponent] 20 % completado.
18:50:43,619 INFO [node.index.FullIndexRecoveryComponent] 30 % completado.
18:50:55,287 INFO [node.index.FullIndexRecoveryComponent] 40 % completado.
18:50:55,287 INFO [node.index.FullIndexRecoveryComponent] 50 % completado.
18:50:55,288 INFO [node.index.FullIndexRecoveryComponent] 60 % completado.
18:50:56,597 INFO [node.index.FullIndexRecoveryComponent] 70 % completado.
18:50:56,598 INFO [node.index.FullIndexRecoveryComponent] 80 % completado.
18:50:56,599 INFO [node.index.FullIndexRecoveryComponent] 90 % completado.
18:51:12,573 INFO [node.index.FullIndexRecoveryComponent] 100 % completado.
18:51:14,230 INFO [node.index.FullIndexRecoveryComponent] Recuperación de índices completada.
18:51:14,242 INFO [node.index.AVMFullIndexRecoveryComponent] Rebuilding indexes for 1 AVM Stores
18:51:14,242 INFO [node.index.AVMFullIndexRecoveryComponent] Rebuilding index for sitestore
18:51:14,724 INFO [node.index.AVMFullIndexRecoveryComponent] Reindex 100% complete
18:51:14,724 INFO [node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores
18:51:15,942 INFO [repo.admin.ConfigurationChecker] El directorio raíz de Alfresco ('dir.root') es: /home/casa/backups/alf_data
18:51:15,957 INFO [admin.patch.PatchExecuter] Comprobando si hay parches para aplicar …
18:51:16,257 INFO [admin.patch.PatchExecuter] No se requieren parches.
18:51:16,308 User:System INFO [repo.module.ModuleServiceImpl] Encontrado(s) 0 módulo(s).
18:51:16,326 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
18:51:16,345 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:51:16,714 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
18:51:16,728 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:51:16,890 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
18:51:17,029 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
18:51:17,030 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
18:51:17,067 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:51:17,216 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
18:51:17,216 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
18:51:17,225 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:51:17,279 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
18:51:17,281 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
18:51:17,291 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:51:17,342 WARN [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'blockedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.lang.String)]
18:51:17,346 WARN [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'allowedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.lang.String)]
18:51:17,389 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
18:51:17,391 INFO [repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
18:51:17,428 INFO [repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
18:51:17,428 INFO [repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
18:51:17,428 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
18:51:17,444 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
18:51:17,626 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
18:51:17,664 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_20-b02; maximum heap size 972,813MB
18:51:17,665 INFO [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.3.0 (2765) schema 4009 - Originally installed version 3.3.0 (2765) schema 4009
18:51:37,765 INFO [alfresco.util.OpenOfficeConnectionTester] Se ha reestablecido la conexión con OpenOffice.
18:51:49,438 ERROR [pdfbox.filter.FlateFilter] Stop reading corrupt stream
18:51:56,135 User:System INFO [extensions.webscripts.DeclarativeRegistry] Registered 340 Web Scripts (+0 failed), 575 URLs
18:51:56,135 User:System INFO [extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
18:51:56,135 User:System INFO [extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
18:51:56,137 User:System INFO [extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 11237.116ms)
18:51:56,137 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:51:56,138 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
24-abr-2010 18:51:57 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración examples.xml
24-abr-2010 18:51:57 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración docs.xml
24-abr-2010 18:51:57 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo share.war de la aplicación web
18:52:01,379 INFO [extensions.webscripts.DeclarativeRegistry] Registered 225 Web Scripts (+0 failed), 232 URLs
18:52:01,380 INFO [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
18:52:01,380 INFO [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
18:52:01,431 INFO [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 1275.6149ms)
18:52:01,481 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:52:01,578 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
18:52:01,653 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:52:01,693 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
18:52:01,773 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:52:01,777 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
24-abr-2010 18:52:02 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
24-abr-2010 18:52:02 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
24-abr-2010 18:52:02 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
24-abr-2010 18:52:02 org.apache.catalina.startup.Catalina start
INFO: Server startup in 111373 ms
19:07:23,582 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, No such file or directory
19:07:23,599 ERROR [org.alfresco.fileserver] org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, No such file or directory
19:07:23,599 ERROR [org.alfresco.fileserver] at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
19:07:23,599 ERROR [org.alfresco.fileserver] at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:472)
19:07:23,599 ERROR [org.alfresco.fileserver] at java.lang.Thread.run(Thread.java:619)
04-25-2010 01:47 PM
# CIFS server debugging
log4j.logger.org.alfresco.smb.protocol=debug
log4j.logger.org.alfresco.smb.protocol.auth=debug
log4j.logger.org.alfresco.acegi=debug
04-26-2010 05:21 AM
11:12:53,155 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, No such file or directory
11:12:53,158 ERROR [org.alfresco.fileserver] org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, No such file or directory
11:12:53,158 ERROR [org.alfresco.fileserver] at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
11:12:53,158 ERROR [org.alfresco.fileserver] at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:472)
11:12:53,158 ERROR [org.alfresco.fileserver] at java.lang.Thread.run(Thread.java:619)
04-28-2010 07:16 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.