Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@Equipo0710:/opt/opengnsys/interfaceAdm# bash -x /opt/opengnsys/interfaceAdm/CrearImagen 1 1 W10A11SB 192.168.98.122
- + TIME1=0
- + '[' -z TRUE ']'
- + echo ' '
- + echo ' '
- + echo ' '
- + ogEcho log session '[START Interface] Ejecutar comando: /opt/opengnsys/interfaceAdm/CrearImagen 1 1 W10A11SB 192.168.98.122'
- + local CONT=1 LOGS LOGLEVEL DATETIME
- + '[' 1 ']'
- + case "${1,,}" in
- + LOGS=' /opt/opengnsys/log/192.168.98.14.log'
- + shift
- + '[' 1 ']'
- + case "${1,,}" in
- + LOGS=' /opt/opengnsys/log/192.168.98.14.log /tmp/session.log'
- + shift
- + '[' 1 ']'
- + case "${1,,}" in
- + CONT=
- + '[' ']'
- + case "${1,,}" in
- + '[' -n '' ']'
- + echo '[START Interface] Ejecutar comando: /opt/opengnsys/interfaceAdm/CrearImagen 1 1 W10A11SB 192.168.98.122'
- + tee -a /opt/opengnsys/log/192.168.98.14.log /tmp/session.log
- tee: /opt/opengnsys/log/192.168.98.14.log: Permission denied
- [START Interface] Ejecutar comando: /opt/opengnsys/interfaceAdm/CrearImagen 1 1 W10A11SB 192.168.98.122
- ++ dirname /opt/opengnsys/interfaceAdm/CrearImagen
- + PATH=/opt/opengnsys/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/opt/oglive/rootfs/opt/drbl/sbin:/opt/opengnsys/lib/engine/bin:/opt/opengnsys/bin:/opt/opengnsys/interfaceAdm
- ++ basename /opt/opengnsys/interfaceAdm/CrearImagen
- + PROG=CrearImagen
- ++ ogGetCaller
- +++ COLUMNS=200
- +++ ps hp 10279 -o args
- +++ awk '{if ($1~/bash/ && $2!="") { print $2; }
- else { sub(/^-/,"",$1); print $1; } }'
- ++ basename bash
- + CALLER=bash
- + '[' bash '!=' ogAdmClient ']'
- + ogRaiseError 7 'bash -> CrearImagen'
- + local CONT=1 LOGS MSG CODE FUNCS
- + '[' '7 bash -> CrearImagen' == help ']'
- + '[' 1 ']'
- + case "${1,,}" in
- + CONT=
- + '[' ']'
- + CODE=7
- + case "$CODE" in
- + MSG='Programa o función no ejecutable "bash -> CrearImagen"'
- + FUNCS=main
- ++ basename /opt/opengnsys/interfaceAdm/CrearImagen
- + FUNCS=CrearImagen
- + '[' 7 == 1 ']'
- + ogCheckStringInGroup CrearImagen 'ogCreateImageSyntax ogGetHivePath ogGetOsType ogRestoreImageSyntax ogUnmountAll ogUnmountCache'
- + local i
- + '[' 'CrearImagen ogCreateImageSyntax ogGetHivePath ogGetOsType ogRestoreImageSyntax ogUnmountAll ogUnmountCache' == help ']'
- + '[' 2 == 2 ']'
- ++ echo ogCreateImageSyntax ogGetHivePath ogGetOsType ogRestoreImageSyntax ogUnmountAll ogUnmountCache
- + for i in `echo $2`
- + '[' CrearImagen == ogCreateImageSyntax ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogGetHivePath ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogGetOsType ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogRestoreImageSyntax ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogUnmountAll ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogUnmountCache ']'
- + return 1
- + ogCheckStringInGroup CrearImagen 'ogCreateImageSyntax ogGetHivePath ogGetOsType ogRestoreImageSyntax ogUnmountAll ogUnmountCache'
- + local i
- + '[' 'CrearImagen ogCreateImageSyntax ogGetHivePath ogGetOsType ogRestoreImageSyntax ogUnmountAll ogUnmountCache' == help ']'
- + '[' 2 == 2 ']'
- ++ echo ogCreateImageSyntax ogGetHivePath ogGetOsType ogRestoreImageSyntax ogUnmountAll ogUnmountCache
- + for i in `echo $2`
- + '[' CrearImagen == ogCreateImageSyntax ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogGetHivePath ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogGetOsType ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogRestoreImageSyntax ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogUnmountAll ']'
- + for i in `echo $2`
- + '[' CrearImagen == ogUnmountCache ']'
- + return 1
- + ogEcho error 'CrearImagen: Programa o función no ejecutable "bash -> CrearImagen"'
- + local CONT=1 LOGS LOGLEVEL DATETIME
- + '[' 1 ']'
- + case "${1,,}" in
- + CONT=
- + '[' ']'
- + case "${1,,}" in
- + LOGLEVEL=error
- + shift
- + '[' -n error ']'
- ++ date '+%F %T'
- + DATETIME='2021-05-14 15:29:54'
- + '[' '' '!=' no ']'
- + LOGS='/opt/opengnsys/log/192.168.98.14.log '
- + logger -s -t 'OpenGnsys error' '2021-05-14 15:29:54 CrearImagen: Programa o función no ejecutable "bash -> CrearImagen"'
- + tee -a /opt/opengnsys/log/192.168.98.14.log
- tee: /opt/opengnsys/log/192.168.98.14.log: Permission denied
- <13>May 14 15:29:54 OpenGnsys error: 2021-05-14 15:29:54 CrearImagen: Programa o función no ejecutable "bash -> CrearImagen"
- + return 7
- + exit 7
- root@Equipo0710:/opt/opengnsys/interfaceAdm#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement