cancel
Showing results for 
Search instead for 
Did you mean: 

NetBIOS / TCP/IP not working Windows 2008

simplenet
Champ in-the-making
Champ in-the-making
Hi Guys,

I have a problem with NetBios in windows 2008, I made a changes according to documentation in registry and firewall and still have an issue with running NetBios!

Error message:
15:07:58,204 WARN  [org.alfresco.fileserver] CIFS server native calls disabled, JNI code will not be used
15:07:58,204 ERROR [org.alfresco.fileserver] CIFS server configuration error, 09270000 NetBIOS SMB, TCP/IP SMB or Win32 NetBIOS must be enabled
org.alfresco.error.AlfrescoRuntimeException: 09270000 NetBIOS SMB, TCP/IP SMB or Win32 NetBIOS must be enabled
   at org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:954)
   at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:473)
   at org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(AbstractServerConfigurationBean.java:824)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
   at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext.publishEvent(ChildApplicationContextFactory.java:513)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:714)
   at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:667)
   at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:473)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

you have disabled native code - that is what "CIFS server native calls disabled" states. This is actually required for CIFS via NetBIOS / TCP/IP on Windows unless you apply some more extreme configuration changes. Was it a conscious choice to disable native code? If no, can you try again with enabled native calls?

If the above does not help, can you post your configuration details?

Regards
Axel

simplenet
Champ in-the-making
Champ in-the-making
Hi here are my config files:

alfresco-global.properties
————————–
###########################
## Common Alfresco Properties

dir.root=D:/AlfrescoData4

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=root
db.password=XXXXXXXXX
db.name=alfresco
db.url=jdbc:mysql://localhost:3306/alfresco

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

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=D:/Alfresco/libreoffice/App/libreoffice/program/soffice.exe
ooo.enabled=true
ooo.port=8100
img.root=D:\\Alfresco\\imagemagick
img.coders=${img.root}\\modules\\coders
img.config=${img.root}\\config
img.gslib=${img.root}\\lib
img.exe=${img.root}\\convert.exe
swf.exe=D:/Alfresco/swftools/pdf2swf.exe
swf.languagedir=D:/Alfresco/swftools/japanese

jodconverter.enabled=false
jodconverter.officeHome=D:/Alfresco/libreoffice/App/libreoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=7ce21f17c0aee7fb9ceba532d0546ad6

### DC configuration ###
# Path D:\Alfresco\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\passthru\passthru1
authentication.chain=passthru1Smiley Tongueassthru,passthru2Smiley Tongueassthru

### E-mail site invitation setting ###
notification.email.siteinvite=false

###  E-mail configuration ###
mail.host=writer.XXXXX.XX
mail.port=25
mail.username=documentmanagement
mail.password=XXXXXX
mail.encoding=UTF-8
mail.from.default=documentmanagement@XXXX.XX
mail.smtp.auth=false

### License location ###
dir.license.external=D:/Alfresco

### lucene indexing ###
index.subsystem.name=lucene
index.recovery.mode=AUTO

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

#################################################
#################################################
file-server.properties
———————-
filesystem.name=network
filesystem.acl.global.defaultAccessLevel=

cifs.enabled=true
cifs.serverName=alfresco08
cifs.domain=DOMAINNTL
cifs.broadcast=255.255.255.255
cifs.bindto=10.10.0.144
cifs.ipv6.enabled=false
cifs.hostannounce=true
cifs.disableNIO=false
# Disable the use of JNI code. Only currently affects Windows
cifs.disableNativeCode=true
cifs.sessionTimeout=900

# Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.sessionPort=139
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138

# Optional WINS server primary and secondary IP addresses. Ignored if autoDetectEnabled=true
cifs.WINS.autoDetectEnabled=true
cifs.WINS.primary=1.2.3.4
cifs.WINS.secondary=5.6.7.8

ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false

nfs.enabled=false

cifs.urlfile.prefix=http://alfresco08/alfresco/

cifs.sessionDebug=NETBIOS, STATE, RXDATA, TXDATA, DUMPDATA, NEGOTIATE, TREE, SEARCH, INFO, FILE, FILEIO, TRANSACT,ECHO, ERROR, IPC, LOCK, PKTTYPE, DCERPC, STATECACHE, TIMING, NOTIFY, STREAMS, SOCKET, PKTPOOL, PKTSTATS, THREADPOOL, BENCHMARK

If you can point me to the right direction I would appreciate it Smiley Happy thanks!

afaust
Legendary Innovator
Legendary Innovator
As stated before, try with enabled native code (unless you have a specific reason not to use it - which you have not stated yet).

cifs.disableNativeCode=false