[asterisk-bugs] [AsteriskNOW 0010600]: Cannot backup to Windows (cifs) server
noreply at bugs.digium.com
noreply at bugs.digium.com
Sun Sep 2 21:09:37 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10600
======================================================================
Reported By: robardill
Assigned To: james
======================================================================
Project: AsteriskNOW
Issue ID: 10600
Category: Base OS
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 08-29-2007 20:45 CDT
Last Modified: 09-02-2007 21:09 CDT
======================================================================
Summary: Cannot backup to Windows (cifs) server
Description:
System Configuration -> Backup and Restore
Setting backup type to CIFS/SMB File Share
Backup fails with:
Failed: A permanent failure has occurred: Shell command "/bin/mount -t
cifs -orw,username=<DOMAIN\Account>,password=xxxxxx //Server/Share
/tmp/raa-backup-mountwVzMmmdir" exited with exit code 32
Running command from shell result in pollowing error:
mount: wrong fs type, bad option, bad superblock on //Server/Share,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Kernel message log:
Aug 30 11:20:05 pluto kernel: CIFS VFS: cifs_mount failed w/return code =
-22
Aug 30 11:20:16 pluto kernel: CIFS VFS: cifs_mount failed w/return code =
-22
Aug 30 11:29:33 pluto kernel: CIFS VFS: cifs_mount failed w/return code =
-22
======================================================================
----------------------------------------------------------------------
robardill - 09-02-07 21:09
----------------------------------------------------------------------
Yes that has fixed the issue.
[admin at pluto ~]$ sudo conary update samba
Password:
Including extra troves to resolve dependencies:
cups:data=1.1.23-14.2-1 cups:lib=1.1.23-14.2-1 gamin:lib=0.1.7-0.1-2
libtiff:lib=3.8.2-3-0.1
Applying update job 1 of 4:
Install cups:data=1.1.23-14.2-1
Install gamin(:lib)=0.1.7-0.1-2
Applying update job 2 of 4:
Install libtiff(:lib)=3.8.2-3-0.1
Applying update job 3 of 4:
Install cups(:lib)=1.1.23-14.2-1
Applying update job 4 of 4:
Install samba(:devel :devellib :doc :lib :runtime)=3.0.25-0.1-1
Had to adjust the path and DOMAIN\USER to use "/" instead. Now the script
executes with success.
/bin/mount -t cifs -orw,username=DOMAIN/User,password=xxxxxx
//Server/share/dir /tmp/raa-backup-mountn4j7CTdir
Will report in the main forum.
Issue History
Date Modified Username Field Change
======================================================================
09-02-07 21:09 robardill Note Added: 0069839
======================================================================
More information about the asterisk-bugs
mailing list