AnsweredAssumed Answered

Issue of set dir.root to a mounted NAS space

Question asked by lesoft on Aug 12, 2009
Latest reply on Aug 14, 2009 by pmonks
Hi -

When we set dir.root to a local directory (eg: dir.root=/opt/alfresco/alf_data), Alfresco startup just fine. But, when we change dir.root to a mounted NAS storage (eg: dir.root=/alf_data_cluster), it error out during Alfresco startup. The mounted NAS storage directory is readable and writable by alfresco UNIX user.

Here's the error message

2009-08-11 17:15:33,949 INFO  [STDOUT] 17:15:33,949 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /alf_data_cluster
2009-08-11 17:15:33,983 INFO  [STDOUT] 17:15:33,983 User:System ERROR [repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
2009-08-11 17:15:33,983 INFO  [STDOUT] 17:15:33,983 User:System ERROR [repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
2009-08-11 17:15:33,988 INFO  [STDOUT] 17:15:33,986 User:System ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.
        at org.alfresco.repo.admin.ConfigurationChecker.check (ConfigurationChecker.java:312)
        at org.alfresco.repo.admin.ConfigurationChecker.access$000 (ConfigurationChecker.java:72)
        at org.alfresco.repo.admin.ConfigurationChecker$1.execute (ConfigurationChecker.java:178)
        at org.alfresco.repo.transaction.RetryingTransactionHelper. doInTransaction(RetryingTransactionHelper.java:322)
        at org.alfresco.repo.transaction.RetryingTransactionHelper. doInTransaction(RetryingTransactionHelper.java:248)
        at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap (ConfigurationChecker.java:182)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent (AbstractLifecycleBean.java:62)
        at org.springframework.context.event. SimpleApplicationEventMulticaster$1.run (SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute (SyncTaskExecutor.java:49)
        at org.springframework.context.event. SimpleApplicationEventMulticaster.multicastEvent (SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support. AbstractApplicationContext.publishEvent (AbstractApplicationContext.java:246)

Our environment:
OS: SuSE 10 SP2
AS: JBoss 4.3
DM: Alfresco 3.1
JDK: Sun JDK 1.6 U15
DB: Oracle

Appreciate any tips you can provide.

Thanks,
Tuan

Outcomes