Was this helpful?
Bash Shell -x Option
Invoking a Bash shell with the -x option causes each shell command to be printed before it is executed. This is especially useful for diagnosing problems with installation shell scripts.
To use this trace on the Actian X shutdown script, call the Bash shell with the -x option, passing the name ingstop as the script to be executed:
sh -x ingstop
This option can only be used with Linux shell scripts, not with binary executables.
If you are in doubt as to whether a program or command is a binary or shell script, type:
file program_name
Linux replies with “commands text,” “ASCII text,” or “executable shell script” if it is an executable shell script. Otherwise the file command returns a message specific to your machine—something like demand paged executable and possibly the designated chip on which it was compiled to run.
Linux Trace Command
Some Linux platforms provide a facility to trace system calls as they are made by a process. To invoke it, enter trace at the operating system prompt.
Create an Actian X Console for Error Monitoring in Linux
To ensure that any new errors written to the Actian X error log file are displayed on the terminal screen, issue the following command at the terminal.
tail -f $II_SYSTEM/ingres/files/errlog.log
To continuously monitor the activities of the Actian X recovery process (dmfrcp), issue this command:
tail -f $II_SYSTEM/ingres/files/iircp.log
 
Last modified date: 04/03/2024