10-09-2006 09:17 AM
I just started today as the new unix admin and one of the thing on my plate is to fix SAM. My predecessor had configured X Windows to run CDE through cygwin and now SAM stopped working using the TUI for some strange reason. It might just be a coincindence but the problem may or may not be related. We have also tried reinstalling SAM and updating the patch but that didn't help. Please help point me to the right direction.
I've also attached a screen shot.
Solved! Go to Solution.
10-09-2006 11:44 AM
eval $(ttytype -s)
(this should be run in /etc/profile in place of any other TERM tests)
Now I am ASSUMING by TUI that you are using a simple telnet connection and Xwindows is not used at all. Note that CDE is very confusing because it starts a terminal window not on your PC but on the HP-UX box, and then throws it's display over to your PC. A simple telnet session is just typing the telnet command in the DOS command window on your PC.
10-09-2006 11:40 PM
First check the DISPLAY variable. echo $DISPLAY. If it is set, unset it. Check the users .profile or /etc/profile if DISPLAY variable is set. If so, remove it.
Check to see if another sam process is running/hanging etc
Try rebooting the server, if possible.
10-09-2006 11:58 PM
Can you also check if you have set DISPLAY or not? "echo $DISPLAY"
10-16-2006 02:08 AM
I have also ran swverify and found errors with the SystemAdmin.SAM filesets and couple files with permissions and gui/uid errors. HP Support suggested that I run the following command:
swverify -x fix=true SystemAdmin.\*
After running the above command, I ran sam again but it is still stuck at the "Initialization" screen.
Thanks again for all your posts.
10-17-2006 01:39 AM
10-17-2006 09:58 PM
first try this command
#export DISPLAY=ip address:0.0
# export xterm=vt100
i think it will help.
is there DNS configured on this machine and have to made any changes recently ?
let me know.
03-02-2007 08:41 AM
The problem was setmon file was missing and the test file was corrupted.
I just copied these two files from another machine and it worked.
Thanks to all for your help.