cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS/WebDAV on Linux

finner
Champ in-the-making
Champ in-the-making
Hi,

I have Alfresco installed on a PC running SUSE Linux. Below is a snippet of the startup logs. It looks like the CIFS starts up with the correct machine name but I can't connect to it. The firewall is off.
Should I be able to connect using nautilus (Linux File Explorer) to \\CPU002_A\Alfresco ?
I've also tried
smbclient -U admin \\\\CPU002_A\\Alfresco admin

from the command line as root without success. I've read the WIKIs on this can't still can't connect  to the server.

Should I be able to connect to the CIFS by clicking on the link beside the Space name (Open Network Folder …)  ?

Any help etc would be greatly appreciated.
Thanks in advance.
Finner

The startup log follows:



09:38:14,206 INFO  [alfresco.smb.protocol] CIFS server started
09:38:14,207 INFO  [alfresco.smb.protocol] FTP server NOT started
09:38:14,207 INFO  [alfresco.smb.protocol] NFS server NOT started
09:38:14,224 DEBUG [smb.protocol.netbios] Found 3 addresses using interface list
09:38:14,683 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_11-b03; maximum heap size 506.313MB
09:38:14,684 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
09:38:14,687 INFO  [alfresco.smb.protocol] SMB Server CPU002_A starting
09:38:14,687 INFO  [alfresco.smb.protocol] GUID 225ca4b5-a90e-3eab-a25a-66edbed3ca7f
09:38:14,687 INFO  [alfresco.smb.protocol] Using authenticator org.alfresco.filesys.server.auth.AlfrescoAuthenticator
09:38:14,687 INFO  [alfresco.smb.protocol] Server timezone Europe/Madrid, offset from UTC = -1hrs
09:38:14,687 INFO  [alfresco.smb.protocol] Shares:
09:38:14,689 INFO  [alfresco.smb.protocol]  [Alfresco,DISK,,[Alfresco,workspace://SpacesStore/bf0e3c97-2ac4-11dc-ac99-0b07310b737c]] [Alfresco,workspace://SpacesStore/bf0e3c97-2ac4-11dc-ac99-0b07310b737c]
09:38:14,689 INFO  [alfresco.smb.protocol]  [AVM,DISK,,[AVM,VirtualView]] [AVM,VirtualView]
09:38:14,689 INFO  [alfresco.smb.protocol] Add Share [IPC$,IPC$,,Admin,Hidden] : true
09:38:14,699 DEBUG [alfresco.smb.protocol] Binding NetBIOS session handler to local address : ALL
09:38:14,985 DEBUG [alfresco.smb.protocol] Waiting for NetBIOS session request …
09:38:14,985 DEBUG [smb.protocol.netbios] NetBIOS handler, processing [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:14,986 DEBUG [alfresco.smb.protocol] TCP NetBIOS session handler created on port 1139
09:38:15,011 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:15,011 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:15,012 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:15,162 DEBUG [alfresco.smb.protocol] TCP NetBIOS host announcer created on port 1138
09:38:15,261 DEBUG [alfresco.smb.protocol] Binding TCP-SMB session handler to local address : ALL
09:38:15,316 DEBUG [alfresco.smb.protocol] Native SMB TCP session handler created on port 1445
09:38:15,317 DEBUG [alfresco.smb.protocol] Waiting for TCP-SMB session request …
09:38:15,338 DEBUG [smb.protocol.mailslot] Send NetBIOS host announcement to 192.168.2.255, port 1138
09:38:17,029 DEBUG [smb.protocol.netbios] NetBIOS handler, processing [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:17,045 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:17,045 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:17,045 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
10-Jul-2007 09:38:17 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8090
10-Jul-2007 09:38:18 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
10-Jul-2007 09:38:18 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/216  config=null
10-Jul-2007 09:38:18 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
10-Jul-2007 09:38:18 org.apache.catalina.startup.Catalina start
INFO: Server startup in 81062 ms
09:38:19,048 DEBUG [smb.protocol.netbios] NetBIOS handler, processing [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:19,049 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:19,049 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:19,049 DEBUG [smb.protocol.netbios]   Add name broadcast, [AddName:[CPU002_A:FileServer,Unique,null|192.168.2.134|null|],5,2000,0]
09:38:20,341 DEBUG [smb.protocol.mailslot] Send NetBIOS host announcement to 192.168.2.255, port 1138

4 REPLIES 4

finner
Champ in-the-making
Champ in-the-making
Hi,
OK, some success !!!!
I've been trying to connect to the repository using CIFS for a while now without succes but this morning I connected using WebDAV. I could copy and delete folder structures and files to and from the repository. I am on a SUSE machine and use the Nautilus File Browser.
So, for anyone on SUSE with Nautilus try the following to connect to the repository:


From Nautilus click
File -> Connect to server…
On the dialog enter the values below
Service Type: WebDAV (HTTP)
Server: your alfresco IP address
Port: your alfresco port
Folder: alfresco/webdav   (all lower case)
User Name: admin
Name to use for connection: Alfresco    (I think this can be any value)


When you connect you will be asked for a password for the admin user which i used to connect.

I hope this is helpful to someone.

Finner

d_mon
Champ in-the-making
Champ in-the-making
could you figure out the actual problem with CIFS?

finner
Champ in-the-making
Champ in-the-making
D!Mon,
no I haven't been able to get connected to CIFS although the log files say it's up and running. Since it's not an immediate requirement for me I'll propbably just use WebDAV for now but if I do get connected to CIFS I'll post the details here.

Finner

d_mon
Champ in-the-making
Champ in-the-making
From your logs, if you use 1xxx ports for CIFS I think you need to configure port forwarding then, to be able to connect to the share.

In my case I decided not to spend time with forwarding etc and just stopped samba services on my computer (I almost didn't used samba anyway) and then started tomcat as root.