sfernandez11/SisProH

Errores al ejecutar RecPro

hugo-chavar opened this issue · 2 comments

Estimo que se deben a los Paths harcodeados..

$ ./RecPro.sh &
[1] 6316
$ /users/c8544479/bin/grupo02/bin//glog.sh: line 60: /Glog.log: Permission denied
stat: cannot stat `/Glog.log': No such file or directory
tail: cannot open `/Glog.log' for reading: No such file or directory
rm: cannot remove `/Glog.log': No such file or directory
mv: cannot create regular file `/Glog.log': Permission denied
find: ../ACEPDIR: No such file or directory
./glog.sh: line 60: /RecPro.log: Permission denied
stat: cannot stat `/RecPro.log': No such file or directory
tail: cannot open `/RecPro.log' for reading: No such file or directory
rm: cannot remove `/RecPro.log': No such file or directory
mv: cannot create regular file `/RecPro.log': Permission denied
/users/c8544479/bin/grupo02/bin//glog.sh: line 60: /Glog.log: Permission denied
stat: cannot stat `/Glog.log': No such file or directory
tail: cannot open `/Glog.log' for reading: No such file or directory
rm: cannot remove `/Glog.log': No such file or directory
mv: cannot create regular file `/Glog.log': Permission denied
find: ../ACEPDIR: No such file or directory
./glog.sh: line 60: /RecPro.log: Permission denied
stat: cannot stat `/RecPro.log': No such file or directory
tail: cannot open `/RecPro.log' for reading: No such file or directory
rm: cannot remove `/RecPro.log': No such file or directory
mv: cannot create regular file `/RecPro.log': Permission denied
/users/c8544479/bin/grupo02/bin//glog.sh: line 60: /Glog.log: Permission denied
stat: cannot stat `/Glog.log': No such file or directory
tail: cannot open `/Glog.log' for reading: No such file or directory
rm: cannot remove `/Glog.log': No such file or directory
mv: cannot create regular file `/Glog.log': Permission denied
find: ../ACEPDIR: No such file or directory
./glog.sh: line 60: /RecPro.log: Permission denied
stat: cannot stat `/RecPro.log': No such file or directory
tail: cannot open `/RecPro.log' for reading: No such file or directory
rm: cannot remove `/RecPro.log': No such file or directory
mv: cannot create regular file `/RecPro.log': Permission denied
kill -9 6316
[1]+  Killed                  ./RecPro.sh

mmm..

 echo $LOGDIR

no devuelve nada ...revisando eso ..
Igual los path no deberian estar harcodeados en RecPro

Ahora si .. con el ambiente seteado dan estos errores

$ ./RecPro.sh &
[1] 8710
$ ./glog.sh: line 32: /glog.sh: No such file or directory
find: ../ACEPDIR: No such file or directory
./glog.sh: line 60: ../LOGDIR/RecPro.log: No such file or directory
stat: cannot stat `../LOGDIR/RecPro.log': No such file or directory
./glog.sh: line 65: [: -gt: unary operator expected
./glog.sh: line 32: /glog.sh: No such file or directory
find: ../ACEPDIR: No such file or directory
./glog.sh: line 60: ../LOGDIR/RecPro.log: No such file or directory
stat: cannot stat `../LOGDIR/RecPro.log': No such file or directory
./glog.sh: line 65: [: -gt: unary operator expected
kill -9 8710
[1]+  Killed                  ./RecPro.sh
$