ONCOCKPIT - HELP NEEDED
Posted in 1999
Topics: General Discussion
When I try to start oncockpit I receive the message : "Unable to open UID file" The file is currently in $INFORMIXDIR/etc I have done a ' chmod 666 oncockpit.uid' but it dont work. Is someone can help me. Thanks
Robert, It is good to see people trying to use this extraordinary Informix tool. I use the ALARM functions to notify beginning dba's of critical conditions within the database. Besides being a GUI that allows you view all Informix parameters and operating functions.... it is just a hot product! Now, for your question, I am not certain where you are in the steps to run oncockpit so I will list a few steps for you to check, I hope this helps... have fun! BTW - a good book that covers all this and more is Carlton Doe's - Informix Online Dynamic Server Handbook. 1) oncockpit is a GUI client-server application. 'onprobe', the server program must be running and communicating with the instance. onprobe is defined as a 'service' with it's own instance alias and corresponding entries in the $SQLHOSTS and /etc/services files. 2) Since 'oncockpit' is a GUI, your DISPLAY environment must be set to your IP address or host name of the machine that the GUI will display to: DISPLAY=000.000.000:0.0;export DISPLAY 3) onprobe and oncockpit have their own command line arguments. I think that you have to have root permissions to run onprobe but I am not sure. An example of how to start onprobe and oncockpit: $INFORMIXSERVER=shmcci;export INFORMIXSERVER; onprobe -service cpit_cci -log /home/informix/onprobe_djm.log -severity severity.djm & $INFORMIXSERVER=xxxcci;export INFORMIXSERVER; oncockpit -service cpit_cci -log /home/informix/oncockpit_djm.log -fg red -bg gray & 4) check the logs that are created to debug any problems runnning the client or server applications. You should really perform a 'ps -eaf |grep onprobe' to verify that the program is running before you execute oncockpit.... remember to check the oncockpit and onprobe logs. That is about it; good luck and have fun. ;) David Meyer Guerilla Software www.webuate.com Robert H. Vallieres wrote in message ... >When I try to start oncockpit I receive the message : >"Unable to open UID file" > >The file is currently in $INFORMIXDIR/etc >I have done a ' chmod 666 oncockpit.uid' but it dont work. > >Is someone can help me. > >Thanks > >