[1]+ Exit 125 nohup [closed]












0















I am running the following command:



nohup ./run_hyper_param_tuning.sh> ../../logs/hyper_model_15_b_Jan.txt 2>&1  & echo $! >save_pid.txt


It has been always working but suddenly it stopped working now. The script is the following:



#!/bin/bash

export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

#added by Anaconda3 installer
export PATH="/home/javier/anaconda3/envs/AIenv/bin:$PATH"
#export PATH="/home/javier/anaconda3/bin:$PATH"

#source /home/javier/anaconda3/bin/activate AIenv

echo "STARTING HYPER-PARAMETER TUNING..."
backbones=("resnet101")
gradient_clip_norms=(10)
learning_rates=(0.001)
weight_decays=(0.0005)
layers=('heads')

for i in "${backbones[@]}"
do
for j in "${gradient_clip_norms[@]}"
do
for k in "${learning_rates[@]}"
do
for l in "${weight_decays[@]}"
do
for m in "${layers[@]}"
do
echo "-----------------------------------------------------------------------------------"
echo "backbone:" $i " gradient_clip_norms:" $j " learning_rate:" $k " weight_decays:" $l "layers:" $m
echo "-----------------------------------------------------------------------------------"
python3 custom.py train --dataset=customImages/ --weights=coco --backbone=$i --grad_clip_norms=$j --learn_rate=$k --weight_decays=$l --layers=$m --epochs=100
echo "successfully done"
done
done
done
done
done


The file where I redirect the output has the following message:



[1]+  Exit 125                nohup ./run_hyper_param_tuning.sh > ../../logs/hyper_model_15_b_Jan.txt 2>&1


However when I show again the content with cat, the file is empty.



How can I solve this?










share|improve this question







New contributor




Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as off-topic by DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris Jan 15 at 19:42


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris

If this question can be reworded to fit the rules in the help center, please edit the question.


















    0















    I am running the following command:



    nohup ./run_hyper_param_tuning.sh> ../../logs/hyper_model_15_b_Jan.txt 2>&1  & echo $! >save_pid.txt


    It has been always working but suddenly it stopped working now. The script is the following:



    #!/bin/bash

    export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
    export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

    #added by Anaconda3 installer
    export PATH="/home/javier/anaconda3/envs/AIenv/bin:$PATH"
    #export PATH="/home/javier/anaconda3/bin:$PATH"

    #source /home/javier/anaconda3/bin/activate AIenv

    echo "STARTING HYPER-PARAMETER TUNING..."
    backbones=("resnet101")
    gradient_clip_norms=(10)
    learning_rates=(0.001)
    weight_decays=(0.0005)
    layers=('heads')

    for i in "${backbones[@]}"
    do
    for j in "${gradient_clip_norms[@]}"
    do
    for k in "${learning_rates[@]}"
    do
    for l in "${weight_decays[@]}"
    do
    for m in "${layers[@]}"
    do
    echo "-----------------------------------------------------------------------------------"
    echo "backbone:" $i " gradient_clip_norms:" $j " learning_rate:" $k " weight_decays:" $l "layers:" $m
    echo "-----------------------------------------------------------------------------------"
    python3 custom.py train --dataset=customImages/ --weights=coco --backbone=$i --grad_clip_norms=$j --learn_rate=$k --weight_decays=$l --layers=$m --epochs=100
    echo "successfully done"
    done
    done
    done
    done
    done


    The file where I redirect the output has the following message:



    [1]+  Exit 125                nohup ./run_hyper_param_tuning.sh > ../../logs/hyper_model_15_b_Jan.txt 2>&1


    However when I show again the content with cat, the file is empty.



    How can I solve this?










    share|improve this question







    New contributor




    Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    closed as off-topic by DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris Jan 15 at 19:42


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris

    If this question can be reworded to fit the rules in the help center, please edit the question.
















      0












      0








      0








      I am running the following command:



      nohup ./run_hyper_param_tuning.sh> ../../logs/hyper_model_15_b_Jan.txt 2>&1  & echo $! >save_pid.txt


      It has been always working but suddenly it stopped working now. The script is the following:



      #!/bin/bash

      export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
      export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

      #added by Anaconda3 installer
      export PATH="/home/javier/anaconda3/envs/AIenv/bin:$PATH"
      #export PATH="/home/javier/anaconda3/bin:$PATH"

      #source /home/javier/anaconda3/bin/activate AIenv

      echo "STARTING HYPER-PARAMETER TUNING..."
      backbones=("resnet101")
      gradient_clip_norms=(10)
      learning_rates=(0.001)
      weight_decays=(0.0005)
      layers=('heads')

      for i in "${backbones[@]}"
      do
      for j in "${gradient_clip_norms[@]}"
      do
      for k in "${learning_rates[@]}"
      do
      for l in "${weight_decays[@]}"
      do
      for m in "${layers[@]}"
      do
      echo "-----------------------------------------------------------------------------------"
      echo "backbone:" $i " gradient_clip_norms:" $j " learning_rate:" $k " weight_decays:" $l "layers:" $m
      echo "-----------------------------------------------------------------------------------"
      python3 custom.py train --dataset=customImages/ --weights=coco --backbone=$i --grad_clip_norms=$j --learn_rate=$k --weight_decays=$l --layers=$m --epochs=100
      echo "successfully done"
      done
      done
      done
      done
      done


      The file where I redirect the output has the following message:



      [1]+  Exit 125                nohup ./run_hyper_param_tuning.sh > ../../logs/hyper_model_15_b_Jan.txt 2>&1


      However when I show again the content with cat, the file is empty.



      How can I solve this?










      share|improve this question







      New contributor




      Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am running the following command:



      nohup ./run_hyper_param_tuning.sh> ../../logs/hyper_model_15_b_Jan.txt 2>&1  & echo $! >save_pid.txt


      It has been always working but suddenly it stopped working now. The script is the following:



      #!/bin/bash

      export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
      export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

      #added by Anaconda3 installer
      export PATH="/home/javier/anaconda3/envs/AIenv/bin:$PATH"
      #export PATH="/home/javier/anaconda3/bin:$PATH"

      #source /home/javier/anaconda3/bin/activate AIenv

      echo "STARTING HYPER-PARAMETER TUNING..."
      backbones=("resnet101")
      gradient_clip_norms=(10)
      learning_rates=(0.001)
      weight_decays=(0.0005)
      layers=('heads')

      for i in "${backbones[@]}"
      do
      for j in "${gradient_clip_norms[@]}"
      do
      for k in "${learning_rates[@]}"
      do
      for l in "${weight_decays[@]}"
      do
      for m in "${layers[@]}"
      do
      echo "-----------------------------------------------------------------------------------"
      echo "backbone:" $i " gradient_clip_norms:" $j " learning_rate:" $k " weight_decays:" $l "layers:" $m
      echo "-----------------------------------------------------------------------------------"
      python3 custom.py train --dataset=customImages/ --weights=coco --backbone=$i --grad_clip_norms=$j --learn_rate=$k --weight_decays=$l --layers=$m --epochs=100
      echo "successfully done"
      done
      done
      done
      done
      done


      The file where I redirect the output has the following message:



      [1]+  Exit 125                nohup ./run_hyper_param_tuning.sh > ../../logs/hyper_model_15_b_Jan.txt 2>&1


      However when I show again the content with cat, the file is empty.



      How can I solve this?







      bash shell command nohup






      share|improve this question







      New contributor




      Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Jan 15 at 14:26









      JavissJaviss

      1




      1




      New contributor




      Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Javiss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      closed as off-topic by DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris Jan 15 at 19:42


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris

      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris Jan 15 at 19:42


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – DopeGhoti, Jeff Schaller, Christopher, Rui F Ribeiro, Stephen Harris

      If this question can be reworded to fit the rules in the help center, please edit the question.






















          1 Answer
          1






          active

          oldest

          votes


















          2














          This, according to the (GNU) nohup documentation, is nohup itself failing.



          -bash-4.2$ man nohup | grep 125
          -bash-4.2$ info nohup | grep 125
          info: Writing node (coreutils.info.gz)nohup invocation...
          info: Done.
          125 if 'nohup' itself fails, and 'POSIXLY_CORRECT' is not set
          instead of 125.


          Perhaps try a strace of nohup to see what it is failing over?






          share|improve this answer
























          • I have solved it. I did not have enough space storage, I removed multiple folders and the command works again well.

            – Javiss
            Jan 15 at 15:10


















          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          This, according to the (GNU) nohup documentation, is nohup itself failing.



          -bash-4.2$ man nohup | grep 125
          -bash-4.2$ info nohup | grep 125
          info: Writing node (coreutils.info.gz)nohup invocation...
          info: Done.
          125 if 'nohup' itself fails, and 'POSIXLY_CORRECT' is not set
          instead of 125.


          Perhaps try a strace of nohup to see what it is failing over?






          share|improve this answer
























          • I have solved it. I did not have enough space storage, I removed multiple folders and the command works again well.

            – Javiss
            Jan 15 at 15:10
















          2














          This, according to the (GNU) nohup documentation, is nohup itself failing.



          -bash-4.2$ man nohup | grep 125
          -bash-4.2$ info nohup | grep 125
          info: Writing node (coreutils.info.gz)nohup invocation...
          info: Done.
          125 if 'nohup' itself fails, and 'POSIXLY_CORRECT' is not set
          instead of 125.


          Perhaps try a strace of nohup to see what it is failing over?






          share|improve this answer
























          • I have solved it. I did not have enough space storage, I removed multiple folders and the command works again well.

            – Javiss
            Jan 15 at 15:10














          2












          2








          2







          This, according to the (GNU) nohup documentation, is nohup itself failing.



          -bash-4.2$ man nohup | grep 125
          -bash-4.2$ info nohup | grep 125
          info: Writing node (coreutils.info.gz)nohup invocation...
          info: Done.
          125 if 'nohup' itself fails, and 'POSIXLY_CORRECT' is not set
          instead of 125.


          Perhaps try a strace of nohup to see what it is failing over?






          share|improve this answer













          This, according to the (GNU) nohup documentation, is nohup itself failing.



          -bash-4.2$ man nohup | grep 125
          -bash-4.2$ info nohup | grep 125
          info: Writing node (coreutils.info.gz)nohup invocation...
          info: Done.
          125 if 'nohup' itself fails, and 'POSIXLY_CORRECT' is not set
          instead of 125.


          Perhaps try a strace of nohup to see what it is failing over?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 15 at 14:51









          thrigthrig

          24.5k23056




          24.5k23056













          • I have solved it. I did not have enough space storage, I removed multiple folders and the command works again well.

            – Javiss
            Jan 15 at 15:10



















          • I have solved it. I did not have enough space storage, I removed multiple folders and the command works again well.

            – Javiss
            Jan 15 at 15:10

















          I have solved it. I did not have enough space storage, I removed multiple folders and the command works again well.

          – Javiss
          Jan 15 at 15:10





          I have solved it. I did not have enough space storage, I removed multiple folders and the command works again well.

          – Javiss
          Jan 15 at 15:10



          Popular posts from this blog

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀