cancel
Showing results for 
Search instead for 
Did you mean: 

Can't access repository via CIFS on a fresh 4d installatiion

ciberg
Champ in-the-making
Champ in-the-making
Hi, i'm still trying to get CIFS working in my CentOS6/alfresco 4.0c installation.

I had problems with importing a old repository, so I tried to do a fresh installation on a new server to test CIFS.

After installation I try to access via CIFS using the admin account and I get the user/password dialog but when I put it, it is never accepted.

If I access using \\10.0.0.14\alfresco - I get a location unavailable error
If I access using \\10.0.0.14\alfrescoA - I get the user password dialog but when I put it I get a 0x80004005 Unspecified error

It is not a firewall problem because I have disabled it.
In all documentation I read, it says it should work out of the box, or not?

Please help me because this is consuming a lot of my time and I can't find a solution.
8 REPLIES 8

mrogers
Star Contributor
Star Contributor
Basics first, have you turned cifs on?  What have you configured.

What do you see in your Alfresco.log?

The second thing that tends to go wrong on centos is the name resolution.   What's in your /etc/hosts file?

ciberg
Champ in-the-making
Champ in-the-making
thank you for ypur reply.

I have CIFS enabled (cifs.enabled=true) in file-servers.properties and I also tried to enable it in alfresco-global.properties and nothing changes.

The Alfresco.log doesn't tell anything about the problem AFAIK, this is the log after a few failed login attempts.

18:13:54,614 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
18:13:54,722 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
18:14:05,433 WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
18:14:11,670 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
18:14:11,677 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
18:14:21,030 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
18:14:27,219 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
18:14:27,715 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, solr]
18:14:27,901 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
18:14:28,368 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
18:14:28,753 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
18:14:28,754 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
18:14:29,636 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
18:14:29,649 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
18:14:29,820 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco-4.0.c/alf_data
18:14:29,833 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
18:14:31,149 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
18:14:31,162 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
18:14:31,248 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
18:14:31,262 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Started module 'ModuleDetails[{module.version=1.2, module.description=Alfresco Vti Extension, module.id=org.alfresco.module.vti, module.repo.version.max=999, module.title=Vti, module.repo.version.min=0, module.installState=INSTALLED, module.installDate=2012-01-30T16:53:07.092Z}]' including 0components.
18:14:31,276 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Installed module found in distribution: org.alfresco.module.vti
18:14:31,277 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
18:14:31,981 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
18:14:32,123 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
18:14:32,147 WARN  [org.alfresco.fileserver] CIFS, Unable to get local domain/workgroup name, using default of WORKGROUP. This may be due to firewall settings or incorrect <broadcast> setting)
18:14:32,227 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
18:14:32,227 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
18:14:32,319 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
18:14:32,319 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
18:14:32,376 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
18:14:32,377 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
18:14:32,492 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
18:14:32,492 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
18:14:32,620 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
18:14:32,620 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
18:14:32,643 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
18:14:32,643 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Disabled - clear non-missing user usages …
18:14:32,660 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Found 0 users to clear
18:14:32,660 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] … cleared non-missing usages for 0 users
18:14:32,660 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
18:14:32,721 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
18:14:32,906 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_22-b04; maximum heap size 910.250MB
18:14:32,912 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community). Current version: 4.0.0 (3979) schema 5,025. Originally installed version: 4.0.0 (3979) schema 5,025.
18:14:32,913 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
18:14:33,044 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
18:14:33,045 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
18:14:33,116 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
18:14:35,834 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
18:14:35,835 INFO  [org.alfresco.module.vti.VtiServer] Vti server SessionIdManagerWorkerName: jetty1
18:14:45,304 WARN  [org.springframework.extensions.webscripts.DeclarativeRegistry] Unable to register script classpath:webscripts/org/springframework/extensions/cmis/content.get.desc.xml due to error: 00300000 Web Script document org/springframework/extensions/cmis/content.get.desc.xml is attempting to define the url '/cmis/content:GET' already defined by org/alfresco/cmis/client/content.get.desc.xml
18:14:45,304 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 464 Web Scripts (+1 failed), 731 URLs
18:14:45,304 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
18:14:45,304 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
18:14:45,308 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 9428.299ms)
18:14:45,327 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:14:45,329 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
18:14:58,091 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:14:58,201 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
18:14:58,202 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:14:58,208 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
18:15:00,560 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
18:15:01,281 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
18:15:01,281 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
18:15:01,281 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
18:15:01,598 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 3382.656ms)
18:15:01,605 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
18:15:01,611 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js

My hosts file is as follows (but as I'm acccessing via IP it should'nt matter I think), and it's equal (minus the IP and server name) to another server I have running 3.4 without problems.

10.0.0.14   serverName.office.mycompany.com    serverName   # Added by NetworkManager
127.0.0.1   localhost.localdomain   localhost
::1   serverName.office.mycompany.com   wia-s04   localhost6.localdomain6   localhost6

Hope you can help me.

tearalong
Champ in-the-making
Champ in-the-making
I found the only way that I could connect via CIFS to a new 4c installation was to add the following ine to my hosts file

13.13.13.13 AlfrescoX

Where AlfrescoX is the name that I specified in the properties file for the cifs server name.

I didn't need to do this to connect to the previous 3.4 installation. However the 4c is on a windows 7 machine and the older one is on an XP machine so I don't really know is the problem is due to the alfresco version or the windows version.

mrogers
Star Contributor
Star Contributor
Windows version.    This thread is supposed to be about centos

ciberg
Champ in-the-making
Champ in-the-making
Yes, the installation is on CentOS 6.

Any ideia on how to solve it? I still can't access via CIFS.

ciberg
Champ in-the-making
Champ in-the-making
I installled the new 4.0d version and now I can access CIFS, but I only see the swsdp folder. So my point of entry is the Sites folder of the repository.

How can I access the root folder of the repository so I can access other folders like Company Home, User Homes, etc?

mrogers
Star Contributor
Star Contributor
protocols.rootPath=/${spaces.company_home.childname}

ciberg
Champ in-the-making
Champ in-the-making
Thank you for your reply.
It is all working fine now.