What does it mean 'exit 1' for a job status after rclone sync












1















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? There is a similar question here What does a "[1]+ Exit 1" response mean? but it didn't help. thanks










share|improve this question























  • Possible duplicate of What does a "[1]+ Exit 1" response mean?

    – DopeGhoti
    1 hour ago
















1















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? There is a similar question here What does a "[1]+ Exit 1" response mean? but it didn't help. thanks










share|improve this question























  • Possible duplicate of What does a "[1]+ Exit 1" response mean?

    – DopeGhoti
    1 hour ago














1












1








1








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? There is a similar question here What does a "[1]+ Exit 1" response mean? but it didn't help. thanks










share|improve this question














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? There is a similar question here What does a "[1]+ Exit 1" response mean? but it didn't help. thanks







linux






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









kutluskutlus

917




917













  • Possible duplicate of What does a "[1]+ Exit 1" response mean?

    – DopeGhoti
    1 hour ago



















  • Possible duplicate of What does a "[1]+ Exit 1" response mean?

    – DopeGhoti
    1 hour ago

















Possible duplicate of What does a "[1]+ Exit 1" response mean?

– DopeGhoti
1 hour ago





Possible duplicate of What does a "[1]+ Exit 1" response mean?

– DopeGhoti
1 hour ago










2 Answers
2






active

oldest

votes


















2














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





share|improve this answer
























  • thank you, it helped!

    – kutlus
    31 mins ago



















2














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 )





share|improve this answer
























  • Thank you, this answer was also helpful and I have voted for you.

    – kutlus
    30 mins ago












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509942%2fwhat-does-it-mean-exit-1-for-a-job-status-after-rclone-sync%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














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





share|improve this answer
























  • thank you, it helped!

    – kutlus
    31 mins ago
















2














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





share|improve this answer
























  • thank you, it helped!

    – kutlus
    31 mins ago














2












2








2







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





share|improve this answer













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






share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









telcoMtelcoM

20.3k12451




20.3k12451













  • thank you, it helped!

    – kutlus
    31 mins ago



















  • thank you, it helped!

    – kutlus
    31 mins ago

















thank you, it helped!

– kutlus
31 mins ago





thank you, it helped!

– kutlus
31 mins ago













2














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 )





share|improve this answer
























  • Thank you, this answer was also helpful and I have voted for you.

    – kutlus
    30 mins ago
















2














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 )





share|improve this answer
























  • Thank you, this answer was also helpful and I have voted for you.

    – kutlus
    30 mins ago














2












2








2







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 )





share|improve this answer













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 )






share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









DopeGhotiDopeGhoti

46.7k56190




46.7k56190













  • Thank you, this answer was also helpful and I have voted for you.

    – kutlus
    30 mins ago



















  • Thank you, this answer was also helpful and I have voted for you.

    – kutlus
    30 mins ago

















Thank you, this answer was also helpful and I have voted for you.

– kutlus
30 mins ago





Thank you, this answer was also helpful and I have voted for you.

– kutlus
30 mins ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509942%2fwhat-does-it-mean-exit-1-for-a-job-status-after-rclone-sync%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why is a white electrical wire connected to 2 black wires?

Waikiki

What are all the squawk codes?