Restarting “Auto PDF” on Ginger.
Background information:
The auto PDF script runs on Ginger.lbl.gov and is used to automatically create PDF files of released drawings that are checked into WorkManager.
The script uses ME10, WorkManager and Ghostview to create the files.
There is a cron job that runs every 10 minutes to check for any drawings that are released but have the ‘PDF_DONE’ attribute (of the DRAWING_2D type records) set to 0. Then it loads any of these drawings into ME10 and creates the PDF.
Once the PDF file is created it is copied to the Document Control Center.
The issue:
If either Ginger or the WorkManager server (currently Engwin1) or the license server (currently ME1) get rebooted or have other critical issues, the Auto PDF generating routine stops working and needs to be restarted.
First try pinging ginger and if it is not pingable, physically reboot it (it is currently in 46-275D).
The procedure – 2 methods (VNC and SSH):
First try pinging ginger and if it is not pingable, physically reboot it (it is currently in 46-275D).
VNC method:
Log on to Ginger using VNC
Iconify the WM client window and ME10 to see a shell.
In the shell type the following:
Note that this will kill your VNC session so you will need to login again to confirm things are working properly.
FYI, An error might appear as:
SSH method:
SSH into ginger using medmgr as the user and blank1&blank2 as the password, where blank1 is our first allbase designer and blank2 is who you are.
At the command prompt/shell type:
/home/ginger/pdf_code_11.61/stopXvnc
Wait 10-15 seconds then type:
/home/ginger/pdf_code_11.61/startXvnc
or
/home/ginger/pdf_code_11.61/restartXvnc
as shown below:
or
3. To verify that you successfully brought WorkManager and ME10 back up, use the VNC Viewer to log into ginger.
Supply our VNC password when prompted (you can ask James Osborn, Doug Fritz, Dan Pulsifer, Chuck Lawrence, Michele Dunleavy or the Help Desk for this password).
Now you should see something similar to the following:
Now the AutoPDF generator is back online and should properly create and submit released drawings in PDF form to the LBNL Document Control Center.