cancel
Showing results for 
Search instead for 
Did you mean: 

no access as admin

harry_25
Champ in-the-making
Champ in-the-making
Hi ,
i have successfull installed alfresco-server.
But i can't login as admin/admin
http://[ip-adress]:8080/share

can anyone help me ?

Regards
Harry
3 REPLIES 3

jpfi
Champ in-the-making
Champ in-the-making
Hi,
you should post your console output or alfresco.log content. There should be a StackTrace wit some helpful infos.
A few more infos regarding your environment would also be very helpful.
Cheers, Jan

harry_25
Champ in-the-making
Champ in-the-making
Sorry I had no time before.

OK here is my logfile

cat alfresco.log
11:11:02,086 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:                                                                                             
Execution result:                                                                                                                             
   os:         Linux                                                                                                                          
   command:    [./ImageMagick/bin/convert, /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_860.gif, /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_861.png]                                                                       
   succeeded:  false                                                                                                                          
   exit code:  1                                                                                                                              
   out:                                                                                                                                       
   err:        Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory                        
11:11:05,362 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]                                                                                                                         
11:11:13,262 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformer] Failed to start a runtime executable content transformer:                                                                                                                                       
Execution result:                                                                                                                             
   os:         Linux                                                                                                                          
   command:    [./bin/pdf2swf, -V]                                                                                                            
   succeeded:  false                                                                                                                          
   exit code:  1                                                                                                                              
   out:                                                                                                                                       
   err:        Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory                                    
11:11:25,916 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.                                                                                                                                            
11:11:26,534 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.                                      
11:11:28,809 WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.              
11:11:29,003 WARN  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]     Index for avm store sitestore is out of date              
11:11:29,587 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data    
11:11:29,612 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 7 stores.                    
11:11:29,612 INFO  [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.  
11:11:29,612 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.         
11:11:29,612 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
11:11:29,615 ERROR [org.springframework.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:320)                        
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:246)                        
        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)                   
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)                        
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)                                  
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)                                    
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)                            
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)                                                  
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)                                                          
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)                                                    
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)                                                            
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)                                                              
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)                                                              
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)                                                             
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)                                                             
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)                                                                 
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)                                                         
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)                                            
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)                                                              
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)                                                                 
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)                                                              
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)                                                             
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)                                                           
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)                                                             
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)                                                                      
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                        
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                      
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                              
        at java.lang.reflect.Method.invoke(Method.java:597)                                                                                   
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)                                                                    
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)                                                                     
11:11:38,812 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs                              
11:11:38,813 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 527.67456ms)         
11:12:39,824 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs                            
11:12:39,824 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 60996.77ms)          
11:12:40,033 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework                                             
11:12:45,937 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework                                             
11:14:27,126 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:                                                                                             
Execution result:                                                                                                                             
   os:         Linux                                                                                                                          
   command:    [./ImageMagick/bin/convert, /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_27869.gif, /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_27870.png]                                                                   
   succeeded:  false                                                                                                                          
   exit code:  1                                                                                                                              
   out:                                                                                                                                       
   err:        Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory                        
11:14:29,414 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]                                                                                                                         
11:14:37,584 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformer] Failed to start a runtime executable content transformer:                                                                                                                                       
Execution result:                                                                                                                             
   os:         Linux                                                                                                                          
   command:    [./bin/pdf2swf, -V]                                                                                                            
   succeeded:  false                                                                                                                          
   exit code:  1                                                                                                                              
   out:                                                                                                                                       
   err:        Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory                                    
11:14:50,793 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.                                                                                                                                            
11:14:51,421 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.                                      
11:14:53,617 WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.              
11:14:53,762 WARN  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]     Index for avm store sitestore is out of date              
11:14:54,168 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data    
11:14:54,193 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 7 stores.                    
11:14:54,193 INFO  [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.  
11:14:54,194 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.         
11:14:54,194 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
11:14:54,196 ERROR [org.springframework.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:320)                        
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:246)                        
        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)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
11:15:03,246 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
11:15:03,247 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 590.1547ms)
11:16:04,184 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
11:16:04,184 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 60922.855ms)
11:16:04,312 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
11:16:09,612 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

jayjayecl
Confirmed Champ
Confirmed Champ
Hi,

you have to edit the file custom-repository.properties (if you re using tomcat, it will be inside tomcat/shared/classes/alfresco/extension)

and check if you have a parameter called "index.recovery.mode" set up.
Set it to "AUTO" and retry to start Alfresco.
If you still have an error, set it to "FULL" and restart Alfresco.

Once it is running fine, stop Alfresco and set back the parameter to "AUTO"

regards