tabernarious / f5-automated-backup-iapp

F5 iApp for automated backups to the local device and to network locations.
37 stars 25 forks source link

REMOTE COPY (SMB/CIFS) FAILED ErrorCode: CHILDSTATUS 23311 1 #38

Open scottgriffel opened 2 years ago

scottgriffel commented 2 years ago

Getting this error. I can telnet to the IP and/or FQDN over port 139. IApp 3.2.4 and 13.1.3.6 Build 0.0.4 Point Release 6. I have two other BIG using the same configuration and it runs successfully.

Any help would be appreciated.

Thanks

f5.automated_backup iApp Backups: 20220107_vhantxpacf5big1.addon.mig.ucs SAVED LOCALLY (/var/local/ucs) f5.automated_backup iApp Backups: 20220107_vhantxpacf5big1.addon.mig.ucs REMOTE COPY and PRUNING (SMB/CIFS) STARTING

mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) DEBUG: Failed to mount /***/ali/site/data/f5config/NTX to /var/tmp/cifs f5.automated_backup iApp Backups: 20220107_vhantxpacf5big1.addon.mig.ucs REMOTE COPY (SMB/CIFS) FAILED ErrorCode: CHILDSTATUS 23311 1

f5.automated_backup iApp Backups: 20220107_vhantxpacf5big1.addon.mig.ucs REMOTE COPY (SMB/CIFS) FAILED ErrorInfo: child process exited abnormally while executing "exec $scriptfile" f5.automated_backup iApp Backups: 20220107_vhantxpacf5big1.addon.mig.ucs REMOTE COPY (SMB/CIFS) FAILED (check for errors above) f5.automated_backup iApp Back

tabernarious commented 2 years ago

@scottgriffel, It's been a while since I've troubleshot this, so I'm not sure what is happening with the mount. I'm pretty sure you'll see an authentication error if the username or password are incorrect, and a connectivity error if it can't connect at all. Triple check the server, share, and path syntax (in case you have too many or too few '/' or are using '\' somewhere). And make sure the folder exists on the share and permissions are correct etc.

If you're familiar with mount and umount you could try manually mounting the from the CLI to make sure it works outside the iApp. I would start by testing on a lab or non-critical system. This is the command being used by the iApp:

mount -t cifs //${server}/${remote_path}${remote_directory} ${mountp} -o user=${username},password=''${password}'',domain=${domain},vers=${smb_version},sec=${smb_security}

Defaults set by the iApp (which should be noted in the iApp configuration):

scottgriffel commented 2 years ago

Thank you, Daniel.

No syntax mistakes. Defaults are correct. I do not have a test system to test mounting.

How much of a risk mounting in prod? 😊

From: Daniel Tavernier @.> Sent: Friday, January 7, 2022 1:04 PM To: tabernarious/f5-automated-backup-iapp @.> Cc: Griffel, Scott @.>; Mention @.> Subject: (External Email) Re: [tabernarious/f5-automated-backup-iapp] REMOTE COPY (SMB/CIFS) FAILED ErrorCode: CHILDSTATUS 23311 1 (Issue #38)

WARNING! This email originated from outside of Change Healthcare. https://www.changehealthcare.com/

Do not click links or open attachments unless you recognize the sender and are expecting the message. If you believe the email to be suspicious forward the email using the "Report Phish" button.

@scottgriffelhttps://urldefense.com/v3/__https:/github.com/scottgriffel__;!!LqLi6nfLPheP!ejJNmKc3ywRnH7T32EA0N68s9PpzQf8_Wi4CED8jHgdRtXZxD5P33naIIFIME4gn763vf70$, It's been a while since I've troubleshot this, so I'm not sure what is happening with the mount. I'm pretty sure you'll see an authentication error if the username or password are incorrect, and a connectivity error if it can't connect at all. Triple check the server, share, and path syntax (in case you have too many or too few '/' or are using '' somewhere). And make sure the folder exists on the share and permissions are correct etc.

If you're familiar with mount and umount you could try manually mounting the from the CLI to make sure it works outside the iApp. I would start by testing on a lab or non-critical system. This is the command being used by the iApp:

mount -t cifs //${server}/${remote_path}${remote_directory} ${mountp} -o user=${username},password=''${password}'',domain=${domain},vers=${smb_version},sec=${smb_security}

Defaults set by the iApp (which should be noted in the iApp configuration):

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/tabernarious/f5-automated-backup-iapp/issues/38*issuecomment-1007616932__;Iw!!LqLi6nfLPheP!ejJNmKc3ywRnH7T32EA0N68s9PpzQf8_Wi4CED8jHgdRtXZxD5P33naIIFIME4gn-4XFeSc$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AXE2YTUEZ6RN2WRZSFM2ODDUU4TIRANCNFSM5LPDYUBQ__;!!LqLi6nfLPheP!ejJNmKc3ywRnH7T32EA0N68s9PpzQf8_Wi4CED8jHgdRtXZxD5P33naIIFIME4gnilD_LFo$. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https:/apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!LqLi6nfLPheP!ejJNmKc3ywRnH7T32EA0N68s9PpzQf8_Wi4CED8jHgdRtXZxD5P33naIIFIME4gnUUJZPGI$ or Androidhttps://urldefense.com/v3/__https:/play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!LqLi6nfLPheP!ejJNmKc3ywRnH7T32EA0N68s9PpzQf8_Wi4CED8jHgdRtXZxD5P33naIIFIME4gnRINgZ88$. You are receiving this because you were mentioned.Message ID: @.**@.>>

This message is confidential, intended only for the named recipient(s) and may contain information that is privileged or exempt from disclosure under applicable law. If you are not the intended recipient(s), you are notified that the dissemination, distribution, or copying of this message is strictly prohibited. If you receive this message in error or are not the named recipient(s), please notify the sender by return email and delete this message.