Koozali.org: home of the SME Server

DAR2

Offline clnsupport

  • **
  • 23
  • +0/-0
DAR2
« on: March 10, 2008, 11:38:17 AM »
Hi,

my dar stopped working  :-(

from my log file..........

Mar 10 14:27:52 server e-smith-bg: cli_negprot: SMB signing is mandatory and we have disabled it.
Mar 10 14:27:52 server e-smith-bg: 31850: protocol negotiation failed
Mar 10 14:27:52 server e-smith-bg: SMB connection failed
Mar 10 14:28:39 server smbd[25375]: [2008/03/10 14:28:39, 0] smbd/service.c:set_current_service(184)
« Last Edit: March 10, 2008, 11:40:05 AM by clnsupport »

Offline byte

  • *
  • 2,183
  • +2/-0
Re: DAR2
« Reply #1 on: March 10, 2008, 12:58:08 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: DAR2
« Reply #2 on: March 10, 2008, 10:28:19 PM »
clnsupport

You will get the best & quickest result and answer if you report problems with contribs to bugzilla in the appropriate contrib category.
...

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: DAR2
« Reply #3 on: March 11, 2008, 06:31:26 PM »
Mar 10 14:27:52 server e-smith-bg: cli_negprot: SMB signing is mandatory and we have disabled it.

Google the phrase 'SMB signing is mandatory and we have disabled it' for details.

Darrell

Offline raem

  • *
  • 3,972
  • +4/-0
Re: DAR2
« Reply #4 on: March 11, 2008, 06:47:05 PM »
clnsupport

Quote
SMB signing is mandatory and we have disabled it.

Reading the results from a google search, this appears related to Win2K3 server.
It says in the server manager panel for DAR2, to use cifs for Windows servers:

"Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]."

...

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #5 on: April 08, 2008, 05:15:23 AM »
Hi all

Regarding backup to linux desktop:
Please provide some example syntax of the target field entry of the Dar2 server manager configuration screen; and when backing up the SME server to a linux deskop

Please advise thanks

Offline raem

  • *
  • 3,972
  • +4/-0
Re: DAR2
« Reply #6 on: April 08, 2008, 09:19:17 AM »
Agent86

If you search back a year or so, I think you will find some posts by dmay that answer that.

...

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #7 on: April 15, 2008, 04:16:58 AM »
I can't mount squat  :lol:

After searching the posts for about a week, I can't figure out how to use the DAR2 to backup to desktop.
Now what ? I guess look for a decent tape drive so I don't have to think about it anymore, and throw my usb drive in the trash. :-)

Thanks anyhow.





Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: DAR2
« Reply #8 on: April 15, 2008, 10:56:08 PM »
In future, a new issue should be posted with a new and appropriate topic subject. A search would have found this:

http://forums.contribs.org/index.php?topic=37296.msg167145#msg167145

Code: [Select]
I suggest you use smbclient to troublshoot your issue. Try reading this for assistance:

http://www.samspublishing.com/library/content.asp?b=red_hat_linux7&seqNum=162&rl=1

Darrell

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #9 on: April 16, 2008, 02:05:41 PM »
In future, a new issue should be posted with a new and appropriate topic subject. A search would have found this:

http://forums.contribs.org/index.php?topic=37296.msg167145#msg167145

Code: [Select]
I suggest you use smbclient to troublshoot your issue. Try reading this for assistance:

http://www.samspublishing.com/library/content.asp?b=red_hat_linux7&seqNum=162&rl=1

Darrell

I see I think I understand now,

I've setup my user share on the desktop, however I believe what your telling me that regarding permisssion is denied because on the desktop I need to either add the user to that share, or use the user credentials (user/pass) of the shared resource.

So do you actually put the syntax into the field in the dar2 server-manager field or are you simple calling up the location/directory in that field ?

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: DAR2
« Reply #10 on: April 16, 2008, 06:12:22 PM »
The panel has separate boxes for Target, Username, Password. Use them appropriately as stated in the panel:

Code: [Select]
Valid targets are an attached local drive or network share.
If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.
If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

Target     [                        ]
Username   [                        ]
Password   [                        ]


Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #11 on: April 17, 2008, 01:51:27 PM »
Hi, Thanks for the reply,

I keep trying to perform a test backup with just (root) listed in the backup selections.

I put in the //computername/share and tried variations of this //computername-desktop/share which in this case happens to be the default computer name that the installation gave me on my desktop, Ubuntu basically calls the computer whatever your user name is. I've tried other combinations //computername/home/user/Desktop/share
//computername-desktop/home/user/Desktop/share
ipaddress//computername/share and other targets I've tried.

I realize the server manager page indicates to just put in the //computername/share and not all this //???/???/??? etc.

Basically the backup seems to get saved to the SME server in inside a file called /auction.foolishlys.com in root directory.

But only sometimes depending on which of those above targets I try.

I've setup the desktop to share using both NFS and then also tried SMB type of share, same results.

I've tried with and without passwords.

I've checked to see if SME sees the share using the smbclient commands such as ( smbclient -NL 10.1.10.188) and/or (smbclient -L 10.1.10.199)

-L//machinename says shares are there.

I'm not sure this is a very good option for backup for me personally as a non-fluent linux user. It's beginning to get a little too complex with all these commands.

If I were more fluent perhaps it would be simple for me.

Perhaps I need to attempt a backup to usb or local drive instead if that could be any simpler for me.

Thanks for the help.
I'll move on to usb or perhaps just a tape backup since the tape backup seems to be as simple as clicking a button.







Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: DAR2
« Reply #12 on: April 17, 2008, 04:00:56 PM »
I have never done this with a linux client but on Winxp it just works.

//Clientname/sharename

(In my setting //Royceh/sme_backup)

This is the same path I would put in to browse the share from another workstation.
I would suggest that you test this from another workstation to be sure the share is available.....

For winxp the filetype is SMBFS and the username and password fields contain the share username and password.
This is all configured from the Disk ARchive panel in server-manager. (No command line needed)

Check the following:

*  Firewall on the workstation. I have had instances of up to three firewalls running on a customer's (windows) workstation at the same time.

*  Can you browse the share from another workstation.

Quote
Ubuntu basically calls the computer whatever your user name is.

I don't know anything about Ubuntu but this raises a question for me. Does the Machine host name actually change every time a different user logs on???

What if no user is logged on, does the machine then not have a hostname???

just ignore this post if it is not applicable. Reading through the thread I am not sure if I can follow WHO is  having problems with WHAT  :-?
« Last Edit: April 17, 2008, 04:21:26 PM by mercyh »

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #13 on: April 17, 2008, 05:16:47 PM »
mercyh- Thanks for the reply,

I believe this original old post has been concluded, but my questioning in other posts led me here and I sort of stoked it back up again.

So basically from my first post from Agent86 downward is what I'm working on with my backup topic.

However not specifically permissions, although I guess it could be permissions I'm not sure at this point.

Your response has been helpful.

So in response to your notes I can see the shares from other desktops and also I see them when I login with ssh as root to the SME server and do the smbclient commands I can see the shares, so I must have something wrong with my target I'm guessing.

And yes the host name changes everytime another user logs on, however I'm the only user on this machine and it just stays running all the time.

No firewall that I know of except I'm using SME as a gateway mode.

And as far as file types go I have tried the ext3 since my linux box uses that files system, but I've also tried the others listed in the panel as well. No effect.

So i'm stumped and I don't really even know how to diagnose this. I think I'm going to plugin the usb drive and try that.
I hope I don't have to resort to command line mounts and things on that as well.
Anyhow thanks for the reply.

P.S yes I agree is sound like it should be simple and just work but perhaps linux desktop is changing things on my end. I may try to boot to windows and see if there is any effect there. Thanks again.
 
« Last Edit: April 17, 2008, 05:20:55 PM by Agent86 »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: DAR2
« Reply #14 on: April 17, 2008, 05:35:56 PM »
Agent86

Quote
I keep trying to perform a test backup with just (root) listed in the backup selections.

That should be fine for a test, although the name root should not have brackets around it.

Quote
I realize the server manager page indicates to just put in the //computername/share and not all this //???/???/??? etc.

Yes, so stop trying variations that are not supported.
Only use //computername/share and as suggested make sure you can access that by connecting to it by other means eg using Windows My Network Places.

Quote
I've tried with and without passwords.

OK, so stop trying without a username and password, they are required so make sure you use a valid combination.


Do you have a Windows PC on the network eg Win2K or Win XP, that is ideally a member of the sme server domain ?

I suggest you try a test backup to that, making sure you add ALL the required data to the job configuration.
It should work if everything is done correctly, this is a well proven program.

If it does NOT work to a Windows PC, then you have a problem somewhere, most probably your job configuration syntax etc or the share is not accessible.

If it DOES work OK to a Windows PC, then the problem (when backing up to Linux) is with your Linux desktop machine and/or the configuration you use for the backup job, or perhaps the share is not accessible.

Eliminate some possibilities first by doing a backup to a Windows PC which is known to work OK.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: DAR2
« Reply #15 on: April 17, 2008, 08:13:42 PM »
Quote
So in response to your notes I can see the shares from other desktops and also I see them when I login with ssh as root to the SME server and do the smbclient commands I can see the shares, so I must have something wrong with my target I'm guessing.

Just one more question (and please don't think I am insulting your intelligence) Can you write to the share with the user and password from one of your other machines? This only says see and earlier I specifically asked browse


Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #16 on: April 18, 2008, 12:00:15 AM »
Hi,

No thats not insulting

I can write to the shares from other computers no problems there I do it all the time on my linux boxes, and they share files from one to the other all day long, and they all have the same workgroup name as well as the SME box, which I also can share file to the SME box ibays etc. no problems there.

I can use the smbclient commands when logged into the SME box, and see my desktop share that says the share is there.

I don't have to have passwords setup on the shares I can disable them for anonymous login or not, but I've got it setup for write access, and I would expect that I should be able to access the share from the SME box.

Let me ask you this, how do I test if I can write to the desktop share simply being logged in.

I did not really want to learn all the aspects of mounting and smbmount etc. or fuse and any other type of mount commands, but it would appear that I now have to in order to determine if I can write to the desktop share at all from the SME box, instead of trying to check out all the backup syntax, I believe I have to see if I can successfully mount the share on the SME box and then write to the share. then at least I'll know I can write to it.

I did not, really want to get into all that but it would appear that if I'm going to continue to use SME I will have to get educated with linux command line some more.
I can't say enough that I wish I could just simply open and save/as command similar to the save to desktop feature that exists in the panel by default.

Anyhow thanks to all for the help.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #17 on: April 18, 2008, 12:43:47 AM »
mary- thanks

I'll boot to windows and try, but I was hoping to get things working on the linux desktop, because I don't use windows anymore.I do still have it on this dual boot machine and it has the shares setup already since I was using windows about 7 months ago just for my trading platform. and to access my shared sme files but thats about all.

Thanks for the info.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #18 on: April 18, 2008, 01:46:39 AM »
Hi,

my dar stopped working  :-(

from my log file..........

Mar 10 14:27:52 server e-smith-bg: cli_negprot: SMB signing is mandatory and we have disabled it.
Mar 10 14:27:52 server e-smith-bg: 31850: protocol negotiation failed
Mar 10 14:27:52 server e-smith-bg: SMB connection failed
Mar 10 14:28:39 server smbd[25375]: [2008/03/10 14:28:39, 0] smbd/service.c:set_current_service(184)

This is strange, I've noticed that it appears that I hijacked this post from the original topic/poster

But, when I initially posted it was in an old DAR2 permissions post and for some reason it's now in this thread, and I've been responding in this thread. It was not until I looked back at the beginning of this post and realized that my initial post is not in the initial place in which I posted it for some reason.

Anyhow I'm sorry about this and I don't know why my posts are in this thread when I can see clearly the original post was about: as quoted above.

I'll reopen another thread once I tinker with my DAR some more.


Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: DAR2
« Reply #19 on: November 08, 2008, 03:35:18 PM »
Hi

Curious about DAR2 panel (DiskARchive)

When creating a new backup job, under the section (backup day)

Does (*) mean a (daily backup) ?

And the user/pass for USB local drive target ? Does this have to root and pass ?

Or can I leave it blank for USB local drive plugged into the SME\

Please advise thanks
« Last Edit: November 10, 2008, 10:44:58 PM by Agent86 »