Hi everyone,
I am getting a permission denied error when running a dar2 job. I have done a smbclient -L //machinename and am able to see the share I am trying to write to. I have checked the permissions on the windows pc and am referencing a local useraccount with admin access in the dar2 create backup panel. I am referencing the windows pc as // instead of \\.
The error in var/log/messages
Jun 4 19:14:36 rmrsalexfs1 /etc/e-smith/web/panels/manager/cgi-bin/dar2[4878]: /home/e-smith/db/dar2: OLD test=dar2|Backup|etc/e-smith/templates-custom|Compression|0|Description|test|Exclude||Expiry|0|Mount|/mnt/dar2|Password|jesus33|Prune||Slice|1000|Target|//m45351/pcs|Username|glenn|VFSType|smbfs|Verbose|off|backupDay|manual|backupTime|17:43|status|enabled
Jun 4 19:14:36 rmrsalexfs1 /etc/e-smith/web/panels/manager/cgi-bin/dar2[4878]: /home/e-smith/db/dar2: NEW test=dar2|Backup|etc/e-smith/templates-custom|Compression|0|Description|test|Exclude||Expiry|0|Mount|/mnt/dar2|Password|jesus33|Prune||Slice|1000|Target|//m45351/pcs|Username|glenn|VFSType|smbfs|Verbose|off|backupDay|manual|backupTime|19:16|status|enabled
Jun 4 19:14:48 rmrsalexfs1 e-smith-bg: Connecting /mnt/dar2/test to //m45351/pcs
Jun 4 19:14:48 rmrsalexfs1 kernel: init_special_inode: bogus i_mode (0)
Jun 4 19:14:48 rmrsalexfs1 kernel: smb_retry: no connection process
Jun 4 19:15:18 rmrsalexfs1 kernel: smb_add_request: request [e57d8e40, mid=0] timed out!
Jun 4 19:15:18 rmrsalexfs1 kernel: smb_delete_inode: could not close inode 2
Jun 4 19:15:18 rmrsalexfs1 mount.smbfs[4901]: [2007/06/04 19:15:18, 0] client/smbmount.c:send_fs_socket(410)
Jun 4 19:15:18 rmrsalexfs1 e-smith-bg: Expanding /etc/dar2/test template
Jun 4 19:15:18 rmrsalexfs1 mount.smbfs[4901]: mount.smbfs: entering daemon mode for service \\m45351\pcs, pid=4901
Jun 4 19:15:19 rmrsalexfs1 e-smith-bg: Creating destination /rmrsalexfs1.regionalmedrs.com/test dir
Jun 4 19:15:19 rmrsalexfs1 e-smith-bg: /bin/mkdir: cannot create directory `/mnt/dar2/test/rmrsalexfs1.regionalmedrs.com': Permission denied
[root@rmrsalexfs1 rmrstest]# db dar2 show
test=dar2
Backup=etc/e-smith/templates-custom
Compression=0
Description=test
Exclude=
Expiry=0
Mount=/mnt/dar2
Password=xxxxxxx
Prune=
Slice=1000
Target=//m45351/pcs
Username=glenn
VFSType=smbfs
Verbose=off
backupDay=manual
backupTime=19:16
status=enabled
[root@rmrsalexfs1 rmrstest]#
Any help would be greatly appreciated,
Thanks to dmay for providing dar2 in the first place.