======Troubleshooting Tips======
* **From which hosts do you run pcmode command?** \\
MUST BE DONE from Host pcmode and by any TECH member
* **To stop a reboot session in the last 5 minutes** \\
$ /xsys/pkg/pcmode/bin/pcmode -a hostname
This will stop the login to the host and kill the job
eg
/xsys/pkg/pcmode/bin/pcmode -a jun05
* **To check the status of a host**
/xsys/pkg/pcmode/bin/pcmode -c hostname
* **What mode options are available**
labtest linux windows default
* **Put a host in labtest mode standalone**
eg1 /xsys/pkg/pcmode/bin/pcmode -t 0 -m labtest jun01
eg2 /xsys/pkg/pcmode/bin/pcmode -t 0 -m default vr04
* Student screen freezes and cannot move mouse when editing. **How can you preserve student's data without having to reboot the host ?**
This process had been automated. When the students login into labtest mode
they are given a choice as to whether they want to restore data or not?
If they select "Yes", the TA will sign in and restore their data from the host to be
copied
You can use the keyboard [Ctrl-Alt-F1] option to log into the host via a terminal window.
Do a 'ls -l' listing on the directory and see what file was last updated by the user.
In the case of one student who was using nedit, we made a copy the file being worked on. Then terminate the nedit program. A 'ps -ef | grep -i nedit' command will display the nedit program pid . \\
Ctrl-Alt-F7 will position you back to the graphical interface the student was working on.
Reopen the application "nedit" and open the copied file .
Alternatively, any tech member can ssh to the host the student is working on when in labtest mode and do the same as the above.
* **Hosts does not revert back to default mode**
Check that the default file exists for that host..
/cs/local/share/pcmode/default/hostname
* **No access to labtest mode**
Use **ltenable** to set the permissions right on a directory
eg: ltenable
to do a manual check:
group of labtest directory should be : LABTEST
chmod 770
To Disable the directory so other will not be able to get into it
use **ltdisable**
* **Check if submits from labtest are successful**
The /cs/course//submit directory must exist
Permissions here should be 755 username:faculty directory submit
Inside this directory ,
Section of labtest name eg:
labtest3
Permissions should be
770 .. owner - facultymember
group - labtest
Note : all students belong to group submit
* **at job does not run**
The job id got duplicated because of restoring an old directory from
the previous term and the id already existed
The date may be scheduled wrong
* ** At the start of the semester**
REMOVE all directories under pcmode/schedule
If you return a directory , make sure the id's are deleted
* ** User cannot view his index.html file . Says there is none**
It turns out that the user set up the directory under
/cs/course/xxxx/labtest when it SHOULD BE
/cs/dept/www/course/xxxx/labtest
* **Check is a user can login into labtest mode-Hint User Restriction-**
% /xsys/pkg/pcmode/bin/pcmode-allow cse1234 6 jun01 where
cse1234 is the user name
6 is the job ID
jun01 is the host being questioned