cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco in Stand alone Computer-Connecting to VIRTUALSERVER

goldy736
Champ in-the-making
Champ in-the-making
hi,
Am using Alfresco lab 3c , MySQL 5.1 ,
I was successful in connecting to virtual server when my system is connected to internet , but now my task is to run Alfresco in a stand alone system , when i run my alfresco without internet connection
i get the following error :
17:39:13,812 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.RecordsManagement' version 1.3.
17:39:14,812 User:System ERROR [alfresco.smb.protocol] CIFS server configuration error, NetBIOS SMB, TCP/IP SMB or Win32 NetBIOS must be enabled
org.alfresco.error.AlfrescoRuntimeException: NetBIOS SMB, TCP/IP SMB or Win32 NetBIOS must be enabled
        at org.alfresco.filesys.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:1415)
        at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfigurationBean.java:549)

Thank you!

i have following config in respective  files
My system Name : pandicebs
alfresco-virtserver.properties :
alfresco.virtserver.domain=10-0-0-3.ip.alfrescodemo.net
file-servers.xml :
<config evaluator="string-compare" condition="CIFS Server">
     <serverEnable enabled="true"/>
      <host name="${cifs.localname}A" domain="${cifs.domain}"/>
      <comment>Alfresco CIFS Server</comment>
<broadcast>${cifs.broadcast}</broadcast>
            <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB platforms="linux,solaris,macosx"/>
<hostAnnounce interval="5"/>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>
      <authenticator type="enterprise">
      </authenticator>
sessionDebug flags="Negotiate,Socket"/>
   </config>
file-server-custom.xml:
<config evaluator="string-compare" condition="CIFS Server">
     <serverEnable enabled="true"/>
      <host name="${localname}A" domain="${cifs.domain}"/>
     <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>${cifs.broadcast}</broadcast>

      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB platforms="linux,solaris,macosx"/>

      <!– Can be mapped to non-privileged ports, then use firewall rules to forward
          requests from the standard ports –>
     <!–      
      <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
     –>
      
      <hostAnnounce interval="5"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>

      <!– CIFS authentication –>
      <authenticator type="enterprise">
      </authenticator>
     
<!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
–>
      <sessionDebug flags="Negotiate,Socket"/>
   </config>
host file:
127.0.0.1 admin.alfrescosimple.www–sandbox.127.0.0.1.ip.alfrescodemo.net

pandicebs admin.alfrescosimple.www–sandbox.pandicebs.alfrescodemo.net

pandicebs pandicebs.alfrescodemo.net
file-server.properties:
cifs.localname=${PANDICEBS}
cifs.domain=localdomain.lan
cifs.broadcast=255.255.255.255
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
The error you're seeing below is related to CIFS / file server configuration only, and is not related to the virtualisation server.

What output do you get from ifconfig (*nix) or ipconfig /all (Windows)?  I'm guessing, but it looks like the network might not be initialised, causing Alfresco's CIFS server to fail to start.

Cheers,
Peter

goldy736
Champ in-the-making
Champ in-the-making
hi,
my ip is 10.0.0.3

my host file is:
#127.0.0.1    localhost
127.0.0.1 admin.alfrescosimple.www–sandbox.127.0.0.1.ip.alfrescodemo.net
10.0.0.3 admin.alfrescosimple.www–sandbox.127.0.0.1.ip.alfrescodemo.net
pandicebs admin.alfrescosimple.www–sandbox.pandicebs.alfrescodemo.net
pandicebs pandicebs.alfrescodemo.net
10.0.0.3 pandicebsa
File-server-custom.properties :
<alfresco-config area="file-servers">
   <!– To override the default Alfresco filesystem use replace="true", to –>
   <!– add additional filesystems remove the replace="true" attribute     –>
    <config evaluator="string-compare" condition="CIFS Server">
     <serverEnable enabled="true"/>
      <host name="${localname}A" domain="${cifs.domain}"/>
     <comment>Alfresco CIFS Server</comment>
      <!– Set to the broadcast mask for the subnet –>
      <broadcast>${cifs.broadcast}</broadcast>
      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <!–tcpipSMB platforms="windows,linux,solaris,macosx"/–>
     
     <tcpipSMB port="3306" platforms="windows,linux,solaris,macosx" ipv6="enabled"/>
    
     <netBIOSSMB platforms="windows,linux,solaris,macosx"/>

      <!– Can be mapped to non-privileged ports, then use firewall rules to forward
          requests from the standard ports –>
     <!–      
      <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
     –>
      
      <hostAnnounce interval="5"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>
      <!– CIFS authentication –>
      <authenticator type="enterprise">
      </authenticator>    
<!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
–>
      <sessionDebug flags="Negotiate,Socket"/>
   </config>
</alfresco-config>
Alfresco.log :
22:04:15,546 User:System ERROR [alfresco.smb.protocol]
CIFS server configuration error, Failed to get IP address(es) for the local server,
check hosts file and/or DNS setup
org.alfresco.error.AlfrescoRuntimeException: Failed to get IP address(es) for the local server,
check hosts file and/or DNS setup

Thank you!