What does it mean 'exit 1' for a job status after rclone sync [duplicate]
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
This question already has an answer here:
What does a “[1]+ Exit 1” response mean?
2 answers
I am copying some large datasets to google drive using rclone in Linux on MobaXterm. First, I copy the dataset using;
-cpu:~$ nohup rclone copy /path_to_source/. /path_to_destination &
once copying is completed, I use sync to make sure everything is copied using;
-cpu:~$ nohup rclone sync /path_to_source/. /path_to_destination &
Now when check the job status using;
ps -ef | grep rclone
For one of the jobs, it gives;
[3]+ Exit 1 nohup rclone sync /path_to_source/. /path_to_destination &
I was expecting to see 'Done' instead of 'Exit 1'. What does this mean? Does it mean sync is unsuccessful? If so what would be the reason?
linux
marked as duplicate by DopeGhoti, Rui F Ribeiro
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Apr 2 at 0:13
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
What does a “[1]+ Exit 1” response mean?
2 answers
I am copying some large datasets to google drive using rclone in Linux on MobaXterm. First, I copy the dataset using;
-cpu:~$ nohup rclone copy /path_to_source/. /path_to_destination &
once copying is completed, I use sync to make sure everything is copied using;
-cpu:~$ nohup rclone sync /path_to_source/. /path_to_destination &
Now when check the job status using;
ps -ef | grep rclone
For one of the jobs, it gives;
[3]+ Exit 1 nohup rclone sync /path_to_source/. /path_to_destination &
I was expecting to see 'Done' instead of 'Exit 1'. What does this mean? Does it mean sync is unsuccessful? If so what would be the reason?
linux
marked as duplicate by DopeGhoti, Rui F Ribeiro
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Apr 2 at 0:13
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
What does a “[1]+ Exit 1” response mean?
2 answers
I am copying some large datasets to google drive using rclone in Linux on MobaXterm. First, I copy the dataset using;
-cpu:~$ nohup rclone copy /path_to_source/. /path_to_destination &
once copying is completed, I use sync to make sure everything is copied using;
-cpu:~$ nohup rclone sync /path_to_source/. /path_to_destination &
Now when check the job status using;
ps -ef | grep rclone
For one of the jobs, it gives;
[3]+ Exit 1 nohup rclone sync /path_to_source/. /path_to_destination &
I was expecting to see 'Done' instead of 'Exit 1'. What does this mean? Does it mean sync is unsuccessful? If so what would be the reason?
linux
This question already has an answer here:
What does a “[1]+ Exit 1” response mean?
2 answers
I am copying some large datasets to google drive using rclone in Linux on MobaXterm. First, I copy the dataset using;
-cpu:~$ nohup rclone copy /path_to_source/. /path_to_destination &
once copying is completed, I use sync to make sure everything is copied using;
-cpu:~$ nohup rclone sync /path_to_source/. /path_to_destination &
Now when check the job status using;
ps -ef | grep rclone
For one of the jobs, it gives;
[3]+ Exit 1 nohup rclone sync /path_to_source/. /path_to_destination &
I was expecting to see 'Done' instead of 'Exit 1'. What does this mean? Does it mean sync is unsuccessful? If so what would be the reason?
This question already has an answer here:
What does a “[1]+ Exit 1” response mean?
2 answers
linux
linux
edited Apr 2 at 0:13
Rui F Ribeiro
42.1k1483142
42.1k1483142
asked Apr 1 at 19:32
kutluskutlus
967
967
marked as duplicate by DopeGhoti, Rui F Ribeiro
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Apr 2 at 0:13
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by DopeGhoti, Rui F Ribeiro
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Apr 2 at 0:13
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The Exit 1
means your command resulted in exit code 1.
The exit code comes from either the nohup
command, or the rclone sync
command.
The former will usually create exit codes with very high values on any errors, so it's probably from the latter.
If the nohup
command worked, it will probably have created a nohup.out
file in the directory you ran the command in. It contains any output the rclone sync
command may have created, so if that file exists, reading it will probably solve the mystery.
The documentation page of rclone
has a paragraph titled List of exit codes almost at the end of the page:
List of exit codes
0 - success
1 - Syntax or usage error
2 - Error not otherwise categorised
3 - Directory not found
4 - File not found
5 - Temporary error (one that more retries might fix) (Retry errors)
6 - Less serious errors (like 461 errors from dropbox) (NoRetry errors)
7 - Fatal error (one that more retries won’t fix, like account suspended) (Fatal errors)
8 - Transfer exceeded - limit set by --max-transfer reached
thank you, it helped!
– kutlus
Apr 1 at 20:53
add a comment |
The answer to which you linked does answer your question exactly. Exit 1
means that your backgrounded job completed, but threw a nonzero exit code (in this case, 1
) which usually indicates some sort of error condition. You will see Done
when the job's exit code is zero:
$ sleep 4 &
[1] 98565
$ # Wait a few seconds, and press Enter..
[1]+ Done sleep 4
$ ( sleep 4; exit 44 ) &
[1] 98613
$ # Wait a few seconds, and press Enter..
[1]+ Exit 44 ( sleep 4; exit 44 )
Thank you, this answer was also helpful and I have voted for you.
– kutlus
Apr 1 at 20:54
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The Exit 1
means your command resulted in exit code 1.
The exit code comes from either the nohup
command, or the rclone sync
command.
The former will usually create exit codes with very high values on any errors, so it's probably from the latter.
If the nohup
command worked, it will probably have created a nohup.out
file in the directory you ran the command in. It contains any output the rclone sync
command may have created, so if that file exists, reading it will probably solve the mystery.
The documentation page of rclone
has a paragraph titled List of exit codes almost at the end of the page:
List of exit codes
0 - success
1 - Syntax or usage error
2 - Error not otherwise categorised
3 - Directory not found
4 - File not found
5 - Temporary error (one that more retries might fix) (Retry errors)
6 - Less serious errors (like 461 errors from dropbox) (NoRetry errors)
7 - Fatal error (one that more retries won’t fix, like account suspended) (Fatal errors)
8 - Transfer exceeded - limit set by --max-transfer reached
thank you, it helped!
– kutlus
Apr 1 at 20:53
add a comment |
The Exit 1
means your command resulted in exit code 1.
The exit code comes from either the nohup
command, or the rclone sync
command.
The former will usually create exit codes with very high values on any errors, so it's probably from the latter.
If the nohup
command worked, it will probably have created a nohup.out
file in the directory you ran the command in. It contains any output the rclone sync
command may have created, so if that file exists, reading it will probably solve the mystery.
The documentation page of rclone
has a paragraph titled List of exit codes almost at the end of the page:
List of exit codes
0 - success
1 - Syntax or usage error
2 - Error not otherwise categorised
3 - Directory not found
4 - File not found
5 - Temporary error (one that more retries might fix) (Retry errors)
6 - Less serious errors (like 461 errors from dropbox) (NoRetry errors)
7 - Fatal error (one that more retries won’t fix, like account suspended) (Fatal errors)
8 - Transfer exceeded - limit set by --max-transfer reached
thank you, it helped!
– kutlus
Apr 1 at 20:53
add a comment |
The Exit 1
means your command resulted in exit code 1.
The exit code comes from either the nohup
command, or the rclone sync
command.
The former will usually create exit codes with very high values on any errors, so it's probably from the latter.
If the nohup
command worked, it will probably have created a nohup.out
file in the directory you ran the command in. It contains any output the rclone sync
command may have created, so if that file exists, reading it will probably solve the mystery.
The documentation page of rclone
has a paragraph titled List of exit codes almost at the end of the page:
List of exit codes
0 - success
1 - Syntax or usage error
2 - Error not otherwise categorised
3 - Directory not found
4 - File not found
5 - Temporary error (one that more retries might fix) (Retry errors)
6 - Less serious errors (like 461 errors from dropbox) (NoRetry errors)
7 - Fatal error (one that more retries won’t fix, like account suspended) (Fatal errors)
8 - Transfer exceeded - limit set by --max-transfer reached
The Exit 1
means your command resulted in exit code 1.
The exit code comes from either the nohup
command, or the rclone sync
command.
The former will usually create exit codes with very high values on any errors, so it's probably from the latter.
If the nohup
command worked, it will probably have created a nohup.out
file in the directory you ran the command in. It contains any output the rclone sync
command may have created, so if that file exists, reading it will probably solve the mystery.
The documentation page of rclone
has a paragraph titled List of exit codes almost at the end of the page:
List of exit codes
0 - success
1 - Syntax or usage error
2 - Error not otherwise categorised
3 - Directory not found
4 - File not found
5 - Temporary error (one that more retries might fix) (Retry errors)
6 - Less serious errors (like 461 errors from dropbox) (NoRetry errors)
7 - Fatal error (one that more retries won’t fix, like account suspended) (Fatal errors)
8 - Transfer exceeded - limit set by --max-transfer reached
answered Apr 1 at 20:23
telcoMtelcoM
21k12553
21k12553
thank you, it helped!
– kutlus
Apr 1 at 20:53
add a comment |
thank you, it helped!
– kutlus
Apr 1 at 20:53
thank you, it helped!
– kutlus
Apr 1 at 20:53
thank you, it helped!
– kutlus
Apr 1 at 20:53
add a comment |
The answer to which you linked does answer your question exactly. Exit 1
means that your backgrounded job completed, but threw a nonzero exit code (in this case, 1
) which usually indicates some sort of error condition. You will see Done
when the job's exit code is zero:
$ sleep 4 &
[1] 98565
$ # Wait a few seconds, and press Enter..
[1]+ Done sleep 4
$ ( sleep 4; exit 44 ) &
[1] 98613
$ # Wait a few seconds, and press Enter..
[1]+ Exit 44 ( sleep 4; exit 44 )
Thank you, this answer was also helpful and I have voted for you.
– kutlus
Apr 1 at 20:54
add a comment |
The answer to which you linked does answer your question exactly. Exit 1
means that your backgrounded job completed, but threw a nonzero exit code (in this case, 1
) which usually indicates some sort of error condition. You will see Done
when the job's exit code is zero:
$ sleep 4 &
[1] 98565
$ # Wait a few seconds, and press Enter..
[1]+ Done sleep 4
$ ( sleep 4; exit 44 ) &
[1] 98613
$ # Wait a few seconds, and press Enter..
[1]+ Exit 44 ( sleep 4; exit 44 )
Thank you, this answer was also helpful and I have voted for you.
– kutlus
Apr 1 at 20:54
add a comment |
The answer to which you linked does answer your question exactly. Exit 1
means that your backgrounded job completed, but threw a nonzero exit code (in this case, 1
) which usually indicates some sort of error condition. You will see Done
when the job's exit code is zero:
$ sleep 4 &
[1] 98565
$ # Wait a few seconds, and press Enter..
[1]+ Done sleep 4
$ ( sleep 4; exit 44 ) &
[1] 98613
$ # Wait a few seconds, and press Enter..
[1]+ Exit 44 ( sleep 4; exit 44 )
The answer to which you linked does answer your question exactly. Exit 1
means that your backgrounded job completed, but threw a nonzero exit code (in this case, 1
) which usually indicates some sort of error condition. You will see Done
when the job's exit code is zero:
$ sleep 4 &
[1] 98565
$ # Wait a few seconds, and press Enter..
[1]+ Done sleep 4
$ ( sleep 4; exit 44 ) &
[1] 98613
$ # Wait a few seconds, and press Enter..
[1]+ Exit 44 ( sleep 4; exit 44 )
answered Apr 1 at 20:08
DopeGhotiDopeGhoti
47.1k56191
47.1k56191
Thank you, this answer was also helpful and I have voted for you.
– kutlus
Apr 1 at 20:54
add a comment |
Thank you, this answer was also helpful and I have voted for you.
– kutlus
Apr 1 at 20:54
Thank you, this answer was also helpful and I have voted for you.
– kutlus
Apr 1 at 20:54
Thank you, this answer was also helpful and I have voted for you.
– kutlus
Apr 1 at 20:54
add a comment |