Operating System - HP-UX
1840239 Members
3357 Online
110162 Solutions
New Discussion

Error when executing "cstm" command

 
SOLVED
Go to solution
violin_1
Advisor

Error when executing "cstm" command

Hi folks,

We're running on HP-UX 11.0.

I just tries to execute cstm command , but got an error message :

gbm2:/ #cstm
A message could not be retrieved from the stm message catalog.

Could anyone help me?

Thanks!

Violin.
3 REPLIES 3
Dirk Wiedemann
Respected Contributor
Solution

Re: Error when executing "cstm" command

Hello Violin,

please check if there are various messagefiles *.cat (like diagmond.cat) in /usr/sbin/stm/catalog/C/HP...
Also check the $LANG variable of the current user. If it is set (and not "C") you maybe need message files in your national language. Try "export LANG=C" and have a look if it works.
regards
Dirk
violin_1
Advisor

Re: Error when executing "cstm" command

Hi Dirk , Thanks for reply.

BUT I have 2 HP-UX 11.9 servers : gbm1 and gbm2

Both servers have the same files and file-attribute in /usr/sbin/stm directory , and both servers do not set variable LANG=C ,

But gbm1 could run cstm , gbm2 cannot , Why???

Thanks for help again.

Violin.

Dirk Wiedemann
Respected Contributor

Re: Error when executing "cstm" command

Hi Violin,

sorry, but I've no idea except:
- check that the necessary daemons are running (like diagmond)
- try restarting diagnostic ("/sbin/rc2.d/S742diagnostic stop" and after that .... start)
- check necessary permissions to files and directories under /usr/sbin/stm... to all .cat-files
- check the LANG-Variables in user environment (and maybe in file /etc/rc.config.d/LANG; changings in this file need a reboot)
Good luck
Dirk