Comprehensive data protection for all workloads
Post Reply
A's_Tech
Influencer
Posts: 11
Liked: never
Joined: Sep 06, 2013 9:33 pm
Full Name: Bergy
Contact:

Operation Cancelled By User?

Post by A's_Tech »

Hi all,

I'm probably missing something but I need help. I'm brand new to Veeam and trying to backup one VM in VMware and the job keeps failing with: Operation was canceled by user (Veeam.Backup.Common.CStopSessionException)

This is straight from the job log. I'm sure I'm missing something simple; can anyone help?

Thanks,

Bergy
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Operation Cancelled By User?

Post by Gostev »

Hi, is it possible that somebody else is stopping the job from a different RDP console? Believe or not, we have had quite a few support cases when this was the reason.
A's_Tech
Influencer
Posts: 11
Liked: never
Joined: Sep 06, 2013 9:33 pm
Full Name: Bergy
Contact:

Re: Operation Cancelled By User?

Post by A's_Tech »

Gostev,

It appears that it was a production-time problem; I honestly couldn't tell you if a user was physically cancelling the job or if there was too much activity on the SQL database, but I setup the job to run automatically overnight and it was successful.

Thanks for your help!

Bergy
dellock6
VeeaMVP
Posts: 6166
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Operation Cancelled By User?

Post by dellock6 » 1 person likes this post

I don't remember the actual error statement, but maybe there is a configured backup window and it timed out, forcing the job to be cancelled? Just guessing since you say that overnight the job completed successfully.

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
A's_Tech
Influencer
Posts: 11
Liked: never
Joined: Sep 06, 2013 9:33 pm
Full Name: Bergy
Contact:

Re: Operation Cancelled By User?

Post by A's_Tech »

Luca, you are a genius! I was cancelling my own job!

Feeling like an idiot... :oops:

Bergy
dellock6
VeeaMVP
Posts: 6166
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Operation Cancelled By User?

Post by dellock6 »

:) I'm not a genius and you are not an idiot, I've only been there before you in that error.
I remember somewhere in these forums a feature request about changing the error message if the job is canceled due to limited time window to a different message than "cancelled by user" to something like "Job was terminate because it exceeded allowed backup window"...

Glad you nailed the cause!
Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Operation Cancelled By User?

Post by Gostev »

Are you using v7? I am surprised this is still not fixed, as I did discuss this issue with the team before... I am not tracking minor issues like that though. I will follow up, sorry for the inconvenience.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Operation Cancelled By User?

Post by veremin » 1 person likes this post

I’ve just checked this scenario with version 7 and the obsolete message “Canceled by user” seems still to be there. So, thank you for pointing it out; highly appreciated.
mlivingston
Lurker
Posts: 1
Liked: never
Joined: Feb 13, 2013 9:25 pm
Full Name: Mason Livingston
Contact:

Re: Operation Cancelled By User?

Post by mlivingston »

+1 this was also plaguing my new installation, setup with an overnight schedule then tested it during work hours and it fails with 'canceled by user'. Disabling schedule let the test proceed normally.
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Operation Cancelled By User?

Post by foggy »

The message is scheduled to be fixed in one of the future versions.
stevenrodenburg1
Expert
Posts: 135
Liked: 20 times
Joined: May 31, 2011 9:11 am
Full Name: Steven Rodenburg
Location: Switzerland
Contact:

Re: Operation Cancelled By User?

Post by stevenrodenburg1 »

I've seen this on Backup Copy jobs.
Example: a backup is scheduled for 08:00, it's copy job was also scheduled for 08:00. So every morning, i got an email saying that the copy job was "cancelled by user".
This happened every day with three copy jobs only.
During their retries, the copy jobs were successful.

I thought a burglar was sneaking in every morning (or i was sleep-walking), canceling my copy jobs. Never caught the sneaky b*stard ;-)
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Operation Cancelled By User?

Post by veremin »

Yep, we're aware of this rather confusing stop event and planing to fix it in one of the next product releases. Thanks.
tinto1970
Veeam Legend
Posts: 128
Liked: 38 times
Joined: Sep 26, 2013 8:40 am
Full Name: Alessandro T.
Location: Bologna, Italy
Contact:

Re: Operation Cancelled By User?

Post by tinto1970 »

i've just falled in the same pitfall (running ver. 7.0.0.833)

thanks to Luca for existing :-)
Alessandro aka Tinto | VMCE 2024 | Veeam Legend | VCP-DCV 2023 | VVSPHT2023 | vExpert 2024
blog.tinivelli.com
jamesharper-bsol
Influencer
Posts: 15
Liked: 4 times
Joined: Jan 16, 2012 10:30 am
Full Name: James Harper
Contact:

Re: Operation Cancelled By User?

Post by jamesharper-bsol »

Hi Guys,

Just for info it still exists in Veeam 7 patch 4 (7.0.0.871). Again it was a backup window cancelling the job I was trying to test run :)
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Operation Cancelled By User?

Post by veremin »

We're still planing to fix in the upcoming release. Thank you for raising the question again.
WolfgangA
Novice
Posts: 6
Liked: never
Joined: Jul 23, 2014 6:58 pm
Full Name: Wolfgang Aste
Contact:

Re: Operation Cancelled By User?

Post by WolfgangA »

What a silly error message. Just fallen into the same pitfall!

Could somebody raise a feature request to make a more meaningful error message like "Job cancled because out of service window" or something like that... this costed me quite some time to find it out :-(

Veeam 7.0.0.690
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Operation Cancelled By User?

Post by veremin »

Could somebody raise a feature request to make a more meaningful error message like "Job cancled because out of service window" or something like that
There is no need for that, as we're already aware of this rather confusing message and this should already be fixed in v8 code. Thanks!
vadm1018
Lurker
Posts: 2
Liked: 1 time
Joined: Aug 08, 2014 2:20 pm
Contact:

Re: Operation Cancelled By User?

Post by vadm1018 »

How hard is it to patch for version 7? I just wasted 10 minutes of my life looking at someone else's setup that had such an issue. It shouldn't take your devs that long to update the code base with a more meaningful error message.
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Operation Cancelled By User?

Post by foggy »

We don't typically produce hotfixes for such minor issues. Not sure why it slipped our attention prior releasing the latest v7 patch, but this should be addressed in v8 code, as Vladimir has stated above.
gwntc
Novice
Posts: 4
Liked: never
Joined: Aug 28, 2014 2:19 am
Full Name: Paul Brunet
Contact:

Re: Operation Cancelled By User?

Post by gwntc »

I'm guessing that if the backup copy job runs into a VM that is being backed up it would also generate this error. Am I correct?
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 66 guests