Client Logs of ogAdmClient
Logs(1) of the client are generated by the binary ogAdmClient(2) that it is automatically run by the client initrd from file init/default(3)
(1) log file of the client.
Only access form the client (version 0.9): /var/log/opengnsys.log
(2) binary ogAdmClient
Located in the server on: /opt/opengnsys/client/bin/ogAdmClient
Access from the client: /opt/opengnsys/bin/ogAdmClient
(3) init/default.sh file
Located in the server on: /opt/opengnsys/client/etc/init/default.sh
Access (nfs) from the client: /opt/opengnsys/etc/init/default.sh
Change log information level
The log information level is controlled by -d parameter on the binary ogAdmClient
In version 0.9 this level is by default (skip parameter -d)
If you have problems with the client for report with the server, and you need more detailed information:
We can modify the init/default.sh file
$OPENGNSYS/bin/ogAdmClient -f $OPENGNSYS/etc/ogAdmClient.cfg -l $OGLOGFILE -d 4
Temporal clients logs for group OG
- Log file of ogAdmclient is /opt/var/opengnsys.log
- Log file of commands sent from web console.
- Changes on /opt/opengnsys/client/etc/init/default file before the call to ogAdmclient
#Link file ogAdmclient (start log) with cosole log (/opt/opengnsys/log/$IP.log) IP=`$GetIpAddress` OGGLOBALLOGFILE=/opt/opengnsys/log/$IP.log touch $OGGLOBALLOGFILE OGLOGFILE=/var/log/opengnsys.log ln -s $OGGLOBALLOGFILE $OGLOGFILE # Client terminal tail -f $OGLOGFILE &> /dev/tty2 &
- Changes on scripts /opt/opengnsys/client/scripts/admXXXXX
## Example of admCreateImage #!/bin/bash RETORNO=$(createImage $* &>/var/log/opengnsys.log) || exit $? exit 0
- Access to client log in real time
tail -f /opt/opengnsys/log/client/$IP.log
LOG examples
From browser console of the client
Different information levels for a client, with a partitioned disk but not formated.
Level by default.
Level 3
Level 4
Attachments (5)
- OGClientLOGdebug5-A.png (41.7 KB) - added by 13 years ago.
- OgClientLOGdebug3.png (47.3 KB) - added by 13 years ago.
- OGClientLOGdebugdefault.png (34.5 KB) - added by 13 years ago.
- OGClientLOGdebug5-B.2.png (14.0 KB) - added by 13 years ago.
- OGClientLOGdebug5-B.png (14.0 KB) - added by 13 years ago.
Download all attachments as: .zip