[log in to unmask] wrote in message <[log in to unmask]>...
>I'm working with Mpex/ix OS, if I go into Sysdiag and then to Logtool and
>type Status, its telling me that Logging is suspended. I purged some of the
>Log files hoping if I reboot it will restart logging, but that didn't work.
>What's stopping the system from logging, and how do I restart it.
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
With :DEBUG, you can check the status of system logging and change it if
needed.
Here is the procedure.
:DEBUG
>use datinit.dat.telesup
>macstart " ","1"
>FV kso_pointer(#248) 'slog_glob_rec_t.log_enabled'
If the return value is FALSE then you need to re-enable it.
>MV kso_pointer(#248)+symaddr('slog_glob_rec_t.log_enabled'),1
Debug will prompt you with something like:
VIRT <virtual address> = "...." $0 :=
Your reply should be $1000000. This will re-enable logging and I would
recommend an immediate :SWITCHLOG to open a new system logfile.
Instead of the previous command, you can also use:
>VAR log_addr [a.c0000000+(#248*8)+4]
>MV log_addr+5c,,,bitd(1,0,8,u32([log_addr+5c]))
It is also a good idea to check what the system thinks is the current system
logfile number:
>FV kso_pointer(#248) 'slog_glob_rec_t.cur_fnamenum'
This will returns the hexadecimal value for the logfile number. Take this
value and convert it to decimal like this:
>=<value>,d
Do a :LISTF and check if there is any system logfile in the way.
NOTE: Of course, you need a user with PM capability to do this.
Ciao,
Mario Tremblay
|