Posts Tagged unix
When Glance stop working
Posted by Lincoln Zuljewic Silva in HP-UX on December 6th, 2009
Sometimes glance (performance monitor for HP-UX) can crash (before crash, it will return 0% of CPU, Disk and networking) working with the following error:
| GlancePlus fatal error. == Fatal Nums Error == C.04.50.57 02/10/07 == User: root/6pts/6(/dev/pts/6) Date: Sun Dec 6 15:52:12 File: /crm/numsVob/hp/11.0/nums.C Line: 485 Product id: Glance System: server B.11.11 9000/800 Errno: 0 (Error 0) Connection to midaemon lost — check midaemon process and status.mi == End of Error Msg ============================= |
To solve it, you should:
Stop MWA:
| mwa stop |
Remove all files (including the hidden ones) from /var/opt/perf/datafiles:
| rm -rf /var/opt/perf/datafiles/* rm -rf /var/opt/perf/datafiles/.* |
Check if midaemon and ttd are stopped:
| mwa status |
If midaemon and ttd didn’t stop, force stops them with the command kill (the PID was returned by the command ‘mwa status’).
Now, start MWA again:
| mwa start |
Creating an user on AIX
Posted by Lincoln Zuljewic Silva in Aix on December 1st, 2009
Creating an user on AIX
On AIX, you can use the following commands to create an user
| mkuser pgrp=’primary group’ groups=’other groups’ home=’home directory’ shell=’/usr/bin/ksh’ gecos=’GECOS’ USERNAME |
