cancel
Showing results for 
Search instead for 
Did you mean: 

Error SOLR, Alfresco is running without Share Services, error webdav

mr_agniko
Champ in-the-making
Champ in-the-making

Hi guys!
There are several problems with my alfresco:


1. The Windows users stopped working on the folders (WebDav):

When you try to connect to alfresco.log the following message:

ERROR [org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter] [http-bio-8443-exec-8] Client AGNIKO using NTLMv2 logon, not valid with passthru authentication

2. The connection to alfresco via the Alfresco mobile service client ceased to work. There is nothing in the alfresco log.

3. The search stopped (SOLR), the message appeared: Alfresco is running without Share Services.

alfresco.log:

Caused by: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.Fee
dbackProcessor] failed; nested exception is org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 07070081
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:321)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:114)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
... 1 more
Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 07070081
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:625)
at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:51)
at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)
at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:152)
at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:66)
at org.alfresco.repo.search.AbstractSearcherComponent.query(AbstractSearcherComponent.java:53)
at sun.reflect.GeneratedMethodAccessor532.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy27.query(Unknown Source)
at org.alfresco.repo.search.impl.SearchServiceSubSystemDelegator.query(SearchServiceSubSystemDelegator.java:91)
at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.FeedbackProcessor$1$1.execute(FeedbackProcessor.java:200)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.FeedbackProcessor$1.doWork(FeedbackProcessor.java:190)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.FeedbackProcessor.runInternal(FeedbackProcessor.java:185)
at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.FeedbackProcessor.run(FeedbackProcessor.java:148)
at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:269)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:312)

Your help is very much needed, there may be a direction for researching the problem. In advance, I'm sorry for my English.

Thank you so much!

My alfresco-global.properties

###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-community/alf_data

alfresco.context=alfresco
alfresco.host=room.dah.com
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=room.dah.com
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=alfresco
db.name=alfresco
db.url=jdbcSmiley Tongueostgresql://localhost:5430/${db.name}
# Note: your database must also be able to accept at least this many connections. Please see your database documentation for instructions on how to configure this.
db.pool.max=275
db.pool.validate.query=SELECT 1

# The server mode. Set value here
# UNKNOWN | TEST | BACKUP | PRODUCTION
system.serverMode=TEST

### FTP Server Configuration ###
ftp.port=21

### RMI registry port for JMX ###
alfresco.rmi.services.port=50500

### External executable locations ###
ooo.exe=/opt/alfresco-community/libreoffice/program/soffice.bin
#ooo.exe=/usr/bin/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/opt/alfresco-community/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert

jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-community/libreoffice
jodconverter.portNumbers=8100

# SWFTools exe
swf.exe=/usr/bin/pdf2swf
# ImageMagick installation
#img.root=/usr/share/doc/imagemagick
#img.exe=/usr/bin/convert

### Initial admin password ###
alfresco_user_store.adminpassword=88e1389a8b1b3a94a8e547e4c78875af


### E-mail site invitation setting ###
notification.email.siteinvite=true
mail.host=192.168.125.5
mail.port=25
mail.protocol=smtp
mail.smtp.auth=false
mail.from.default=noreply-room@dah.com

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false
mail.testmessage.send=true
mail.testmessage.to=it@dah.com
mail.testmessage.subject=Test message to alfresco
mail.testmessage.text=Test message to alfresco – success start

### License location ###
dir.license.external=/opt/alfresco-community

### Solr indexing ###
index.subsystem.name=solr4
dir.keystore=${dir.root}/keystore
solr.host=room.dah.com
solr.port.ssl=8443

### Allow extended ResultSet processing
security.anyDenyDenies=false

### Smart Folders Config Properties ###
smart.folders.enabled=false

### Remote JMX (Default: disabled) ###
alfresco.jmx.connector.enabled=false

#MS Active Directory Integration

authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1Smiley Tongueassthru,ldap1:ldap-ad

ldap.synchronization.enableProgressEstimation=true
ldap.synchronization.attributeBatchSize=0
ldap.synchronization.queryBatchSize=0


passthru.authentication.sso.enabled=true
passthru.authentication.allowGuestLogin=false

passthru.authentication.authenticateCIFS=true
passthru.authentication.authenticateFTP=false

passthru.authentication.servers=192.168.125.3
passthru.authentication.domain=ps003pdc.dah.com
passthru.authentication.useLocalServer=false
passthru.authentication.defaultAdministratorUserNames=Admin
passthru.authentication.connectTimeout=5000
passthru.authentication.offlineCheckInterval=300
passthru.authentication.protocolOrder=TCPIP,NETBIOS

Ntlm.authentication.sso.enabled=true
Ntlm.authentication.sso.fallback.enabled=true
Ntlm.authentication.mapUnknownUserToGuest=false


ldap.authentication.active=true
ldap.authentication.sso.enabled=true
ldap.authentication.java.naming.security.authentication=simple
ldap.authentication.userNameFormat=%s
ldap.authentication.allowGuestLogin=false
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://192.168.125.3:389
ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false

kerberos.authentication.realm=DAH.COM
kerberos.authentication.sso.enabled=true
kerberos.authentication.sso.fallback.enabled=true
kerberos.authentication.browser.ticketLogons=true
kerberos.authentication.stripUsernameSuffix=false

ldap.synchronization.active=true
ldap.synchronization.java.naming.security.principal=alfresco@dah.com

ldap.synchronization.java.naming.security.credentials=alfresco
ldap.synchronization.groupDifferentialQuery=(&(objectclass=nogroup)(!(modifyTimestamp<\={0})))

#user
ldap.synchronization.personQuery=(&(objectclass=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))

#user
ldap.synchronization.personDifferentialQuery=(& (objectclass=user)(!(modifyTimestamp<\={0})))

ldap.synchronization.groupQuery=(objectclass\=group)

ldap.synchronization.groupSearchBase=ou\=alfrescoGroup,dc=dah,dc=com
ldap.synchronization.userSearchBase=ou\=UsersDAH,dc=dah,dc=com


ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp
ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'
ldap.synchronization.userIdAttributeName=sAMAccountName
ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userEmailAttributeName=mail
ldap.synchronization.userJobTitleAttributeName-title
ldap.synchronization.userOrganizationalIdAttributeName=msExchALObjectVersion
ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider
ldap.synchronization.groupIdAttributeName=cn
ldap.synchronization.groupType=Nogroup
ldap.synchronization.personType=user
ldap.synchronization.groupMemberAttributeName=member

#InetOrgPerson
ldap.synchronization.personType=inetOrgPerson

ldap.synchronization.userOrganizationalIdAttributeName=company
ldap.synchronization.userCompanyTelephoneAttributeName=telephoneNumber
ldap.synchronization.userOrganizationAttributeName=department
ldap.synchronization.userMobileAttributeName=mobile

#PhotoUsers from AD
ldap.synchronization.personAttributeMapping.cm\:avatar=${ldap.synchronization.userAvatarAttributeName}
ldap.synchronization.userAvatarAttributeName=thumbnailPhoto

synchronization.syncOnStartup=true
synchronization.synchronizeChangesOnly=false
synchronization.syncWhenMissingPeopleLogin=true


cifs.enabled=false

### CRON ###
synchronization.import.cron=1 */5 * * * ? *

1 REPLY 1

javajunior
Champ on-the-rise
Champ on-the-rise

Hello.

Are you sure this line 

ldap.synchronization.personAttributeMapping.cm\:avatar=${ldap.synchronization.userAvatarAttributeName}

in properties file this record is faild.

But if 

ldap.synchronization.personAttributeMapping=thumbnailPhoto (ldap-ad-authentication.properties)

cm\:avatar=${ldap.synchronization.userAvatarAttributeName} (common-ldap-context.xml)

also not work.

if you know how is right send me, please

thank you

Tetyana